Documentation
¶
Index ¶
- func ShouldEnforceImmutability(new, old []string) bool
- func ValidateClientConnectionConfiguration(config *componentbaseconfigv1alpha1.ClientConnectionConfiguration, ...) field.ErrorList
- func ValidateLeaderElectionConfiguration(config *componentbaseconfigv1alpha1.LeaderElectionConfiguration, ...) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldEnforceImmutability ¶
ShouldEnforceImmutability compares the given slices and returns if a immutability should be enforced. It mainly checks if the order of the same elements in `new` and `old` is the same, i.e. only an addition of elements to `new` is allowed.
func ValidateClientConnectionConfiguration ¶ added in v1.112.0
func ValidateClientConnectionConfiguration(config *componentbaseconfigv1alpha1.ClientConnectionConfiguration, fldPath *field.Path) field.ErrorList
ValidateClientConnectionConfiguration validates a componentbaseconfigv1alpha1.ClientConnectionConfiguration by converting it to the internal version and calling the validation from the k8s.io/component-base/config/validation package.
func ValidateLeaderElectionConfiguration ¶ added in v1.112.0
func ValidateLeaderElectionConfiguration(config *componentbaseconfigv1alpha1.LeaderElectionConfiguration, fldPath *field.Path) field.ErrorList
ValidateLeaderElectionConfiguration validates a componentbaseconfigv1alpha1.LeaderElectionConfiguration by converting it to the internal version and calling the validation from the k8s.io/component-base/config/validation package.
Types ¶
This section is empty.