Documentation ¶
Overview ¶
Package v1alpha exposes predefined rules for metadata fields
Index ¶
- Constants
- func FieldRuleAPIVersion[S manifest.Object](getter func(S) manifest.Version) govy.PropertyRules[manifest.Version, S]
- func FieldRuleKind[S manifest.Object](getter func(S) manifest.Kind, kind manifest.Kind) govy.PropertyRules[manifest.Kind, S]
- func FieldRuleMetadataAnnotations[S any](getter func(S) v1alpha.MetadataAnnotations) govy.PropertyRules[v1alpha.MetadataAnnotations, S]
- func FieldRuleMetadataDisplayName[S any](getter func(S) string) govy.PropertyRules[string, S]
- func FieldRuleMetadataLabels[S any](getter func(S) v1alpha.Labels) govy.PropertyRules[v1alpha.Labels, S]
- func FieldRuleMetadataName[S any](getter func(S) string) govy.PropertyRules[string, S]
- func FieldRuleMetadataProject[S any](getter func(S) string) govy.PropertyRules[string, S]
- func FieldRuleSpecDescription[S any](getter func(S) string) govy.PropertyRules[string, S]
- func NewRequiredError() *govy.RuleError
- func StringDescription() govy.Rule[string]
Constants ¶
View Source
const ErrorCodeStringDescription = "string_description"
Variables ¶
This section is empty.
Functions ¶
func FieldRuleAPIVersion ¶ added in v0.82.0
func FieldRuleKind ¶ added in v0.82.0
func FieldRuleMetadataAnnotations ¶ added in v0.81.0
func FieldRuleMetadataAnnotations[S any](getter func(S) v1alpha.MetadataAnnotations, ) govy.PropertyRules[v1alpha.MetadataAnnotations, S]
func FieldRuleMetadataDisplayName ¶
func FieldRuleMetadataDisplayName[S any](getter func(S) string) govy.PropertyRules[string, S]
func FieldRuleMetadataLabels ¶
func FieldRuleMetadataName ¶
func FieldRuleMetadataName[S any](getter func(S) string) govy.PropertyRules[string, S]
func FieldRuleMetadataProject ¶
func FieldRuleMetadataProject[S any](getter func(S) string) govy.PropertyRules[string, S]
func FieldRuleSpecDescription ¶
func FieldRuleSpecDescription[S any](getter func(S) string) govy.PropertyRules[string, S]
func NewRequiredError ¶ added in v0.85.0
func StringDescription ¶ added in v0.85.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.