Documentation ¶
Index ¶
- func ValidateAPIServerExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
- func ValidateAssetConfig(config *api.AssetConfig) fielderrors.ValidationErrorList
- func ValidateCertInfo(certInfo api.CertInfo, required bool) fielderrors.ValidationErrorList
- func ValidateControllerExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
- func ValidateDockerConfig(config api.DockerConfig) fielderrors.ValidationErrorList
- func ValidateEtcdConfig(config *api.EtcdConfig) 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 ValidateHTTPServingInfo(info api.HTTPServingInfo) fielderrors.ValidationErrorList
- func ValidateHostPort(value string, field string) fielderrors.ValidationErrorList
- func ValidateIdentityProvider(identityProvider api.IdentityProvider) 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 ValidateNodeConfig(config *api.NodeConfig) fielderrors.ValidationErrorList
- func ValidateOAuthConfig(config *api.OAuthConfig) 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 ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, ...) fielderrors.ValidationErrorList
- func ValidateRoutingConfig(config api.RoutingConfig) fielderrors.ValidationErrorList
- func ValidateSecureURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
- func ValidateServingInfo(info api.ServingInfo) 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 ValidateURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
- type ValidationResults
- func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, name string) ValidationResults
- func ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) ValidationResults
- func ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig) ValidationResults
- func ValidateMasterConfig(config *api.MasterConfig) ValidationResults
- func ValidateProjectConfig(config api.ProjectConfig) ValidationResults
- func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool) 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 ValidateAssetConfig ¶
func ValidateAssetConfig(config *api.AssetConfig) fielderrors.ValidationErrorList
func ValidateCertInfo ¶
func ValidateCertInfo(certInfo api.CertInfo, required bool) fielderrors.ValidationErrorList
func ValidateControllerExtendedArguments ¶ added in v1.0.1
func ValidateControllerExtendedArguments(config api.ExtendedArguments) fielderrors.ValidationErrorList
func ValidateDockerConfig ¶
func ValidateDockerConfig(config api.DockerConfig) fielderrors.ValidationErrorList
func ValidateEtcdConfig ¶
func ValidateEtcdConfig(config *api.EtcdConfig) fielderrors.ValidationErrorList
func ValidateEtcdConnectionInfo ¶
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 ¶
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 ¶
func ValidateGrantConfig(config api.GrantConfig) fielderrors.ValidationErrorList
func ValidateHTTPServingInfo ¶
func ValidateHTTPServingInfo(info api.HTTPServingInfo) fielderrors.ValidationErrorList
func ValidateHostPort ¶
func ValidateHostPort(value string, field string) fielderrors.ValidationErrorList
func ValidateIdentityProvider ¶
func ValidateIdentityProvider(identityProvider api.IdentityProvider) fielderrors.ValidationErrorList
func ValidateImageConfig ¶
func ValidateImageConfig(config api.ImageConfig) fielderrors.ValidationErrorList
func ValidateKubeConfig ¶
func ValidateKubeConfig(path string, field string) fielderrors.ValidationErrorList
func ValidateKubeletConnectionInfo ¶
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 ValidateNodeConfig ¶
func ValidateNodeConfig(config *api.NodeConfig) fielderrors.ValidationErrorList
func ValidateOAuthConfig ¶
func ValidateOAuthConfig(config *api.OAuthConfig) fielderrors.ValidationErrorList
func ValidateOAuthIdentityProvider ¶
func ValidateOAuthIdentityProvider(clientID, clientSecret string, challenge bool) fielderrors.ValidationErrorList
func ValidateOpenIDIdentityProvider ¶
func ValidateOpenIDIdentityProvider(provider *api.OpenIDIdentityProvider, identityProvider api.IdentityProvider) fielderrors.ValidationErrorList
func ValidatePodManifestConfig ¶
func ValidatePodManifestConfig(podManifestConfig *api.PodManifestConfig) fielderrors.ValidationErrorList
func ValidatePolicyConfig ¶
func ValidatePolicyConfig(config api.PolicyConfig) fielderrors.ValidationErrorList
func ValidateRemoteConnectionInfo ¶
func ValidateRemoteConnectionInfo(remoteConnectionInfo api.RemoteConnectionInfo) fielderrors.ValidationErrorList
func ValidateRequestHeaderIdentityProvider ¶
func ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, identityProvider api.IdentityProvider) fielderrors.ValidationErrorList
func ValidateRoutingConfig ¶
func ValidateRoutingConfig(config api.RoutingConfig) fielderrors.ValidationErrorList
func ValidateSecureURL ¶
func ValidateSecureURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
func ValidateServingInfo ¶
func ValidateServingInfo(info api.ServingInfo) fielderrors.ValidationErrorList
func ValidateSessionConfig ¶
func ValidateSessionConfig(config *api.SessionConfig) fielderrors.ValidationErrorList
func ValidateSessionSecrets ¶
func ValidateSessionSecrets(config *api.SessionSecrets) fielderrors.ValidationErrorList
func ValidateSpecifiedIP ¶
func ValidateSpecifiedIP(ipString string, field string) fielderrors.ValidationErrorList
func ValidateURL ¶
func ValidateURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
Types ¶
type ValidationResults ¶
type ValidationResults struct { Warnings fielderrors.ValidationErrorList Errors fielderrors.ValidationErrorList }
TODO: this should just be two return arrays, no need to be clever
func ValidateAPILevels ¶
func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, name string) ValidationResults
func ValidateAllInOneConfig ¶
func ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) ValidationResults
func ValidateKubernetesMasterConfig ¶
func ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig) ValidationResults
func ValidateMasterConfig ¶
func ValidateMasterConfig(config *api.MasterConfig) ValidationResults
func ValidateProjectConfig ¶
func ValidateProjectConfig(config api.ProjectConfig) ValidationResults
func ValidateServiceAccountConfig ¶
func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool) ValidationResults
func (*ValidationResults) AddErrors ¶
func (r *ValidationResults) AddErrors(errors ...error)
func (*ValidationResults) AddWarnings ¶
func (r *ValidationResults) AddWarnings(warnings ...error)
func (*ValidationResults) Append ¶
func (r *ValidationResults) Append(additionalResults ValidationResults)
func (ValidationResults) Prefix ¶
func (r ValidationResults) Prefix(prefix string) ValidationResults
Click to show internal directories.
Click to hide internal directories.