validation

package
v3.10.0-rc.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAPILevels

func ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, fldPath *field.Path) common.ValidationResults

func ValidateAPIServerExtendedArguments

func ValidateAPIServerExtendedArguments(config configapi.ExtendedArguments, fldPath *field.Path) common.ValidationResults

func ValidateAdmissionPluginConfig

func ValidateAdmissionPluginConfig(pluginConfig map[string]*configapi.AdmissionPluginConfig, fieldPath *field.Path) common.ValidationResults

func ValidateAggregatorConfig

func ValidateAggregatorConfig(config configapi.AggregatorConfig, fldPath *field.Path) common.ValidationResults

func ValidateAllInOneConfig

func ValidateAllInOneConfig(master *config.MasterConfig, node *config.NodeConfig) common.ValidationResults

func ValidateAuditConfig

func ValidateAuditConfig(config configapi.AuditConfig, fldPath *field.Path) common.ValidationResults

func ValidateCertInfo

func ValidateCertInfo(certInfo config.CertInfo, required bool, fldPath *field.Path) field.ErrorList

func ValidateControllerConfig

func ValidateControllerConfig(config configapi.ControllerConfig, fldPath *field.Path) common.ValidationResults

func ValidateControllerExtendedArguments

func ValidateControllerExtendedArguments(config configapi.ExtendedArguments, fldPath *field.Path) field.ErrorList

func ValidateDeprecatedClusterNetworkConfig

func ValidateDeprecatedClusterNetworkConfig(config *configapi.MasterConfig, fldPath *field.Path) common.ValidationResults

func ValidateDockerConfig

func ValidateDockerConfig(config configapi.DockerConfig, fldPath *field.Path) field.ErrorList

func ValidateEtcdConfig

func ValidateEtcdConfig(config *config.EtcdConfig, fldPath *field.Path) common.ValidationResults

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 ValidateEtcdStorageConfig

func ValidateEtcdStorageConfig(config configapi.EtcdStorageConfig, fldPath *field.Path) field.ErrorList

func ValidateExtendedArguments

func ValidateExtendedArguments(config config.ExtendedArguments, flagFunc func(*pflag.FlagSet), fldPath *field.Path) field.ErrorList

func ValidateGitHubIdentityProvider

func ValidateGitHubIdentityProvider(provider *configapi.GitHubIdentityProvider, challenge bool, mappingMethod string, fieldPath *field.Path) common.ValidationResults

func ValidateGitLabIdentityProvider

func ValidateGitLabIdentityProvider(provider *configapi.GitLabIdentityProvider, fieldPath *field.Path) field.ErrorList

func ValidateGoogleIdentityProvider

func ValidateGoogleIdentityProvider(provider *configapi.GoogleIdentityProvider, challenge bool, mappingMethod string, fieldPath *field.Path) common.ValidationResults

func ValidateHTTPServingInfo

func ValidateHTTPServingInfo(info config.HTTPServingInfo, fldPath *field.Path) common.ValidationResults

func ValidateHostPort

func ValidateHostPort(value string, fldPath *field.Path) field.ErrorList

func ValidateIdentityProvider

func ValidateIdentityProvider(identityProvider configapi.IdentityProvider, fldPath *field.Path) common.ValidationResults

func ValidateImageConfig

func ValidateImageConfig(config configapi.ImageConfig, fldPath *field.Path) field.ErrorList

func ValidateImagePolicyConfig

func ValidateImagePolicyConfig(config configapi.ImagePolicyConfig, fldPath *field.Path) field.ErrorList

func ValidateInClusterNodeConfig

func ValidateInClusterNodeConfig(config *configapi.NodeConfig, fldPath *field.Path) common.ValidationResults

func ValidateIngressIPNetworkCIDR

func ValidateIngressIPNetworkCIDR(config *configapi.MasterConfig, fldPath *field.Path) (errors field.ErrorList)

func ValidateKeystoneIdentityProvider

func ValidateKeystoneIdentityProvider(provider *configapi.KeystonePasswordIdentityProvider, identityProvider configapi.IdentityProvider, fldPath *field.Path) common.ValidationResults

