Documentation ¶
Overview ¶
This package contains helper functions for OpenstackNodes type CR in kupenstack.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsStruct ¶
func AsStruct(in *unstructured.Unstructured) (*ksktypes.OpenstackNode, error)
Takes OpenstackNode as k8s-Unstructured-type and returns it as correesponding struct
func Get ¶
func Get(ctx context.Context, c client.Client, name string) (*unstructured.Unstructured, error)
Returns OpenstackNode resources with name `NodeName` as k8s-Unstructured-type
func GetList ¶
func GetList(ctx context.Context, c client.Client) (*unstructured.UnstructuredList, error)
Returns list of all OpenstackNode resources as k8s-UnstructuredList-type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.