validation

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAPIEndpoint added in v1.0.0

func ValidateAPIEndpoint(a kubeone.APIEndpoint, fldPath *field.Path) field.ErrorList

ValidateAPIEndpoint validates the APIEndpoint structure

func ValidateAddons added in v1.0.0

func ValidateAddons(o *kubeone.Addons, fldPath *field.Path) field.ErrorList

ValidateAddons validates the Addons configuration

func ValidateAssetConfiguration added in v1.2.0

func ValidateAssetConfiguration(a *kubeone.AssetConfiguration, fldPath *field.Path) field.ErrorList

func ValidateCNI added in v0.7.0

func ValidateCNI(c *kubeone.CNI, fldPath *field.Path) field.ErrorList

ValidateCNI validates the CNI structure

func ValidateCloudProviderSpec

func ValidateCloudProviderSpec(p kubeone.CloudProviderSpec, fldPath *field.Path) field.ErrorList

ValidateCloudProviderSpec validates the CloudProviderSpec structure

func ValidateClusterNetworkConfig

func ValidateClusterNetworkConfig(c kubeone.ClusterNetworkConfig, fldPath *field.Path) field.ErrorList

ValidateClusterNetworkConfig validates the ClusterNetworkConfig structure

func ValidateContainerRuntimeConfig added in v1.1.0

func ValidateContainerRuntimeConfig(cr kubeone.ContainerRuntimeConfig, versions kubeone.VersionConfig, fldPath *field.Path) field.ErrorList

func ValidateControlPlaneConfig added in v1.0.0

func ValidateControlPlaneConfig(c kubeone.ControlPlaneConfig, fldPath *field.Path) field.ErrorList

ValidateControlPlaneConfig validates the ControlPlaneConfig structure

func ValidateDynamicWorkerConfig added in v1.0.0

func ValidateDynamicWorkerConfig(workerset []kubeone.DynamicWorkerConfig, fldPath *field.Path) field.ErrorList

ValidateDynamicWorkerConfig validates the DynamicWorkerConfig structure

func ValidateFeatures

func ValidateFeatures(f kubeone.Features, versions kubeone.VersionConfig, fldPath *field.Path) field.ErrorList

ValidateFeatures validates the Features structure

func ValidateHostConfig

func ValidateHostConfig(hosts []kubeone.HostConfig, fldPath *field.Path) field.ErrorList

ValidateHostConfig validates the HostConfig structure

func ValidateKubeOneCluster

func ValidateKubeOneCluster(c kubeone.KubeOneCluster) field.ErrorList

ValidateKubeOneCluster validates the KubeOneCluster object

func ValidateOIDCConfig

func ValidateOIDCConfig(o kubeone.OpenIDConnectConfig, fldPath *field.Path) field.ErrorList

ValidateOIDCConfig validates the OpenIDConnectConfig structure

func ValidatePodNodeSelectorConfig added in v1.0.0

func ValidatePodNodeSelectorConfig(n kubeone.PodNodeSelectorConfig, fldPath *field.Path) field.ErrorList

ValidatePodNodeSelectorConfig validates the PodNodeSelectorConfig structure

func ValidateRegistryConfiguration added in v1.1.0

func ValidateRegistryConfiguration(r *kubeone.RegistryConfiguration, fldPath *field.Path) field.ErrorList

func ValidateStaticAuditLogConfig added in v1.0.0

func ValidateStaticAuditLogConfig(s kubeone.StaticAuditLogConfig, fldPath *field.Path) field.ErrorList

ValidateStaticAuditLogConfig validates the StaticAuditLogConfig structure

func ValidateStaticWorkersConfig added in v1.0.0

func ValidateStaticWorkersConfig(staticWorkers kubeone.StaticWorkersConfig, fldPath *field.Path) field.ErrorList

ValidateStaticWorkersConfig validates the StaticWorkersConfig structure

func ValidateVersionConfig

func ValidateVersionConfig(version kubeone.VersionConfig, fldPath *field.Path) field.ErrorList

ValidateVersionConfig validates the VersionConfig structure

Types

This section is empty.

Jump to

Keyboard shortcuts

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