RemoteConnection fields validated separately -- this is for keystone-specific validation

func ValidateKubeConfig

func ValidateKubeConfig(path string, fldPath *field.Path) field.ErrorList

func ValidateKubeletConnectionInfo

func ValidateKubeletConnectionInfo(config configapi.KubeletConnectionInfo, fldPath *field.Path) field.ErrorList

func ValidateKubeletExtendedArguments

func ValidateKubeletExtendedArguments(config configapi.ExtendedArguments, fldPath *field.Path) field.ErrorList

func ValidateKubernetesMasterConfig

func ValidateKubernetesMasterConfig(config configapi.KubernetesMasterConfig, fldPath *field.Path) common.ValidationResults

func ValidateLDAPIdentityProvider

func ValidateLDAPIdentityProvider(provider *configapi.LDAPPasswordIdentityProvider, fldPath *field.Path) common.ValidationResults

func ValidateMasterAuthConfig

func ValidateMasterAuthConfig(config configapi.MasterAuthConfig, fldPath *field.Path) common.ValidationResults

func ValidateMasterConfig

func ValidateMasterConfig(config *configapi.MasterConfig, fldPath *field.Path) common.ValidationResults

func ValidateNamedCertificates

func ValidateNamedCertificates(fldPath *field.Path, namedCertificates []config.NamedCertificate) common.ValidationResults

func ValidateNetworkConfig

func ValidateNetworkConfig(config configapi.NodeNetworkConfig, fldPath *field.Path) field.ErrorList

func ValidateNodeAuthConfig

func ValidateNodeAuthConfig(config configapi.NodeAuthConfig, fldPath *field.Path) field.ErrorList

func ValidateNodeConfig

func ValidateNodeConfig(config *configapi.NodeConfig, fldPath *field.Path) common.ValidationResults

func ValidateOAuthConfig

func ValidateOAuthConfig(config *configapi.OAuthConfig, fldPath *field.Path) common.ValidationResults

func ValidateOAuthIdentityProvider

func ValidateOAuthIdentityProvider(clientID string, clientSecret configapi.StringSource, fieldPath *field.Path) field.ErrorList

func ValidateOpenIDIdentityProvider

func ValidateOpenIDIdentityProvider(provider *configapi.OpenIDIdentityProvider, identityProvider configapi.IdentityProvider, fieldPath *field.Path) field.ErrorList

func ValidatePodManifestConfig

func ValidatePodManifestConfig(podManifestConfig *config.PodManifestConfig, fldPath *field.Path) field.ErrorList

func ValidatePolicyConfig

func ValidatePolicyConfig(config configapi.PolicyConfig, fldPath *field.Path) field.ErrorList

func ValidateProjectConfig

func ValidateProjectConfig(config configapi.ProjectConfig, fldPath *field.Path) common.ValidationResults

func ValidateRemoteConnectionInfo

func ValidateRemoteConnectionInfo(remoteConnectionInfo config.RemoteConnectionInfo, fldPath *field.Path) field.ErrorList

func ValidateRequestHeaderIdentityProvider

func ValidateRequestHeaderIdentityProvider(provider *configapi.RequestHeaderIdentityProvider, identityProvider configapi.IdentityProvider, fieldPath *field.Path) common.ValidationResults

func ValidateRoutingConfig

func ValidateRoutingConfig(config configapi.RoutingConfig, fldPath *field.Path) field.ErrorList

func ValidateServiceAccountConfig

func ValidateServiceAccountConfig(config configapi.ServiceAccountConfig, fldPath *field.Path) common.ValidationResults

func ValidateServingInfo

func ValidateServingInfo(info config.ServingInfo, certificatesRequired bool, fldPath *field.Path) common.ValidationResults

func ValidateSessionSecrets

func ValidateSessionSecrets(config *configapi.SessionSecrets) field.ErrorList

func ValidateStorageVersionLevel

func ValidateStorageVersionLevel(level string, knownAPILevels, deadAPILevels []string, fldPath *field.Path) field.ErrorList

func ValidateVolumeConfig

func ValidateVolumeConfig(config configapi.NodeVolumeConfig, fldPath *field.Path) field.ErrorList

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL