{"modulePath":"github.phpd.cn/openshift/origin","version":"v3.8.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package validation\n\n## Functions\n\n```go\nfunc ValidateAssetExtensionsConfig(extConfig api.AssetExtensionsConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateCertInfo(certInfo api.CertInfo, required bool, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateControllerExtendedArguments(config api.ExtendedArguments, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateDir(path string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateDisabledFeatures(disabledFeatures []string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateDockerConfig(config api.DockerConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateEtcdConnectionInfo(config api.EtcdConnectionInfo, server *api.EtcdConfig, fldPath *field.Path) field.ErrorList\n```\nValidateEtcdConnectionInfo 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\n\n```go\nfunc ValidateEtcdStorageConfig(config api.EtcdStorageConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateExtendedArguments(config api.ExtendedArguments, flagFunc func(*pflag.FlagSet), fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateFile(path string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateGitLabIdentityProvider(provider *api.GitLabIdentityProvider, fieldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateHostPort(value string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateImageConfig(config api.ImageConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateImagePolicyConfig(config api.ImagePolicyConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateIngressIPNetworkCIDR(config *api.MasterConfig, fldPath *field.Path) (errors field.ErrorList)\n```\n\n```go\nfunc ValidateKubeConfig(path string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateKubeletConnectionInfo(config api.KubeletConnectionInfo, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateKubeletExtendedArguments(config api.ExtendedArguments, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateNamespace(namespace string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateNetworkConfig(config api.NodeNetworkConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateNodeAuthConfig(config api.NodeAuthConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateOAuthIdentityProvider(clientID string, clientSecret api.StringSource, fieldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateOpenIDIdentityProvider(provider *api.OpenIDIdentityProvider, identityProvider api.IdentityProvider, fieldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidatePodManifestConfig(podManifestConfig *api.PodManifestConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidatePolicyConfig(config api.PolicyConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateRemoteConnectionInfo(remoteConnectionInfo api.RemoteConnectionInfo, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateRoutingConfig(config api.RoutingConfig, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateSecureURL(urlString string, fldPath *field.Path) (*url.URL, field.ErrorList)\n```\n\n```go\nfunc ValidateSessionSecrets(config *api.SessionSecrets) field.ErrorList\n```\n\n```go\nfunc ValidateSpecifiedIP(ipString string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateSpecifiedIPPort(ipPortString string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateStorageVersionLevel(level string, knownAPILevels, deadAPILevels []string, fldPath *field.Path) field.ErrorList\n```\n\n```go\nfunc ValidateURL(urlString string, fldPath *field.Path) (*url.URL, field.ErrorList)\n```\n\n```go\nfunc ValidateVolumeConfig(config api.NodeVolumeConfig, fldPath *field.Path) field.ErrorList\n```\n\n## Types\n\n```go\ntype ValidationResults struct {\n\tWarnings field.ErrorList\n\tErrors   field.ErrorList\n}\n```\nTODO: this should just be two return arrays, no need to be clever\n\n```go\nfunc ValidateAPILevels(apiLevels []string, knownAPILevels, deadAPILevels []string, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateAPIServerExtendedArguments(config api.ExtendedArguments, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateActiveDirectoryConfig(config *api.ActiveDirectoryConfig) ValidationResults\n```\n\n```go\nfunc ValidateAdmissionPluginConfig(pluginConfig map[string]api.AdmissionPluginConfig, fieldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateAggregatorConfig(config api.AggregatorConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) ValidationResults\n```\n\n```go\nfunc ValidateAssetConfig(config *api.AssetConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateAuditConfig(config api.AuditConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateAugmentedActiveDirectoryConfig(config *api.AugmentedActiveDirectoryConfig) ValidationResults\n```\n\n```go\nfunc ValidateControllerConfig(config api.ControllerConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateDeprecatedClusterNetworkConfig(config *api.MasterConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateEtcdConfig(config *api.EtcdConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateGitHubIdentityProvider(provider *api.GitHubIdentityProvider, challenge bool, mappingMethod string, fieldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateGoogleIdentityProvider(provider *api.GoogleIdentityProvider, challenge bool, mappingMethod string, fieldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateHTTPServingInfo(info api.HTTPServingInfo, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateIdentityProvider(identityProvider api.IdentityProvider, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateInClusterNodeConfig(config *api.NodeConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateKeystoneIdentityProvider(provider *api.KeystonePasswordIdentityProvider, identityProvider api.IdentityProvider, fldPath *field.Path) ValidationResults\n```\nRemoteConnection fields validated separately -- this is for keystone-specific validation\n\n```go\nfunc ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateLDAPClientConfig(url, bindDN, bindPassword, CA string, insecure bool, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateLDAPIdentityProvider(provider *api.LDAPPasswordIdentityProvider, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateLDAPQuery(query api.LDAPQuery, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateLDAPSyncConfig(config *api.LDAPSyncConfig) ValidationResults\n```\n\n```go\nfunc ValidateMasterAuthConfig(config api.MasterAuthConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateMasterConfig(config *api.MasterConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateNamedCertificates(fldPath *field.Path, namedCertificates []api.NamedCertificate) ValidationResults\n```\n\n```go\nfunc ValidateNodeConfig(config *api.NodeConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateOAuthConfig(config *api.OAuthConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateProjectConfig(config api.ProjectConfig, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateRFC2307Config(config *api.RFC2307Config) ValidationResults\n```\n\n```go\nfunc ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, identityProvider api.IdentityProvider, fieldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateServingInfo(info api.ServingInfo, certificatesRequired bool, fldPath *field.Path) ValidationResults\n```\n\n```go\nfunc ValidateStringSource(s api.StringSource, fieldPath *field.Path) ValidationResults\n```\n\n```go\nfunc (r *ValidationResults) AddErrors(errors ...*field.Error)\n```\n\n```go\nfunc (r *ValidationResults) AddWarnings(warnings ...*field.Error)\n```\n\n```go\nfunc (r *ValidationResults) Append(additionalResults ValidationResults)\n```\n\n","path":"github.phpd.cn/openshift/origin/pkg/cmd/server/api/validation","name":"validation","synopsis":"","isRedistributable":true}
