validation

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateRegistryConfig

func ValidateRegistryConfig(config *registry.RegistryConfig, fldPath *field.Path) field.ErrorList

ValidateRegistryConfig validates the passed configuration instance.

func ValidateRegistryConfigUpdate added in v0.2.0

func ValidateRegistryConfigUpdate(oldConfig, newConfig *registry.RegistryConfig, fldPath *field.Path) field.ErrorList

ValidateRegistryConfigUpdate validates the passed configuration update.

func ValidateUpstreamRegistrySecret added in v0.3.0

func ValidateUpstreamRegistrySecret(secret *corev1.Secret, fldPath *field.Path, secretReference string) field.ErrorList

ValidateUpstreamRegistrySecret checks whether the given Secret is immutable and contains `data.username` and `data.password` fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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