Documentation ¶
Index ¶
- func ValidateAPIEndpoint(a kubeoneapi.APIEndpoint, fldPath *field.Path) field.ErrorList
- func ValidateAddons(o *kubeoneapi.Addons, fldPath *field.Path) field.ErrorList
- func ValidateAssetConfiguration(a *kubeoneapi.AssetConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateCABundle(caBundle string, fldPath *field.Path) field.ErrorList
- func ValidateCNI(c *kubeoneapi.CNI, fldPath *field.Path) field.ErrorList
- func ValidateCloudProviderSpec(p kubeoneapi.CloudProviderSpec, fldPath *field.Path) field.ErrorList
- func ValidateClusterNetworkConfig(c kubeoneapi.ClusterNetworkConfig, fldPath *field.Path) field.ErrorList
- func ValidateContainerRuntimeConfig(cr kubeoneapi.ContainerRuntimeConfig, versions kubeoneapi.VersionConfig, ...) field.ErrorList
- func ValidateContainerRuntimeVSRegistryConfiguration(cr kubeoneapi.ContainerRuntimeConfig, crFldPath *field.Path, ...) field.ErrorList
- func ValidateControlPlaneConfig(c kubeoneapi.ControlPlaneConfig, fldPath *field.Path) field.ErrorList
- func ValidateDynamicWorkerConfig(workerset []kubeoneapi.DynamicWorkerConfig, fldPath *field.Path) field.ErrorList
- func ValidateFeatures(f kubeoneapi.Features, versions kubeoneapi.VersionConfig, fldPath *field.Path) field.ErrorList
- func ValidateHostConfig(hosts []kubeoneapi.HostConfig, fldPath *field.Path) field.ErrorList
- func ValidateKubeOneCluster(c kubeoneapi.KubeOneCluster) field.ErrorList
- func ValidateKubeProxy(kbPrxConf *kubeoneapi.KubeProxyConfig, fldPath *field.Path) field.ErrorList
- func ValidateKubernetesSupport(c kubeoneapi.KubeOneCluster, fldPath *field.Path) field.ErrorList
- func ValidateName(name string, fldPath *field.Path) field.ErrorList
- func ValidateOIDCConfig(o kubeoneapi.OpenIDConnectConfig, fldPath *field.Path) field.ErrorList
- func ValidatePodNodeSelectorConfig(n kubeoneapi.PodNodeSelectorConfig, fldPath *field.Path) field.ErrorList
- func ValidateRegistryConfiguration(r *kubeoneapi.RegistryConfiguration, fldPath *field.Path) field.ErrorList
- func ValidateStaticAuditLogConfig(s kubeoneapi.StaticAuditLogConfig, fldPath *field.Path) field.ErrorList
- func ValidateStaticWorkersConfig(staticWorkers kubeoneapi.StaticWorkersConfig, fldPath *field.Path) field.ErrorList
- func ValidateVersionConfig(version kubeoneapi.VersionConfig, fldPath *field.Path) field.ErrorList
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
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 ValidateCNI ¶ added in v0.7.0
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
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.