package validation
import "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/validation"
Index ¶
- func ValidateAPIEndpoint(c *kubeadm.MasterConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAbsolutePath(path string, fldPath *field.Path) field.ErrorList
- func ValidateArgSelection(cfg *kubeadm.NodeConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateAuthorizationModes(authzModes []string, fldPath *field.Path) field.ErrorList
- func ValidateCertSANs(altnames []string, fldPath *field.Path) field.ErrorList
- func ValidateCloudProvider(provider string, fldPath *field.Path) field.ErrorList
- func ValidateDiscovery(c *kubeadm.NodeConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateDiscoveryFile(discoveryFile string, fldPath *field.Path) field.ErrorList
- func ValidateFeatureGates(featureGates map[string]bool, fldPath *field.Path) field.ErrorList
- func ValidateIPFromString(ipaddr string, fldPath *field.Path) field.ErrorList
- func ValidateIPNetFromString(subnet string, minAddrs int64, fldPath *field.Path) field.ErrorList
- func ValidateIgnorePreflightErrors(ignorePreflightErrors []string, skipPreflightChecks bool) (sets.String, error)
- func ValidateJoinDiscoveryTokenAPIServer(c *kubeadm.NodeConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateKubeletConfiguration(c *kubeadm.KubeletConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateMasterConfiguration(c *kubeadm.MasterConfiguration) field.ErrorList
- func ValidateMixedArguments(flag *pflag.FlagSet) error
- func ValidateNetworking(c *kubeadm.Networking, fldPath *field.Path) field.ErrorList
- func ValidateNodeConfiguration(c *kubeadm.NodeConfiguration) field.ErrorList
- func ValidateNodeName(nodename string, fldPath *field.Path) field.ErrorList
- func ValidateProxy(c *kubeadm.MasterConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateToken(t string, fldPath *field.Path) field.ErrorList
- func ValidateTokenGroups(usages []string, groups []string, fldPath *field.Path) field.ErrorList
- func ValidateTokenUsages(usages []string, fldPath *field.Path) field.ErrorList
Functions ¶
func ValidateAPIEndpoint ¶
ValidateAPIEndpoint validates API server's endpoint
func ValidateAbsolutePath ¶
ValidateAbsolutePath validates whether provided path is absolute or not
func ValidateArgSelection ¶
ValidateArgSelection validates discovery related configuration and collects all encountered errors
func ValidateAuthorizationModes ¶
ValidateAuthorizationModes validates authorization modes and collects all encountered errors
func ValidateCertSANs ¶
ValidateCertSANs validates alternative names
func ValidateCloudProvider ¶
ValidateCloudProvider validates if cloud provider is supported
func ValidateDiscovery ¶
ValidateDiscovery validates discovery related configuration and collects all encountered errors
func ValidateDiscoveryFile ¶
ValidateDiscoveryFile validates location of a discovery file
func ValidateFeatureGates ¶
ValidateFeatureGates validates provided feature gates
func ValidateIPFromString ¶
ValidateIPFromString validates ip address
func ValidateIPNetFromString ¶
ValidateIPNetFromString validates network portion of ip address
func ValidateIgnorePreflightErrors ¶
func ValidateIgnorePreflightErrors(ignorePreflightErrors []string, skipPreflightChecks bool) (sets.String, error)
ValidateIgnorePreflightErrors validates duplicates in ignore-preflight-errors flag.
func ValidateJoinDiscoveryTokenAPIServer ¶
func ValidateJoinDiscoveryTokenAPIServer(c *kubeadm.NodeConfiguration, fldPath *field.Path) field.ErrorList
ValidateJoinDiscoveryTokenAPIServer validates discovery token for API server
func ValidateKubeletConfiguration ¶
func ValidateKubeletConfiguration(c *kubeadm.KubeletConfiguration, fldPath *field.Path) field.ErrorList
ValidateKubeletConfiguration validates kubelet configuration and collects all encountered errors
func ValidateMasterConfiguration ¶
func ValidateMasterConfiguration(c *kubeadm.MasterConfiguration) field.ErrorList
ValidateMasterConfiguration validates master configuration and collects all encountered errors
func ValidateMixedArguments ¶
ValidateMixedArguments validates passed arguments
func ValidateNetworking ¶
ValidateNetworking validates networking configuration
func ValidateNodeConfiguration ¶
func ValidateNodeConfiguration(c *kubeadm.NodeConfiguration) field.ErrorList
ValidateNodeConfiguration validates node configuration and collects all encountered errors
func ValidateNodeName ¶
ValidateNodeName validates the name of a node
func ValidateProxy ¶
ValidateProxy validates proxy configuration and collects all encountered errors
func ValidateToken ¶
ValidateToken validates token
func ValidateTokenGroups ¶
ValidateTokenGroups validates token groups
func ValidateTokenUsages ¶
ValidateTokenUsages validates token usages
Source Files ¶
validation.go
- Version
- v1.10.7-beta.0
- Published
- Jul 26, 2018
- Platform
- js/wasm
- Imports
- 27 packages
- Last checked
- 5 minutes ago –
Tools for package owners.