// ValidateClientConnectionConfiguration ensures validation of the ClientConnectionConfiguration struct func ValidateClientConnectionConfiguration(cc *config.ClientConnectionConfiguration, fldPath *field.Path) field.ErrorList { … } // ValidateLeaderElectionConfiguration ensures validation of the LeaderElectionConfiguration struct func ValidateLeaderElectionConfiguration(cc *config.LeaderElectionConfiguration, fldPath *field.Path) field.ErrorList { … }