validation

package
v1.9.8-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAPIEndpoint added in v1.8.0

func ValidateAPIEndpoint(c *kubeadm.MasterConfiguration, fldPath *field.Path) field.ErrorList

ValidateAPIEndpoint validates API server's endpoint

func ValidateAPIServerCertSANs

func ValidateAPIServerCertSANs(altnames []string, fldPath *field.Path) field.ErrorList

ValidateAPIServerCertSANs validates alternative names

func ValidateAbsolutePath

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

ValidateAbsolutePath validates whether provided path is absolute or not

func ValidateArgSelection

func ValidateArgSelection(cfg *kubeadm.NodeConfiguration, fldPath *field.Path) field.ErrorList

ValidateArgSelection validates discovery related configuration and collects all encountered errors

func ValidateAuthorizationModes added in v1.7.0

func ValidateAuthorizationModes(authzModes []string, fldPath *field.Path) field.ErrorList

ValidateAuthorizationModes validates authorization modes and collects all encountered errors

func ValidateCloudProvider

func ValidateCloudProvider(provider string, fldPath *field.Path) field.ErrorList

ValidateCloudProvider validates if cloud provider is supported

func ValidateDiscovery

func ValidateDiscovery(c *kubeadm.NodeConfiguration, fldPath *field.Path) field.ErrorList

ValidateDiscovery validates discovery related configuration and collects all encountered errors

func ValidateDiscoveryFile

func ValidateDiscoveryFile(discoveryFile string, fldPath *field.Path) field.ErrorList

ValidateDiscoveryFile validates location of a discovery file

func ValidateFeatureGates added in v1.8.0

func ValidateFeatureGates(featureGates map[string]bool, fldPath *field.Path) field.ErrorList

ValidateFeatureGates validates provided feature gates

func ValidateIPFromString

func ValidateIPFromString(ipaddr string, fldPath *field.Path) field.ErrorList

ValidateIPFromString validates ip address

func ValidateIPNetFromString

func ValidateIPNetFromString(subnet string, minAddrs int64, fldPath *field.Path) field.ErrorList

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

func ValidateJoinDiscoveryTokenAPIServer(c *kubeadm.NodeConfiguration, fldPath *field.Path) field.ErrorList

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

func ValidateMixedArguments(flag *pflag.FlagSet) error

ValidateMixedArguments validates passed arguments

func ValidateNetworking

func ValidateNetworking(c *kubeadm.Networking, fldPath *field.Path) field.ErrorList

ValidateNetworking validates networking configuration

func ValidateNodeConfiguration

func ValidateNodeConfiguration(c *kubeadm.NodeConfiguration) field.ErrorList

ValidateNodeConfiguration validates node configuration and collects all encountered errors

func ValidateNodeName added in v1.7.1

func ValidateNodeName(nodename string, fldPath *field.Path) field.ErrorList

ValidateNodeName validates the name of a node

func ValidateProxy added in v1.9.0

func ValidateProxy(c *kubeadm.MasterConfiguration, fldPath *field.Path) field.ErrorList

ValidateProxy validates proxy configuration and collects all encountered errors

func ValidateToken

func ValidateToken(t string, fldPath *field.Path) field.ErrorList

ValidateToken validates token

Types

This section is empty.

Jump to

Keyboard shortcuts

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