v1alpha

package
v0.93.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha exposes predefined rules for metadata fields

Index

Constants

View Source
const ErrorCodeStringDescription = "string_description"

Variables

This section is empty.

Functions

func FieldRuleAPIVersion added in v0.82.0

func FieldRuleAPIVersion[S manifest.Object](
	getter func(S) manifest.Version,
) govy.PropertyRules[manifest.Version, S]

func FieldRuleKind added in v0.82.0

func FieldRuleKind[S manifest.Object](
	getter func(S) manifest.Kind, kind manifest.Kind,
) govy.PropertyRules[manifest.Kind, S]

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 FieldRuleMetadataLabels[S any](getter func(S) v1alpha.Labels) govy.PropertyRules[v1alpha.Labels, S]

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 NewRequiredError() *govy.RuleError

func StringDescription added in v0.85.0

func StringDescription() govy.Rule[string]

Types

This section is empty.

Directories

Path Synopsis
Package v1alphaExamples is responsible for generating v1alpha objects' examples.
Package v1alphaExamples is responsible for generating v1alpha objects' examples.

Jump to

Keyboard shortcuts

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