Documentation ¶
Index ¶
- func ValidateCertInfo(certInfo config.CertInfo, required bool, fldPath *field.Path) field.ErrorList
- func ValidateControllerExtendedArguments(config configapi.ExtendedArguments, fldPath *field.Path) field.ErrorList
- func ValidateDir(path string, fldPath *field.Path) field.ErrorList
- func ValidateDockerConfig(config configapi.DockerConfig, fldPath *field.Path) field.ErrorList
- func ValidateEtcdConnectionInfo(config config.EtcdConnectionInfo, server *config.EtcdConfig, ...) field.ErrorList
- func ValidateEtcdStorageConfig(config configapi.EtcdStorageConfig, fldPath *field.Path) field.ErrorList
- func ValidateExtendedArguments(config config.ExtendedArguments, flagFunc func(*pflag.FlagSet), ...) field.ErrorList
- func ValidateFile(path string, fldPath *field.Path) field.ErrorList
- func ValidateGitLabIdentityProvider(provider *configapi.GitLabIdentityProvider, fieldPath *field.Path) field.ErrorList
- func ValidateHostPort(value string, fldPath *field.Path) field.ErrorList
- func ValidateImageConfig(config configapi.ImageConfig, fldPath *field.Path) field.ErrorList
- func ValidateImagePolicyConfig(config configapi.ImagePolicyConfig, fldPath *field.Path) field.ErrorList
- func ValidateIngressIPNetworkCIDR(config *configapi.MasterConfig, fldPath *field.Path) (errors field.ErrorList)
- func ValidateKubeConfig(path string, fldPath *field.Path) field.ErrorList
- func ValidateKubeletConnectionInfo(config configapi.KubeletConnectionInfo, fldPath *field.Path) field.ErrorList
- func ValidateKubeletExtendedArguments(config configapi.ExtendedArguments, fldPath *field.Path) field.ErrorList
- func ValidateNetworkConfig(config configapi.NodeNetworkConfig, fldPath *field.Path) field.ErrorList
- func ValidateNodeAuthConfig(config configapi.NodeAuthConfig, fldPath *field.Path) field.ErrorList
- func ValidateOAuthIdentityProvider(clientID string, clientSecret configapi.StringSource, fieldPath *field.Path) field.ErrorList
- func ValidateOpenIDIdentityProvider(provider *configapi.OpenIDIdentityProvider, ...) field.ErrorList
- func ValidatePodManifestConfig(podManifestConfig *config.PodManifestConfig, fldPath *field.Path) field.ErrorList
- func ValidatePolicyConfig(config configapi.PolicyConfig, fldPath *field.Path) field.ErrorList
- func ValidateRemoteConnectionInfo(remoteConnectionInfo config.RemoteConnectionInfo, fldPath *field.Path) field.ErrorList
- func ValidateRoutingConfig(config configapi.RoutingConfig, fldPath *field.Path) field.ErrorList
- func ValidateSecureURL(urlString string, fldPath *field.Path) (*url.URL, field.ErrorList)
- func ValidateSessionSecrets(config *configapi.SessionSecrets) field.ErrorList
- func ValidateSpecifiedIP(ipString string, fldPath *field.Path) field.ErrorList
- func ValidateSpecifiedIPPort(ipPortString string, fldPath *field.Path) field.ErrorList
- func ValidateStorageVersionLevel(level string, knownAPILevels, deadAPILevels []string, fldPath *field.Path) field.ErrorList
- func ValidateURL(urlString string, fldPath *field.Path) (*url.URL, field.ErrorList)
- func ValidateVolumeConfig(config configapi.NodeVolumeConfig, fldPath *field.Path) field.ErrorList
- type ValidationResults
- func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, ...) ValidationResults
- func ValidateAPIServerExtendedArguments(config configapi.ExtendedArguments, fldPath *field.Path) ValidationResults
- func ValidateActiveDirectoryConfig(config *configapi.ActiveDirectoryConfig) ValidationResults
- func ValidateAdmissionPluginConfig(pluginConfig map[string]*configapi.AdmissionPluginConfig, ...) ValidationResults
- func ValidateAggregatorConfig(config configapi.AggregatorConfig, fldPath *field.Path) ValidationResults
- func ValidateAllInOneConfig(master *config.MasterConfig, node *config.NodeConfig) ValidationResults
- func ValidateAuditConfig(config configapi.AuditConfig, fldPath *field.Path) ValidationResults
- func ValidateAugmentedActiveDirectoryConfig(config *configapi.AugmentedActiveDirectoryConfig) ValidationResults
- func ValidateControllerConfig(config configapi.ControllerConfig, fldPath *field.Path) ValidationResults
- func ValidateDeprecatedClusterNetworkConfig(config *configapi.MasterConfig, fldPath *field.Path) ValidationResults
- func ValidateEtcdConfig(config *config.EtcdConfig, fldPath *field.Path) ValidationResults
- func ValidateGitHubIdentityProvider(provider *configapi.GitHubIdentityProvider, challenge bool, ...) ValidationResults
- func ValidateGoogleIdentityProvider(provider *configapi.GoogleIdentityProvider, challenge bool, ...) ValidationResults
- func ValidateHTTPServingInfo(info config.HTTPServingInfo, fldPath *field.Path) ValidationResults
- func ValidateIdentityProvider(identityProvider configapi.IdentityProvider, fldPath *field.Path) ValidationResults
- func ValidateInClusterNodeConfig(config *configapi.NodeConfig, fldPath *field.Path) ValidationResults
- func ValidateKeystoneIdentityProvider(provider *configapi.KeystonePasswordIdentityProvider, ...) ValidationResults
- func ValidateKubernetesMasterConfig(config configapi.KubernetesMasterConfig, fldPath *field.Path) ValidationResults
- func ValidateLDAPClientConfig(url, bindDN, bindPassword, CA string, insecure bool, fldPath *field.Path) ValidationResults
- func ValidateLDAPIdentityProvider(provider *configapi.LDAPPasswordIdentityProvider, fldPath *field.Path) ValidationResults
- func ValidateLDAPQuery(query configapi.LDAPQuery, fldPath *field.Path) ValidationResults
- func ValidateLDAPSyncConfig(config *configapi.LDAPSyncConfig) ValidationResults
- func ValidateMasterAuthConfig(config configapi.MasterAuthConfig, fldPath *field.Path) ValidationResults
- func ValidateMasterConfig(config *configapi.MasterConfig, fldPath *field.Path) ValidationResults
- func ValidateNamedCertificates(fldPath *field.Path, namedCertificates []config.NamedCertificate) ValidationResults
- func ValidateNodeConfig(config *configapi.NodeConfig, fldPath *field.Path) ValidationResults
- func ValidateOAuthConfig(config *configapi.OAuthConfig, fldPath *field.Path) ValidationResults
- func ValidateProjectConfig(config configapi.ProjectConfig, fldPath *field.Path) ValidationResults
- func ValidateRFC2307Config(config *configapi.RFC2307Config) ValidationResults
- func ValidateRequestHeaderIdentityProvider(provider *configapi.RequestHeaderIdentityProvider, ...) ValidationResults
- func ValidateServiceAccountConfig(config configapi.ServiceAccountConfig, fldPath *field.Path) ValidationResults
- func ValidateServingInfo(info config.ServingInfo, certificatesRequired bool, fldPath *field.Path) ValidationResults
- func ValidateStringSource(s config.StringSource, fieldPath *field.Path) ValidationResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCertInfo ¶
func ValidateDockerConfig ¶
func ValidateEtcdConnectionInfo ¶
func ValidateEtcdConnectionInfo(config config.EtcdConnectionInfo, server *config.EtcdConfig, fldPath *field.Path) field.ErrorList
ValidateEtcdConnectionInfo validates the connection info. If a server EtcdConfig is provided, it ensures the connection info includes a URL for it, and has a client cert/key if the server requires client certificate authentication
func ValidateImageConfig ¶
func ValidateNetworkConfig ¶
func ValidateNodeAuthConfig ¶
func ValidateOpenIDIdentityProvider ¶
func ValidateOpenIDIdentityProvider(provider *configapi.OpenIDIdentityProvider, identityProvider configapi.IdentityProvider, fieldPath *field.Path) field.ErrorList
func ValidatePolicyConfig ¶
func ValidateRoutingConfig ¶
func ValidateSecureURL ¶
func ValidateSessionSecrets ¶
func ValidateSessionSecrets(config *configapi.SessionSecrets) field.ErrorList
func ValidateSpecifiedIP ¶
func ValidateSpecifiedIPPort ¶
func ValidateURL ¶
func ValidateVolumeConfig ¶
Types ¶
type ValidationResults ¶
TODO: this should just be two return arrays, no need to be clever
func ValidateAPILevels ¶
func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, fldPath *field.Path) ValidationResults
func ValidateAPIServerExtendedArguments ¶
func ValidateAPIServerExtendedArguments(config configapi.ExtendedArguments, fldPath *field.Path) ValidationResults
func ValidateActiveDirectoryConfig ¶
func ValidateActiveDirectoryConfig(config *configapi.ActiveDirectoryConfig) ValidationResults
func ValidateAdmissionPluginConfig ¶
func ValidateAdmissionPluginConfig(pluginConfig map[string]*configapi.AdmissionPluginConfig, fieldPath *field.Path) ValidationResults
func ValidateAggregatorConfig ¶
func ValidateAggregatorConfig(config configapi.AggregatorConfig, fldPath *field.Path) ValidationResults
func ValidateAllInOneConfig ¶
func ValidateAllInOneConfig(master *config.MasterConfig, node *config.NodeConfig) ValidationResults
func ValidateAuditConfig ¶
func ValidateAuditConfig(config configapi.AuditConfig, fldPath *field.Path) ValidationResults
func ValidateAugmentedActiveDirectoryConfig ¶
func ValidateAugmentedActiveDirectoryConfig(config *configapi.AugmentedActiveDirectoryConfig) ValidationResults
func ValidateControllerConfig ¶
func ValidateControllerConfig(config configapi.ControllerConfig, fldPath *field.Path) ValidationResults
func ValidateDeprecatedClusterNetworkConfig ¶
func ValidateDeprecatedClusterNetworkConfig(config *configapi.MasterConfig, fldPath *field.Path) ValidationResults
func ValidateEtcdConfig ¶
func ValidateEtcdConfig(config *config.EtcdConfig, fldPath *field.Path) ValidationResults
func ValidateGitHubIdentityProvider ¶
func ValidateGitHubIdentityProvider(provider *configapi.GitHubIdentityProvider, challenge bool, mappingMethod string, fieldPath *field.Path) ValidationResults
func ValidateGoogleIdentityProvider ¶
func ValidateGoogleIdentityProvider(provider *configapi.GoogleIdentityProvider, challenge bool, mappingMethod string, fieldPath *field.Path) ValidationResults
func ValidateHTTPServingInfo ¶
func ValidateHTTPServingInfo(info config.HTTPServingInfo, fldPath *field.Path) ValidationResults
func ValidateIdentityProvider ¶
func ValidateIdentityProvider(identityProvider configapi.IdentityProvider, fldPath *field.Path) ValidationResults
func ValidateInClusterNodeConfig ¶
func ValidateInClusterNodeConfig(config *configapi.NodeConfig, fldPath *field.Path) ValidationResults
func ValidateKeystoneIdentityProvider ¶
func ValidateKeystoneIdentityProvider(provider *configapi.KeystonePasswordIdentityProvider, identityProvider configapi.IdentityProvider, fldPath *field.Path) ValidationResults
RemoteConnection fields validated separately -- this is for keystone-specific validation
func ValidateKubernetesMasterConfig ¶
func ValidateKubernetesMasterConfig(config configapi.KubernetesMasterConfig, fldPath *field.Path) ValidationResults
func ValidateLDAPClientConfig ¶
func ValidateLDAPClientConfig(url, bindDN, bindPassword, CA string, insecure bool, fldPath *field.Path) ValidationResults
func ValidateLDAPIdentityProvider ¶
func ValidateLDAPIdentityProvider(provider *configapi.LDAPPasswordIdentityProvider, fldPath *field.Path) ValidationResults
func ValidateLDAPQuery ¶
func ValidateLDAPQuery(query configapi.LDAPQuery, fldPath *field.Path) ValidationResults
func ValidateLDAPSyncConfig ¶
func ValidateLDAPSyncConfig(config *configapi.LDAPSyncConfig) ValidationResults
func ValidateMasterAuthConfig ¶
func ValidateMasterAuthConfig(config configapi.MasterAuthConfig, fldPath *field.Path) ValidationResults
func ValidateMasterConfig ¶
func ValidateMasterConfig(config *configapi.MasterConfig, fldPath *field.Path) ValidationResults
func ValidateNamedCertificates ¶
func ValidateNamedCertificates(fldPath *field.Path, namedCertificates []config.NamedCertificate) ValidationResults
func ValidateNodeConfig ¶
func ValidateNodeConfig(config *configapi.NodeConfig, fldPath *field.Path) ValidationResults
func ValidateOAuthConfig ¶
func ValidateOAuthConfig(config *configapi.OAuthConfig, fldPath *field.Path) ValidationResults
func ValidateProjectConfig ¶
func ValidateProjectConfig(config configapi.ProjectConfig, fldPath *field.Path) ValidationResults
func ValidateRFC2307Config ¶
func ValidateRFC2307Config(config *configapi.RFC2307Config) ValidationResults
func ValidateRequestHeaderIdentityProvider ¶
func ValidateRequestHeaderIdentityProvider(provider *configapi.RequestHeaderIdentityProvider, identityProvider configapi.IdentityProvider, fieldPath *field.Path) ValidationResults
func ValidateServiceAccountConfig ¶
func ValidateServiceAccountConfig(config configapi.ServiceAccountConfig, fldPath *field.Path) ValidationResults
func ValidateServingInfo ¶
func ValidateServingInfo(info config.ServingInfo, certificatesRequired bool, fldPath *field.Path) ValidationResults
func ValidateStringSource ¶
func ValidateStringSource(s config.StringSource, fieldPath *field.Path) ValidationResults
func (*ValidationResults) AddErrors ¶
func (r *ValidationResults) AddErrors(errors ...*field.Error)
func (*ValidationResults) AddWarnings ¶
func (r *ValidationResults) AddWarnings(warnings ...*field.Error)
func (*ValidationResults) Append ¶
func (r *ValidationResults) Append(additionalResults ValidationResults)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.