Documentation ¶
Index ¶
- func BundleCrd() *apiext_v1b1.CustomResourceDefinition
- func EnsureCrdExists(ctx context.Context, scheme *runtime.Scheme, clientset crdClientset.Interface, ...) error
- func EnsureCrdExistsAndIsEstablished(ctx context.Context, scheme *runtime.Scheme, clientset crdClientset.Interface, ...) error
- func GetJsonPathString(obj interface{}, path string) (string, error)
- func GetJsonPathValue(obj interface{}, path string, allowMissingKeys bool) (interface{}, error)
- func IsCrdConditionPresentAndEqual(crd *apiext_v1b1.CustomResourceDefinition, ...) bool
- func IsCrdConditionTrue(crd *apiext_v1b1.CustomResourceDefinition, ...) bool
- func IsEqualCrd(a, b *apiext_v1b1.CustomResourceDefinition, scheme *runtime.Scheme) bool
- func WaitForCrdToBecomeEstablished(ctx context.Context, crdLister apiext_lst_v1b1.CustomResourceDefinitionLister, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundleCrd ¶
func BundleCrd() *apiext_v1b1.CustomResourceDefinition
func EnsureCrdExists ¶
func EnsureCrdExists(ctx context.Context, scheme *runtime.Scheme, clientset crdClientset.Interface, crdLister apiext_lst_v1b1.CustomResourceDefinitionLister, crd *apiext_v1b1.CustomResourceDefinition) error
func EnsureCrdExistsAndIsEstablished ¶
func EnsureCrdExistsAndIsEstablished(ctx context.Context, scheme *runtime.Scheme, clientset crdClientset.Interface, crdLister apiext_lst_v1b1.CustomResourceDefinitionLister, crd *apiext_v1b1.CustomResourceDefinition) error
func GetJsonPathString ¶
GetJsonPathString extracts the value from the object using given JsonPath template, in a string format
func GetJsonPathValue ¶
GetJsonPathValue extracts the value from the object using given JsonPath template
func IsCrdConditionPresentAndEqual ¶
func IsCrdConditionPresentAndEqual(crd *apiext_v1b1.CustomResourceDefinition, conditionType apiext_v1b1.CustomResourceDefinitionConditionType, status apiext_v1b1.ConditionStatus) bool
IsCrdConditionPresentAndEqual indicates if the condition is present and equal to the arg
func IsCrdConditionTrue ¶
func IsCrdConditionTrue(crd *apiext_v1b1.CustomResourceDefinition, conditionType apiext_v1b1.CustomResourceDefinitionConditionType) bool
IsCrdConditionTrue indicates if the condition is present and strictly true
func IsEqualCrd ¶
func IsEqualCrd(a, b *apiext_v1b1.CustomResourceDefinition, scheme *runtime.Scheme) bool
func WaitForCrdToBecomeEstablished ¶
func WaitForCrdToBecomeEstablished(ctx context.Context, crdLister apiext_lst_v1b1.CustomResourceDefinitionLister, crd *apiext_v1b1.CustomResourceDefinition) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.