validation

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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