Documentation ¶
Index ¶
- func ValidateAPIServerExtendedArguments(config api.ExtendedArguments, fldPath *field.Path) field.ErrorList
- func ValidateAdmissionPluginConfig(pluginConfig map[string]api.AdmissionPluginConfig, fieldPath *field.Path) field.ErrorList
- func ValidateAssetExtensionsConfig(extConfig api.AssetExtensionsConfig, fldPath *field.Path) field.ErrorList
- func ValidateCertInfo(certInfo api.CertInfo, required bool, fldPath *field.Path) field.ErrorList
- func ValidateControllerExtendedArguments(config api.ExtendedArguments, fldPath *field.Path) field.ErrorList
- func ValidateDir(path string, fldPath *field.Path) field.ErrorList
- func ValidateDisabledFeatures(disabledFeatures []string, fldPath *field.Path) field.ErrorList
- func ValidateDockerConfig(config api.DockerConfig, fldPath *field.Path) field.ErrorList
- func ValidateEtcdConnectionInfo(config api.EtcdConnectionInfo, server *api.EtcdConfig, fldPath *field.Path) field.ErrorList
- func ValidateEtcdStorageConfig(config api.EtcdStorageConfig, fldPath *field.Path) field.ErrorList
- func ValidateExtendedArguments(config api.ExtendedArguments, flagFunc func(*pflag.FlagSet), ...) field.ErrorList
- func ValidateFile(path string, fldPath *field.Path) field.ErrorList
- func ValidateGitHubIdentityProvider(provider *api.GitHubIdentityProvider, challenge bool, fieldPath *field.Path) field.ErrorList
- func ValidateGitLabIdentityProvider(provider *api.GitLabIdentityProvider, fieldPath *field.Path) field.ErrorList
- func ValidateGoogleIdentityProvider(provider *api.GoogleIdentityProvider, challenge bool, fieldPath *field.Path) field.ErrorList
- func ValidateHostPort(value string, fldPath *field.Path) field.ErrorList
- func ValidateImageConfig(config api.ImageConfig, fldPath *field.Path) field.ErrorList
- func ValidateImagePolicyConfig(config api.ImagePolicyConfig, fldPath *field.Path) field.ErrorList
- func ValidateKubeConfig(path string, fldPath *field.Path) field.ErrorList
- func ValidateKubeletConnectionInfo(config api.KubeletConnectionInfo, fldPath *field.Path) field.ErrorList
- func ValidateKubeletExtendedArguments(config api.ExtendedArguments, fldPath *field.Path) field.ErrorList
- func ValidateNamespace(namespace string, fldPath *field.Path) field.ErrorList
- func ValidateNetworkConfig(config api.NodeNetworkConfig, fldPath *field.Path) field.ErrorList
- func ValidateNodeAuthConfig(config api.NodeAuthConfig, fldPath *field.Path) field.ErrorList
- func ValidateOAuthIdentityProvider(clientID string, clientSecret api.StringSource, fieldPath *field.Path) field.ErrorList
- func ValidateOpenIDIdentityProvider(provider *api.OpenIDIdentityProvider, identityProvider api.IdentityProvider, ...) field.ErrorList
- func ValidatePodManifestConfig(podManifestConfig *api.PodManifestConfig, fldPath *field.Path) field.ErrorList
- func ValidatePolicyConfig(config api.PolicyConfig, fldPath *field.Path) field.ErrorList
- func ValidateRemoteConnectionInfo(remoteConnectionInfo api.RemoteConnectionInfo, fldPath *field.Path) field.ErrorList
- func ValidateRoutingConfig(config api.RoutingConfig, fldPath *field.Path) field.ErrorList
- func ValidateSecureURL(urlString string, fldPath *field.Path) (*url.URL, field.ErrorList)
- func ValidateSessionSecrets(config *api.SessionSecrets) field.ErrorList
- func ValidateSpecifiedIP(ipString 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 api.NodeVolumeConfig, fldPath *field.Path) field.ErrorList
- type ValidationResults
- func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, ...) ValidationResults
- func ValidateActiveDirectoryConfig(config *api.ActiveDirectoryConfig) ValidationResults
- func ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) ValidationResults
- func ValidateAssetConfig(config *api.AssetConfig, fldPath *field.Path) ValidationResults
- func ValidateAugmentedActiveDirectoryConfig(config *api.AugmentedActiveDirectoryConfig) ValidationResults
- func ValidateControllerConfig(config api.ControllerConfig, fldPath *field.Path) ValidationResults
- func ValidateEtcdConfig(config *api.EtcdConfig, fldPath *field.Path) ValidationResults
- func ValidateHTTPServingInfo(info api.HTTPServingInfo, fldPath *field.Path) ValidationResults
- func ValidateIdentityProvider(identityProvider api.IdentityProvider, fldPath *field.Path) ValidationResults
- func ValidateKeystoneIdentityProvider(provider *api.KeystonePasswordIdentityProvider, ...) ValidationResults
- func ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig, fldPath *field.Path) ValidationResults
- func ValidateLDAPClientConfig(url, bindDN, bindPassword, CA string, insecure bool, fldPath *field.Path) ValidationResults
- func ValidateLDAPIdentityProvider(provider *api.LDAPPasswordIdentityProvider, fldPath *field.Path) ValidationResults
- func ValidateLDAPQuery(query api.LDAPQuery, fldPath *field.Path) ValidationResults
- func ValidateLDAPSyncConfig(config *api.LDAPSyncConfig) ValidationResults
- func ValidateMasterConfig(config *api.MasterConfig, fldPath *field.Path) ValidationResults
- func ValidateNamedCertificates(fldPath *field.Path, namedCertificates []api.NamedCertificate) ValidationResults
- func ValidateNodeConfig(config *api.NodeConfig, fldPath *field.Path) ValidationResults
- func ValidateOAuthConfig(config *api.OAuthConfig, fldPath *field.Path) ValidationResults
- func ValidateProjectConfig(config api.ProjectConfig, fldPath *field.Path) ValidationResults
- func ValidateRFC2307Config(config *api.RFC2307Config) ValidationResults
- func ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, ...) ValidationResults
- func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool, fldPath *field.Path) ValidationResults
- func ValidateServingInfo(info api.ServingInfo, fldPath *field.Path) ValidationResults
- func ValidateStringSource(s api.StringSource, fieldPath *field.Path) ValidationResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAPIServerExtendedArguments ¶ added in v1.0.1
func ValidateAdmissionPluginConfig ¶ added in v1.1.2
func ValidateAssetExtensionsConfig ¶ added in v1.0.6
func ValidateCertInfo ¶
func ValidateControllerExtendedArguments ¶ added in v1.0.1
func ValidateDir ¶ added in v1.0.6
func ValidateDisabledFeatures ¶ added in v1.0.5
func ValidateDockerConfig ¶
func ValidateEtcdConnectionInfo ¶
func ValidateEtcdConnectionInfo(config api.EtcdConnectionInfo, server *api.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 ValidateExtendedArguments ¶ added in v1.0.1
func ValidateGitHubIdentityProvider ¶ added in v1.3.0
func ValidateGitLabIdentityProvider ¶ added in v1.1.2
func ValidateGoogleIdentityProvider ¶ added in v1.3.0
func ValidateImageConfig ¶
func ValidateImagePolicyConfig ¶ added in v1.1.2
func ValidateKubeletExtendedArguments ¶ added in v1.0.1
func ValidateNamespace ¶
func ValidateNetworkConfig ¶ added in v1.0.6
func ValidateNodeAuthConfig ¶ added in v1.0.7
func ValidateOpenIDIdentityProvider ¶
func ValidateOpenIDIdentityProvider(provider *api.OpenIDIdentityProvider, identityProvider api.IdentityProvider, fieldPath *field.Path) field.ErrorList
func ValidatePolicyConfig ¶
func ValidateRoutingConfig ¶
func ValidateSecureURL ¶
func ValidateSessionSecrets ¶
func ValidateSessionSecrets(config *api.SessionSecrets) field.ErrorList
func ValidateSpecifiedIP ¶
func ValidateStorageVersionLevel ¶ added in v1.0.7
func ValidateURL ¶
func ValidateVolumeConfig ¶ added in v1.1.5
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 ValidateActiveDirectoryConfig ¶ added in v1.0.7
func ValidateActiveDirectoryConfig(config *api.ActiveDirectoryConfig) ValidationResults
func ValidateAllInOneConfig ¶
func ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) ValidationResults
func ValidateAssetConfig ¶
func ValidateAssetConfig(config *api.AssetConfig, fldPath *field.Path) ValidationResults
func ValidateAugmentedActiveDirectoryConfig ¶ added in v1.0.7
func ValidateAugmentedActiveDirectoryConfig(config *api.AugmentedActiveDirectoryConfig) ValidationResults
func ValidateControllerConfig ¶ added in v1.3.0
func ValidateControllerConfig(config api.ControllerConfig, fldPath *field.Path) ValidationResults
func ValidateEtcdConfig ¶
func ValidateEtcdConfig(config *api.EtcdConfig, fldPath *field.Path) ValidationResults
func ValidateHTTPServingInfo ¶
func ValidateHTTPServingInfo(info api.HTTPServingInfo, fldPath *field.Path) ValidationResults
func ValidateIdentityProvider ¶
func ValidateIdentityProvider(identityProvider api.IdentityProvider, fldPath *field.Path) ValidationResults
func ValidateKeystoneIdentityProvider ¶ added in v1.0.7
func ValidateKeystoneIdentityProvider(provider *api.KeystonePasswordIdentityProvider, identityProvider api.IdentityProvider, fldPath *field.Path) ValidationResults
RemoteConnection fields validated separately -- this is for keystone-specific validation
func ValidateKubernetesMasterConfig ¶
func ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig, fldPath *field.Path) ValidationResults
func ValidateLDAPClientConfig ¶ added in v1.0.7
func ValidateLDAPClientConfig(url, bindDN, bindPassword, CA string, insecure bool, fldPath *field.Path) ValidationResults
func ValidateLDAPIdentityProvider ¶ added in v1.0.2
func ValidateLDAPIdentityProvider(provider *api.LDAPPasswordIdentityProvider, fldPath *field.Path) ValidationResults
func ValidateLDAPQuery ¶ added in v1.0.7
func ValidateLDAPQuery(query api.LDAPQuery, fldPath *field.Path) ValidationResults
func ValidateLDAPSyncConfig ¶ added in v1.0.7
func ValidateLDAPSyncConfig(config *api.LDAPSyncConfig) ValidationResults
func ValidateMasterConfig ¶
func ValidateMasterConfig(config *api.MasterConfig, fldPath *field.Path) ValidationResults
func ValidateNamedCertificates ¶ added in v1.0.7
func ValidateNamedCertificates(fldPath *field.Path, namedCertificates []api.NamedCertificate) ValidationResults
func ValidateNodeConfig ¶
func ValidateNodeConfig(config *api.NodeConfig, fldPath *field.Path) ValidationResults
func ValidateOAuthConfig ¶
func ValidateOAuthConfig(config *api.OAuthConfig, fldPath *field.Path) ValidationResults
func ValidateProjectConfig ¶
func ValidateProjectConfig(config api.ProjectConfig, fldPath *field.Path) ValidationResults
func ValidateRFC2307Config ¶ added in v1.0.7
func ValidateRFC2307Config(config *api.RFC2307Config) ValidationResults
func ValidateRequestHeaderIdentityProvider ¶
func ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, identityProvider api.IdentityProvider, fieldPath *field.Path) ValidationResults
func ValidateServiceAccountConfig ¶
func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool, fldPath *field.Path) ValidationResults
func ValidateServingInfo ¶
func ValidateServingInfo(info api.ServingInfo, fldPath *field.Path) ValidationResults
func ValidateStringSource ¶ added in v1.1.4
func ValidateStringSource(s api.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.