Documentation ¶
Overview ¶
Package v1alpha exposes predefined rules for metadata fields
Index ¶
- func FieldRuleAPIVersion[S manifest.Object](getter func(S) manifest.Version) validation.PropertyRules[manifest.Version, S]
- func FieldRuleKind[S manifest.Object](getter func(S) manifest.Kind, kind manifest.Kind) validation.PropertyRules[manifest.Kind, S]
- func FieldRuleMetadataAnnotations[S any](getter func(S) v1alpha.MetadataAnnotations) validation.PropertyRules[v1alpha.MetadataAnnotations, S]
- func FieldRuleMetadataDisplayName[S any](getter func(S) string) validation.PropertyRules[string, S]
- func FieldRuleMetadataLabels[S any](getter func(S) v1alpha.Labels) validation.PropertyRules[v1alpha.Labels, S]
- func FieldRuleMetadataName[S any](getter func(S) string) validation.PropertyRules[string, S]
- func FieldRuleMetadataProject[S any](getter func(S) string) validation.PropertyRules[string, S]
- func FieldRuleSpecDescription[S any](getter func(S) string) validation.PropertyRules[string, S]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldRuleAPIVersion ¶ added in v0.82.0
func FieldRuleAPIVersion[S manifest.Object]( getter func(S) manifest.Version, ) validation.PropertyRules[manifest.Version, S]
func FieldRuleKind ¶ added in v0.82.0
func FieldRuleKind[S manifest.Object]( getter func(S) manifest.Kind, kind manifest.Kind, ) validation.PropertyRules[manifest.Kind, S]
func FieldRuleMetadataAnnotations ¶ added in v0.81.0
func FieldRuleMetadataAnnotations[S any](getter func(S) v1alpha.MetadataAnnotations, ) validation.PropertyRules[v1alpha.MetadataAnnotations, S]
func FieldRuleMetadataDisplayName ¶
func FieldRuleMetadataDisplayName[S any](getter func(S) string) validation.PropertyRules[string, S]
func FieldRuleMetadataLabels ¶
func FieldRuleMetadataLabels[S any](getter func(S) v1alpha.Labels) validation.PropertyRules[v1alpha.Labels, S]
func FieldRuleMetadataName ¶
func FieldRuleMetadataName[S any](getter func(S) string) validation.PropertyRules[string, S]
func FieldRuleMetadataProject ¶
func FieldRuleMetadataProject[S any](getter func(S) string) validation.PropertyRules[string, S]
func FieldRuleSpecDescription ¶
func FieldRuleSpecDescription[S any](getter func(S) string) validation.PropertyRules[string, S]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.