validation

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 12 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 kubeoneapi.APIEndpoint, fldPath *field.Path) field.ErrorList

ValidateAPIEndpoint validates the APIEndpoint structure

func ValidateAddons added in v1.0.0

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

ValidateAddons validates the Addons configuration

func ValidateAssetConfiguration added in v1.2.0

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

func ValidateCABundle added in v1.3.0

func ValidateCABundle(caBundle string, fldPath *field.Path) field.ErrorList

func ValidateCNI added in v0.7.0

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

ValidateCNI validates the CNI structure

func ValidateCloudProviderSpec

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

ValidateCloudProviderSpec validates the CloudProviderSpec structure

func ValidateClusterNetworkConfig

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

ValidateClusterNetworkConfig validates the ClusterNetworkConfig structure

func ValidateContainerRuntimeConfig added in v1.1.0

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

func ValidateContainerRuntimeVSRegistryConfiguration added in v1.4.0

func ValidateContainerRuntimeVSRegistryConfiguration(
	cr kubeoneapi.ContainerRuntimeConfig,
	crFldPath *field.Path,
	rc *kubeoneapi.RegistryConfiguration,
	rcFldPath *field.Path,
) field.ErrorList

func ValidateControlPlaneConfig added in v1.0.0

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

ValidateControlPlaneConfig validates the ControlPlaneConfig structure

func ValidateDynamicWorkerConfig added in v1.0.0

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

ValidateDynamicWorkerConfig validates the DynamicWorkerConfig structure

func ValidateFeatures

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

ValidateFeatures validates the Features structure

func ValidateHostConfig

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

ValidateHostConfig validates the HostConfig structure

func ValidateKubeOneCluster

func ValidateKubeOneCluster(c kubeoneapi.KubeOneCluster) field.ErrorList

ValidateKubeOneCluster validates the KubeOneCluster object

func ValidateKubeProxy added in v1.3.0

func ValidateKubeProxy(kbPrxConf *kubeoneapi.KubeProxyConfig, fldPath *field.Path) field.ErrorList

func ValidateKubernetesSupport added in v1.4.0

func ValidateKubernetesSupport(c kubeoneapi.KubeOneCluster, fldPath *field.Path) field.ErrorList

func ValidateName added in v1.4.0

func ValidateName(name string, fldPath *field.Path) field.ErrorList

ValidateName validates the Name of cluster

func ValidateOIDCConfig

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

ValidateOIDCConfig validates the OpenIDConnectConfig structure

func ValidatePodNodeSelectorConfig added in v1.0.0

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

ValidatePodNodeSelectorConfig validates the PodNodeSelectorConfig structure

func ValidateRegistryConfiguration added in v1.1.0

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

func ValidateStaticAuditLogConfig added in v1.0.0

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

ValidateStaticAuditLogConfig validates the StaticAuditLogConfig structure

func ValidateStaticWorkersConfig added in v1.0.0

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

ValidateStaticWorkersConfig validates the StaticWorkersConfig structure

func ValidateVersionConfig

func ValidateVersionConfig(version kubeoneapi.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