Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConditionsTrue ¶
func ValidateConditionsTrue(unstrObj *unstructured.Unstructured, includeTypes ...string) error
ValidateConditionsTrue iterates over the conditions of the given unstructured object and returns an error if any of the conditions are not true. Conditions are expected to be of type metav1.Condition.
If includeTypes argument is set, then validation includes only the given, otherwise all of the available conditions are up to be tested against Status == True.
func ValidateObjectNamePrefix ¶
func ValidateObjectNamePrefix(obj *unstructured.Unstructured, prefix string) error
ValidateObjectNamePrefix checks if the given object name has the given prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.