v1alpha

package
v0.82.0-rc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package v1alpha exposes predefined rules for metadata fields

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL