Documentation ¶
Index ¶
- func ValidateRegistryConfig(config *registry.RegistryConfig, fldPath *field.Path) field.ErrorList
- func ValidateRegistryConfigUpdate(oldConfig, newConfig *registry.RegistryConfig, fldPath *field.Path) field.ErrorList
- func ValidateUpstreamRegistrySecret(secret *corev1.Secret, fldPath *field.Path, secretReference string) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRegistryConfig ¶
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.
Click to show internal directories.
Click to hide internal directories.