validation

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetValidationCondition added in v0.7.0

func SetValidationCondition(status *kodev1alpha2.CommonStatus, result ValidationResult)

SetValidationCondition updates the validation condition based on the validation result

Types

type ValidationResult added in v0.7.0

type ValidationResult struct {
	Valid  bool
	Errors []string
}

func ValidateKode added in v0.7.0

func ValidateKode(ctx context.Context, k *kodev1alpha2.Kode) ValidationResult

Jump to

Keyboard shortcuts

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