func IsProtectedCommunityGroup(group string) bool { … }
type APIApprovalState …
const APIApprovalInvalid …
const APIApproved …
const APIApprovalBypassed …
const APIApprovalMissing …
func GetAPIApprovalState(annotations map[string]string) (state APIApprovalState, reason string) { … }
func SetCRDCondition(crd *apiextensionsv1.CustomResourceDefinition, newCondition apiextensionsv1.CustomResourceDefinitionCondition) { … }
func RemoveCRDCondition(crd *apiextensionsv1.CustomResourceDefinition, conditionType apiextensionsv1.CustomResourceDefinitionConditionType) { … }
func FindCRDCondition(crd *apiextensionsv1.CustomResourceDefinition, conditionType apiextensionsv1.CustomResourceDefinitionConditionType) *apiextensionsv1.CustomResourceDefinitionCondition { … }
func IsCRDConditionTrue(crd *apiextensionsv1.CustomResourceDefinition, conditionType apiextensionsv1.CustomResourceDefinitionConditionType) bool { … }
func IsCRDConditionFalse(crd *apiextensionsv1.CustomResourceDefinition, conditionType apiextensionsv1.CustomResourceDefinitionConditionType) bool { … }
func IsCRDConditionPresentAndEqual(crd *apiextensionsv1.CustomResourceDefinition, conditionType apiextensionsv1.CustomResourceDefinitionConditionType, status apiextensionsv1.ConditionStatus) bool { … }
func IsCRDConditionEquivalent(lhs, rhs *apiextensionsv1.CustomResourceDefinitionCondition) bool { … }
func CRDHasFinalizer(crd *apiextensionsv1.CustomResourceDefinition, needle string) bool { … }
func CRDRemoveFinalizer(crd *apiextensionsv1.CustomResourceDefinition, needle string) { … }
func HasServedCRDVersion(crd *apiextensionsv1.CustomResourceDefinition, version string) bool { … }
func GetCRDStorageVersion(crd *apiextensionsv1.CustomResourceDefinition) (string, error) { … }
func IsStoredVersion(crd *apiextensionsv1.CustomResourceDefinition, version string) bool { … }
func GetSchemaForVersion(crd *apiextensionsv1.CustomResourceDefinition, version string) (*apiextensionsv1.CustomResourceValidation, error) { … }
func GetSubresourcesForVersion(crd *apiextensionsv1.CustomResourceDefinition, version string) (*apiextensionsv1.CustomResourceSubresources, error) { … }
func HasPerVersionSchema(versions []apiextensionsv1.CustomResourceDefinitionVersion) bool { … }
func HasPerVersionSubresources(versions []apiextensionsv1.CustomResourceDefinitionVersion) bool { … }
func HasPerVersionColumns(versions []apiextensionsv1.CustomResourceDefinitionVersion) bool { … }
func HasVersionServed(crd *apiextensionsv1.CustomResourceDefinition, version string) bool { … }