validation

package
v0.0.0-...-cf23810 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 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

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

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 ValidateFeatureFlags

func ValidateFeatureFlags(featureFlags 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

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

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