validation

package
v1.8.2-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: Apache-2.0 Imports: 18 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

func ValidateAPIServerCertSANs

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

func ValidateAbsolutePath

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

func ValidateArgSelection

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

func ValidateAuthorizationModes added in v1.7.0

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

func ValidateCloudProvider

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

func ValidateDiscovery

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

func ValidateDiscoveryFile

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

func ValidateFeatureGates added in v1.8.0

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

func ValidateIPFromString

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

func ValidateIPNetFromString

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

func ValidateJoinDiscoveryTokenAPIServer

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

func ValidateMasterConfiguration

func ValidateMasterConfiguration(c *kubeadm.MasterConfiguration) field.ErrorList

func ValidateMixedArguments added in v1.7.1

func ValidateMixedArguments(flag *pflag.FlagSet) error

func ValidateNetworking

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

func ValidateNodeConfiguration

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

func ValidateNodeName added in v1.7.1

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

func ValidateToken

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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