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(providerSpec kubeoneapi.CloudProviderSpec, ...) field.ErrorList
- func ValidateClusterNetworkConfig(c kubeoneapi.ClusterNetworkConfig, prov kubeoneapi.CloudProviderSpec, ...) field.ErrorList
- func ValidateContainerRuntimeConfig(cr kubeoneapi.ContainerRuntimeConfig, _ kubeoneapi.VersionConfig, ...) field.ErrorList
- func ValidateContainerRuntimeVSRegistryConfiguration(cr kubeoneapi.ContainerRuntimeConfig, crFldPath *field.Path, ...) field.ErrorList
- func ValidateControlPlaneComponents(c *kubeoneapi.ControlPlaneComponents, fldPath *field.Path) field.ErrorList
- func ValidateControlPlaneConfig(c kubeoneapi.ControlPlaneConfig, ...) field.ErrorList
- func ValidateDynamicWorkerConfig(workerset []kubeoneapi.DynamicWorkerConfig, prov kubeoneapi.CloudProviderSpec, ...) field.ErrorList
- func ValidateFeatures(f kubeoneapi.Features, fldPath *field.Path) field.ErrorList
- func ValidateHostConfig(hosts []kubeoneapi.HostConfig, clusterNetwork kubeoneapi.ClusterNetworkConfig, ...) 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 ValidateOperatingSystemManager(mc *kubeoneapi.MachineControllerConfig, 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, ...) field.ErrorList
- func ValidateVersionConfig(version kubeoneapi.VersionConfig, fldPath *field.Path) field.ErrorList
- func ValidateWebhookAuditLogConfig(s kubeoneapi.WebhookAuditLogConfig, 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(providerSpec kubeoneapi.CloudProviderSpec, networkConfig kubeoneapi.ClusterNetworkConfig, fldPath *field.Path) field.ErrorList
ValidateCloudProviderSpec validates the CloudProviderSpec structure
func ValidateClusterNetworkConfig ¶
func ValidateClusterNetworkConfig(c kubeoneapi.ClusterNetworkConfig, prov kubeoneapi.CloudProviderSpec, fldPath *field.Path) field.ErrorList
ValidateClusterNetworkConfig validates the ClusterNetworkConfig structure
func ValidateContainerRuntimeConfig ¶ added in v1.1.0
func ValidateContainerRuntimeConfig(cr kubeoneapi.ContainerRuntimeConfig, _ 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 ValidateControlPlaneComponents ¶ added in v1.8.0
func ValidateControlPlaneComponents(c *kubeoneapi.ControlPlaneComponents, fldPath *field.Path) field.ErrorList
func ValidateControlPlaneConfig ¶ added in v1.0.0
func ValidateControlPlaneConfig(c kubeoneapi.ControlPlaneConfig, clusterNetwork kubeoneapi.ClusterNetworkConfig, fldPath *field.Path) field.ErrorList
ValidateControlPlaneConfig validates the ControlPlaneConfig structure
func ValidateDynamicWorkerConfig ¶ added in v1.0.0
func ValidateDynamicWorkerConfig(workerset []kubeoneapi.DynamicWorkerConfig, prov kubeoneapi.CloudProviderSpec, fldPath *field.Path) field.ErrorList
ValidateDynamicWorkerConfig validates the DynamicWorkerConfig structure
func ValidateFeatures ¶
ValidateFeatures validates the Features structure
func ValidateHostConfig ¶
func ValidateHostConfig(hosts []kubeoneapi.HostConfig, clusterNetwork kubeoneapi.ClusterNetworkConfig, 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 ValidateOperatingSystemManager ¶ added in v1.5.0
func ValidateOperatingSystemManager(mc *kubeoneapi.MachineControllerConfig, fldPath *field.Path) field.ErrorList
ValidateOperatingSystemManager validates the OperatingSystemManager 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, controlPlane kubeoneapi.ControlPlaneConfig, clusterNetwork kubeoneapi.ClusterNetworkConfig, 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
func ValidateWebhookAuditLogConfig ¶ added in v1.9.0
func ValidateWebhookAuditLogConfig(s kubeoneapi.WebhookAuditLogConfig, fldPath *field.Path) field.ErrorList
ValidateWebhookAuditLogConfig validates the WebhookAuditLogConfig structure
Types ¶
This section is empty.