Documentation ¶
Index ¶
- func ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) fielderrors.ValidationErrorList
- func ValidateAssetConfig(config *api.AssetConfig) fielderrors.ValidationErrorList
- func ValidateCertInfo(certInfo api.CertInfo, required bool) 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 ValidateFile(path string, field string) fielderrors.ValidationErrorList
- func ValidateGrantConfig(config api.GrantConfig) 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 ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig) fielderrors.ValidationErrorList
- func ValidateMasterConfig(config *api.MasterConfig) 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 ValidateProjectConfig(config api.ProjectConfig) fielderrors.ValidationErrorList
- func ValidateRemoteConnectionInfo(remoteConnectionInfo api.RemoteConnectionInfo) fielderrors.ValidationErrorList
- func ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, ...) fielderrors.ValidationErrorList
- func ValidateSecureURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
- func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool) 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAllInOneConfig ¶
func ValidateAllInOneConfig(master *api.MasterConfig, node *api.NodeConfig) fielderrors.ValidationErrorList
func ValidateAssetConfig ¶
func ValidateAssetConfig(config *api.AssetConfig) fielderrors.ValidationErrorList
func ValidateCertInfo ¶ added in v0.4.3
func ValidateCertInfo(certInfo api.CertInfo, required bool) fielderrors.ValidationErrorList
func ValidateEtcdConfig ¶ added in v0.4.3
func ValidateEtcdConfig(config *api.EtcdConfig) 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 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 ValidateIdentityProvider ¶ added in v0.4.3
func ValidateIdentityProvider(identityProvider api.IdentityProvider) 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 ValidateKubernetesMasterConfig ¶
func ValidateKubernetesMasterConfig(config *api.KubernetesMasterConfig) fielderrors.ValidationErrorList
func ValidateMasterConfig ¶
func ValidateMasterConfig(config *api.MasterConfig) fielderrors.ValidationErrorList
func ValidateNamespace ¶
func ValidateNamespace(namespace, field string) fielderrors.ValidationErrorList
func ValidateNodeConfig ¶
func ValidateNodeConfig(config *api.NodeConfig) fielderrors.ValidationErrorList
func ValidateOAuthConfig ¶ added in v0.4.3
func ValidateOAuthConfig(config *api.OAuthConfig) 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 ValidateProjectConfig ¶ added in v0.5.3
func ValidateProjectConfig(config api.ProjectConfig) fielderrors.ValidationErrorList
func ValidateRemoteConnectionInfo ¶ added in v0.4.3
func ValidateRemoteConnectionInfo(remoteConnectionInfo api.RemoteConnectionInfo) fielderrors.ValidationErrorList
func ValidateRequestHeaderIdentityProvider ¶ added in v0.4.4
func ValidateRequestHeaderIdentityProvider(provider *api.RequestHeaderIdentityProvider, identityProvider api.IdentityProvider) fielderrors.ValidationErrorList
func ValidateSecureURL ¶ added in v0.4.4
func ValidateSecureURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
func ValidateServiceAccountConfig ¶ added in v0.5.3
func ValidateServiceAccountConfig(config api.ServiceAccountConfig, builtInKubernetes bool) fielderrors.ValidationErrorList
func ValidateServingInfo ¶
func ValidateServingInfo(info api.ServingInfo) 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 ValidateURL ¶
func ValidateURL(urlString string, field string) (*url.URL, fielderrors.ValidationErrorList)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.