Documentation ¶
Index ¶
- func ValidateAPIServerExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
- func ValidateAssetExtensionsConfig(extConfig api.AssetExtensionsConfig) fielderrors.ValidationErrorList
- func ValidateCertInfo(certInfo api.CertInfo, required bool) fielderrors.ValidationErrorList
- func ValidateControllerExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
- func ValidateDir(path string, field string) fielderrors.ValidationErrorList
- func ValidateDisabledFeatures(disabledFeatures []string, field string) fielderrors.ValidationErrorList
- func ValidateDockerConfig(config api.DockerConfig) fielderrors.ValidationErrorList
- func ValidateEtcdConnectionInfo(config api.EtcdConnectionInfo, server *api.EtcdConfig) fielderrors.ValidationErrorList
- func ValidateEtcdStorageConfig(config api.EtcdStorageConfig) fielderrors.ValidationErrorList
- func ValidateExtendedArguments(config api.ExtendedArguments, flagFunc func(*pflag.FlagSet)) fielderrors.ValidationErrorList
- func ValidateFile(path string, field string) fielderrors.ValidationErrorList
- func ValidateGrantConfig(config api.GrantConfig) fielderrors.ValidationErrorList
- func ValidateHostPort(value string, field string) fielderrors.ValidationErrorList
- func ValidateImageConfig(config api.ImageConfig) fielderrors.ValidationErrorList
- func ValidateKubeConfig(path string, field string) fielderrors.ValidationErrorList
- func ValidateKubeletConnectionInfo(config api.KubeletConnectionInfo) fielderrors.ValidationErrorList
- func ValidateKubeletExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
- func ValidateNamespace(namespace, field string) fielderrors.ValidationErrorList
- func ValidateNetworkConfig(config api.NodeNetworkConfig) fielderrors.ValidationErrorList
- func ValidateNodeAuthConfig(config api.NodeAuthConfig) fielderrors.ValidationErrorList
- func ValidateOAuthIdentityProvider(clientID, clientSecret string, challenge bool) fielderrors.ValidationErrorList
- func ValidateOpenIDIdentityProvider(provider *api.OpenIDIdentityProvider, identityProvider api.IdentityProvider) fielderrors.ValidationErrorList
- func ValidatePodManifestConfig(podManifestConfig *api.PodManifestConfig) fielderrors.ValidationErrorList
- func ValidatePolicyConfig(config api.PolicyConfig) fielderrors.ValidationErrorList
- func ValidateRemoteConnectionInfo(remoteConnectionInfo api.RemoteConnectionInfo) fielderrors.ValidationErrorList
- func ValidateRoutingConfig(config api.RoutingConfig) fielderrors.ValidationErrorList
- func ValidateSecureURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
- func ValidateSessionConfig(config *api.SessionConfig) fielderrors.ValidationErrorList
- func ValidateSessionSecrets(config *api.SessionSecrets) fielderrors.ValidationErrorList
- func ValidateSpecifiedIP(ipString string, field string) fielderrors.ValidationErrorList
- func ValidateStorageVersionLevel(level string, knownAPILevels, deadAPILevels []string, name string) fielderrors.ValidationErrorList
- func ValidateURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
- type ValidationResults
- func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, name string) ValidationResults
- func ValidateActiveDirectoryConfig(config *api.ActiveDirectoryConfig) ValidationResults
- func ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) ValidationResults
- func ValidateAssetConfig(config *api.AssetConfig) ValidationResults
- func ValidateAugmentedActiveDirectoryConfig(config *api.AugmentedActiveDirectoryConfig) ValidationResults
- func ValidateEtcdConfig(config *api.EtcdConfig) ValidationResults
- func ValidateHTTPServingInfo(info api.HTTPServingInfo) ValidationResults
- func ValidateIdentityProvider(identityProvider api.IdentityProvider) ValidationResults
- func ValidateKeystoneIdentityProvider(provider *api.KeystonePasswordIdentityProvider, ...) ValidationResults
- func ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig) ValidationResults
- func ValidateLDAPClientConfig(url, bindDN, bindPassword, CA string, insecure bool) ValidationResults
- func ValidateLDAPIdentityProvider(provider *api.LDAPPasswordIdentityProvider) ValidationResults
- func ValidateLDAPQuery(query api.LDAPQuery) ValidationResults
- func ValidateLDAPSyncConfig(config *api.LDAPSyncConfig) ValidationResults
- func ValidateMasterConfig(config *api.MasterConfig) ValidationResults
- func ValidateNamedCertificates(fieldName string, namedCertificates []api.NamedCertificate) ValidationResults
- func ValidateNodeConfig(config *api.NodeConfig) ValidationResults
- func ValidateOAuthConfig(config *api.OAuthConfig) ValidationResults
- func ValidateProjectConfig(config api.ProjectConfig) ValidationResults
- func ValidateRFC2307Config(config *api.RFC2307Config) ValidationResults
- func ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, ...) ValidationResults
- func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool) ValidationResults
- func ValidateServingInfo(info api.ServingInfo) ValidationResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAPIServerExtendedArguments ¶ added in v1.0.1
func ValidateAPIServerExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
func ValidateAssetExtensionsConfig ¶ added in v1.0.6
func ValidateAssetExtensionsConfig(extConfig api.AssetExtensionsConfig) fielderrors.ValidationErrorList
func ValidateCertInfo ¶ added in v0.4.3
func ValidateCertInfo(certInfo api.CertInfo, required bool) fielderrors.ValidationErrorList
func ValidateControllerExtendedArguments ¶ added in v1.0.1
func ValidateControllerExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
func ValidateDir ¶ added in v1.0.6
func ValidateDir(path string, field string) fielderrors.ValidationErrorList
func ValidateDisabledFeatures ¶ added in v1.0.5
func ValidateDisabledFeatures(disabledFeatures []string, field string) fielderrors.ValidationErrorList
func ValidateDockerConfig ¶ added in v0.5.4
func ValidateDockerConfig(config api.DockerConfig) fielderrors.ValidationErrorList
func ValidateEtcdConnectionInfo ¶ added in v0.4.3
func ValidateEtcdConnectionInfo(config api.EtcdConnectionInfo, server *api.EtcdConfig) fielderrors.ValidationErrorList
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 ValidateEtcdStorageConfig ¶ added in v0.4.4
func ValidateEtcdStorageConfig(config api.EtcdStorageConfig) fielderrors.ValidationErrorList
func ValidateExtendedArguments ¶ added in v1.0.1
func ValidateExtendedArguments(config api.ExtendedArguments, flagFunc func(*pflag.FlagSet)) fielderrors.ValidationErrorList
func ValidateFile ¶
func ValidateFile(path string, field string) fielderrors.ValidationErrorList
func ValidateGrantConfig ¶ added in v0.4.3
func ValidateGrantConfig(config api.GrantConfig) fielderrors.ValidationErrorList
func ValidateHostPort ¶ added in v0.4.3
func ValidateHostPort(value string, field string) fielderrors.ValidationErrorList
func ValidateImageConfig ¶ added in v0.4.3
func ValidateImageConfig(config api.ImageConfig) fielderrors.ValidationErrorList
func ValidateKubeConfig ¶
func ValidateKubeConfig(path string, field string) fielderrors.ValidationErrorList
func ValidateKubeletConnectionInfo ¶ added in v0.4.3
func ValidateKubeletConnectionInfo(config api.KubeletConnectionInfo) fielderrors.ValidationErrorList
func ValidateKubeletExtendedArguments ¶ added in v1.0.1
func ValidateKubeletExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
func ValidateNamespace ¶
func ValidateNamespace(namespace, field string) fielderrors.ValidationErrorList
func ValidateNetworkConfig ¶ added in v1.0.6
func ValidateNetworkConfig(config api.NodeNetworkConfig) fielderrors.ValidationErrorList
func ValidateNodeAuthConfig ¶ added in v1.0.7
func ValidateNodeAuthConfig(config api.NodeAuthConfig) fielderrors.ValidationErrorList
func ValidateOAuthIdentityProvider ¶ added in v0.4.4
func ValidateOAuthIdentityProvider(clientID, clientSecret string, challenge bool) fielderrors.ValidationErrorList
func ValidateOpenIDIdentityProvider ¶ added in v0.4.4
func ValidateOpenIDIdentityProvider(provider *api.OpenIDIdentityProvider, identityProvider api.IdentityProvider) fielderrors.ValidationErrorList
func ValidatePodManifestConfig ¶ added in v0.4.4
func ValidatePodManifestConfig(podManifestConfig *api.PodManifestConfig) fielderrors.ValidationErrorList
func ValidatePolicyConfig ¶
func ValidatePolicyConfig(config api.PolicyConfig) fielderrors.ValidationErrorList
func ValidateRemoteConnectionInfo ¶ added in v0.4.3
func ValidateRemoteConnectionInfo(remoteConnectionInfo api.RemoteConnectionInfo) fielderrors.ValidationErrorList
func ValidateRoutingConfig ¶ added in v0.6.1
func ValidateRoutingConfig(config api.RoutingConfig) fielderrors.ValidationErrorList
func ValidateSecureURL ¶ added in v0.4.4
func ValidateSecureURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
func ValidateSessionConfig ¶ added in v0.4.3
func ValidateSessionConfig(config *api.SessionConfig) fielderrors.ValidationErrorList
func ValidateSessionSecrets ¶ added in v0.4.3
func ValidateSessionSecrets(config *api.SessionSecrets) fielderrors.ValidationErrorList
func ValidateSpecifiedIP ¶
func ValidateSpecifiedIP(ipString string, field string) fielderrors.ValidationErrorList
func ValidateStorageVersionLevel ¶ added in v1.0.7
func ValidateStorageVersionLevel(level string, knownAPILevels, deadAPILevels []string, name string) fielderrors.ValidationErrorList
func ValidateURL ¶
func ValidateURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
Types ¶
type ValidationResults ¶ added in v0.5.4
type ValidationResults struct { Warnings fielderrors.ValidationErrorList Errors fielderrors.ValidationErrorList }
TODO: this should just be two return arrays, no need to be clever
func ValidateAPILevels ¶ added in v0.5.4
func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, name string) 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) ValidationResults
func ValidateAugmentedActiveDirectoryConfig ¶ added in v1.0.7
func ValidateAugmentedActiveDirectoryConfig(config *api.AugmentedActiveDirectoryConfig) ValidationResults
func ValidateEtcdConfig ¶ added in v0.4.3
func ValidateEtcdConfig(config *api.EtcdConfig) ValidationResults
func ValidateHTTPServingInfo ¶ added in v0.6.1
func ValidateHTTPServingInfo(info api.HTTPServingInfo) ValidationResults
func ValidateIdentityProvider ¶ added in v0.4.3
func ValidateIdentityProvider(identityProvider api.IdentityProvider) ValidationResults
func ValidateKeystoneIdentityProvider ¶ added in v1.0.7
func ValidateKeystoneIdentityProvider(provider *api.KeystonePasswordIdentityProvider, identityProvider api.IdentityProvider) ValidationResults
RemoteConnection fields validated separately -- this is for keystone-specific validation
func ValidateKubernetesMasterConfig ¶
func ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig) ValidationResults
func ValidateLDAPClientConfig ¶ added in v1.0.7
func ValidateLDAPClientConfig(url, bindDN, bindPassword, CA string, insecure bool) ValidationResults
func ValidateLDAPIdentityProvider ¶ added in v1.0.2
func ValidateLDAPIdentityProvider(provider *api.LDAPPasswordIdentityProvider) ValidationResults
func ValidateLDAPQuery ¶ added in v1.0.7
func ValidateLDAPQuery(query api.LDAPQuery) ValidationResults
func ValidateLDAPSyncConfig ¶ added in v1.0.7
func ValidateLDAPSyncConfig(config *api.LDAPSyncConfig) ValidationResults
func ValidateMasterConfig ¶
func ValidateMasterConfig(config *api.MasterConfig) ValidationResults
func ValidateNamedCertificates ¶ added in v1.0.7
func ValidateNamedCertificates(fieldName string, namedCertificates []api.NamedCertificate) ValidationResults
func ValidateNodeConfig ¶
func ValidateNodeConfig(config *api.NodeConfig) ValidationResults
func ValidateOAuthConfig ¶ added in v0.4.3
func ValidateOAuthConfig(config *api.OAuthConfig) ValidationResults
func ValidateProjectConfig ¶ added in v0.5.3
func ValidateProjectConfig(config api.ProjectConfig) ValidationResults
func ValidateRFC2307Config ¶ added in v1.0.7
func ValidateRFC2307Config(config *api.RFC2307Config) ValidationResults
func ValidateRequestHeaderIdentityProvider ¶ added in v0.4.4
func ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, identityProvider api.IdentityProvider) ValidationResults
func ValidateServiceAccountConfig ¶ added in v0.5.3
func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool) ValidationResults
func ValidateServingInfo ¶
func ValidateServingInfo(info api.ServingInfo) ValidationResults
func (*ValidationResults) AddErrors ¶ added in v0.5.4
func (r *ValidationResults) AddErrors(errors ...error)
func (*ValidationResults) AddWarnings ¶ added in v0.5.4
func (r *ValidationResults) AddWarnings(warnings ...error)
func (*ValidationResults) Append ¶ added in v0.5.4
func (r *ValidationResults) Append(additionalResults ValidationResults)
func (ValidationResults) Prefix ¶ added in v0.5.4
func (r ValidationResults) Prefix(prefix string) ValidationResults
Source Files ¶
Click to show internal directories.
Click to hide internal directories.