Documentation ¶
Index ¶
- func ValidateAPIEndpoint(c *kubeadm.API, 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 ValidateBootstrapTokens(bts []kubeadm.BootstrapToken, fldPath *field.Path) field.ErrorList
- func ValidateCertSANs(altnames []string, fldPath *field.Path) field.ErrorList
- func ValidateDiscovery(c *kubeadm.NodeConfiguration) field.ErrorList
- func ValidateDiscoveryFile(discoveryFile string, fldPath *field.Path) field.ErrorList
- func ValidateEtcd(e *kubeadm.Etcd, 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(apiServers []string, 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 ValidateNodeRegistrationOptions(nro *kubeadm.NodeRegistrationOptions, fldPath *field.Path) field.ErrorList
- func ValidateProxy(c *kubeproxyconfigv1alpha1.KubeProxyConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateToken(token 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
- func ValidateURLs(urls []string, requireHTTPS bool, fldPath *field.Path) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAPIEndpoint ¶ added in v1.8.0
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 ValidateBootstrapTokens ¶ added in v1.11.0
ValidateBootstrapTokens validates a slice of BootstrapToken objects
func ValidateCertSANs ¶ added in v1.10.0
ValidateCertSANs validates alternative names
func ValidateDiscovery ¶
func ValidateDiscovery(c *kubeadm.NodeConfiguration) field.ErrorList
ValidateDiscovery validates discovery related configuration and collects all encountered errors
func ValidateDiscoveryFile ¶
ValidateDiscoveryFile validates location of a discovery file
func ValidateEtcd ¶ added in v1.11.0
ValidateEtcd validates the .Etcd sub-struct.
func ValidateFeatureGates ¶ added in v1.8.0
ValidateFeatureGates validates provided feature gates
func ValidateIPFromString ¶
ValidateIPFromString validates ip address
func ValidateIPNetFromString ¶
ValidateIPNetFromString validates network portion of ip address
func ValidateIgnorePreflightErrors ¶ added in v1.9.0
func ValidateIgnorePreflightErrors(ignorePreflightErrors []string, skipPreflightChecks bool) (sets.String, error)
ValidateIgnorePreflightErrors validates duplicates in ignore-preflight-errors flag.
func ValidateJoinDiscoveryTokenAPIServer ¶
ValidateJoinDiscoveryTokenAPIServer validates discovery token for API server
func ValidateKubeletConfiguration ¶ added in v1.9.0
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 ¶ added in v1.7.1
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 ValidateNodeRegistrationOptions ¶ added in v1.11.0
func ValidateNodeRegistrationOptions(nro *kubeadm.NodeRegistrationOptions, fldPath *field.Path) field.ErrorList
ValidateNodeRegistrationOptions validates the NodeRegistrationOptions object
func ValidateProxy ¶ added in v1.9.0
func ValidateProxy(c *kubeproxyconfigv1alpha1.KubeProxyConfiguration, fldPath *field.Path) field.ErrorList
ValidateProxy validates proxy configuration and collects all encountered errors
func ValidateToken ¶
ValidateToken validates a Bootstrap Token
func ValidateTokenGroups ¶ added in v1.10.0
ValidateTokenGroups validates token groups
func ValidateTokenUsages ¶ added in v1.10.0
ValidateTokenUsages validates token usages
Types ¶
This section is empty.