unstructured

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteResourcesAtPath

func DeleteResourcesAtPath(dynamicClient dynamic.Interface, dc discovery.DiscoveryInterface, TemplateArguments interface{}, w common.WaiterConfig, resourcesPath string) error

TODO: refactor so it doesnt need the dynamic and discovery clients

func GetInstanceGroupList added in v0.10.1

func GetInstanceGroupList(dynamicClient dynamic.Interface) (*unstructured.UnstructuredList, error)

func GetResource

func GetResource(dc discovery.DiscoveryInterface, TemplateArguments interface{}, resourceFilePath string) (unstructuredResource, error)

func GetResources

func GetResources(dc discovery.DiscoveryInterface, TemplateArguments interface{}, resourcesFilePath string) ([]unstructuredResource, error)

func ResourceConditionShouldBe

func ResourceConditionShouldBe(dynamicClient dynamic.Interface, resource unstructuredResource, w common.WaiterConfig, conditionType, conditionValue string) error

func ResourceOperation

func ResourceOperation(dynamicClient dynamic.Interface, resource unstructuredResource, operation string) error

func ResourceOperationInNamespace

func ResourceOperationInNamespace(dynamicClient dynamic.Interface, resource unstructuredResource, operation, namespace string) error

func ResourceOperationWithResult

func ResourceOperationWithResult(dynamicClient dynamic.Interface, resource unstructuredResource, operation, expectedResult string) error

func ResourceOperationWithResultInNamespace

func ResourceOperationWithResultInNamespace(dynamicClient dynamic.Interface, resource unstructuredResource, operation, namespace, expectedResult string) error

func ResourceShouldBe

func ResourceShouldBe(dynamicClient dynamic.Interface, resource unstructuredResource, w common.WaiterConfig, state string) error

func ResourceShouldConvergeToSelector

func ResourceShouldConvergeToSelector(dynamicClient dynamic.Interface, resource unstructuredResource, w common.WaiterConfig, selector string) error

func ResourcesOperation

func ResourcesOperation(dynamicClient dynamic.Interface, resources []unstructuredResource, operation string) error

func ResourcesOperationInNamespace

func ResourcesOperationInNamespace(dynamicClient dynamic.Interface, resources []unstructuredResource, operation, namespace string) error

func UpdateResourceWithField

func UpdateResourceWithField(dynamicClient dynamic.Interface, resource unstructuredResource, key string, value string) error

func VerifyInstanceGroups

func VerifyInstanceGroups(dynamicClient dynamic.Interface) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL