v1beta1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1beta1 defines the v1beta1 version of KubeOneCluster API

Index

Constants

View Source
const (
	// DefaultPodSubnet defines the default subnet used by pods
	DefaultPodSubnet = "10.244.0.0/16"
	// DefaultServiceSubnet defines the default subnet used by services
	DefaultServiceSubnet = "10.96.0.0/12"
	// DefaultServiceDNS defines the default DNS domain name used by services
	DefaultServiceDNS = "cluster.local"
	// DefaultNodePortRange defines the default NodePort range
	DefaultNodePortRange = "30000-32767"
	// DefaultStaticNoProxy defined static NoProxy
	DefaultStaticNoProxy = "127.0.0.1/8,localhost"
	// DefaultVXLanMTU defines default VXLAN MTU for Canal CNI
	DefaultCanalMTU = 1450
)
View Source
const GroupName = "kubeone.io"

GroupName is the name of the group used by this API

Variables

View Source
var (
	// SchemeBuilder points to a list of functions added to Scheme
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the Scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register API objects

Functions

func Convert_kubeone_APIEndpoint_To_v1beta1_APIEndpoint

func Convert_kubeone_APIEndpoint_To_v1beta1_APIEndpoint(in *kubeone.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_kubeone_APIEndpoint_To_v1beta1_APIEndpoint is an autogenerated conversion function.

func Convert_kubeone_AWSSpec_To_v1beta1_AWSSpec

func Convert_kubeone_AWSSpec_To_v1beta1_AWSSpec(in *kubeone.AWSSpec, out *AWSSpec, s conversion.Scope) error

Convert_kubeone_AWSSpec_To_v1beta1_AWSSpec is an autogenerated conversion function.

func Convert_kubeone_Addons_To_v1beta1_Addons

func Convert_kubeone_Addons_To_v1beta1_Addons(in *kubeone.Addons, out *Addons, s conversion.Scope) error

Convert_kubeone_Addons_To_v1beta1_Addons is an autogenerated conversion function.

func Convert_kubeone_AzureSpec_To_v1beta1_AzureSpec

func Convert_kubeone_AzureSpec_To_v1beta1_AzureSpec(in *kubeone.AzureSpec, out *AzureSpec, s conversion.Scope) error

Convert_kubeone_AzureSpec_To_v1beta1_AzureSpec is an autogenerated conversion function.

func Convert_kubeone_CNI_To_v1beta1_CNI

func Convert_kubeone_CNI_To_v1beta1_CNI(in *kubeone.CNI, out *CNI, s conversion.Scope) error

Convert_kubeone_CNI_To_v1beta1_CNI is an autogenerated conversion function.

func Convert_kubeone_CanalSpec_To_v1beta1_CanalSpec

func Convert_kubeone_CanalSpec_To_v1beta1_CanalSpec(in *kubeone.CanalSpec, out *CanalSpec, s conversion.Scope) error

Convert_kubeone_CanalSpec_To_v1beta1_CanalSpec is an autogenerated conversion function.

func Convert_kubeone_CloudProviderSpec_To_v1beta1_CloudProviderSpec

func Convert_kubeone_CloudProviderSpec_To_v1beta1_CloudProviderSpec(in *kubeone.CloudProviderSpec, out *CloudProviderSpec, s conversion.Scope) error

Convert_kubeone_CloudProviderSpec_To_v1beta1_CloudProviderSpec is an autogenerated conversion function.

func Convert_kubeone_ClusterNetworkConfig_To_v1beta1_ClusterNetworkConfig

func Convert_kubeone_ClusterNetworkConfig_To_v1beta1_ClusterNetworkConfig(in *kubeone.ClusterNetworkConfig, out *ClusterNetworkConfig, s conversion.Scope) error

Convert_kubeone_ClusterNetworkConfig_To_v1beta1_ClusterNetworkConfig is an autogenerated conversion function.

func Convert_kubeone_ControlPlaneConfig_To_v1beta1_ControlPlaneConfig

func Convert_kubeone_ControlPlaneConfig_To_v1beta1_ControlPlaneConfig(in *kubeone.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error

Convert_kubeone_ControlPlaneConfig_To_v1beta1_ControlPlaneConfig is an autogenerated conversion function.

func Convert_kubeone_DNSConfig_To_v1beta1_DNSConfig

func Convert_kubeone_DNSConfig_To_v1beta1_DNSConfig(in *kubeone.DNSConfig, out *DNSConfig, s conversion.Scope) error

Convert_kubeone_DNSConfig_To_v1beta1_DNSConfig is an autogenerated conversion function.

func Convert_kubeone_DigitalOceanSpec_To_v1beta1_DigitalOceanSpec

func Convert_kubeone_DigitalOceanSpec_To_v1beta1_DigitalOceanSpec(in *kubeone.DigitalOceanSpec, out *DigitalOceanSpec, s conversion.Scope) error

Convert_kubeone_DigitalOceanSpec_To_v1beta1_DigitalOceanSpec is an autogenerated conversion function.

func Convert_kubeone_DynamicAuditLog_To_v1beta1_DynamicAuditLog

func Convert_kubeone_DynamicAuditLog_To_v1beta1_DynamicAuditLog(in *kubeone.DynamicAuditLog, out *DynamicAuditLog, s conversion.Scope) error

Convert_kubeone_DynamicAuditLog_To_v1beta1_DynamicAuditLog is an autogenerated conversion function.

func Convert_kubeone_DynamicWorkerConfig_To_v1beta1_DynamicWorkerConfig

func Convert_kubeone_DynamicWorkerConfig_To_v1beta1_DynamicWorkerConfig(in *kubeone.DynamicWorkerConfig, out *DynamicWorkerConfig, s conversion.Scope) error

Convert_kubeone_DynamicWorkerConfig_To_v1beta1_DynamicWorkerConfig is an autogenerated conversion function.

func Convert_kubeone_ExternalCNISpec_To_v1beta1_ExternalCNISpec

func Convert_kubeone_ExternalCNISpec_To_v1beta1_ExternalCNISpec(in *kubeone.ExternalCNISpec, out *ExternalCNISpec, s conversion.Scope) error

Convert_kubeone_ExternalCNISpec_To_v1beta1_ExternalCNISpec is an autogenerated conversion function.

func Convert_kubeone_Features_To_v1beta1_Features

func Convert_kubeone_Features_To_v1beta1_Features(in *kubeone.Features, out *Features, s conversion.Scope) error

Convert_kubeone_Features_To_v1beta1_Features is an autogenerated conversion function.

func Convert_kubeone_GCESpec_To_v1beta1_GCESpec

func Convert_kubeone_GCESpec_To_v1beta1_GCESpec(in *kubeone.GCESpec, out *GCESpec, s conversion.Scope) error

Convert_kubeone_GCESpec_To_v1beta1_GCESpec is an autogenerated conversion function.

func Convert_kubeone_HetznerSpec_To_v1beta1_HetznerSpec

func Convert_kubeone_HetznerSpec_To_v1beta1_HetznerSpec(in *kubeone.HetznerSpec, out *HetznerSpec, s conversion.Scope) error

Convert_kubeone_HetznerSpec_To_v1beta1_HetznerSpec is an autogenerated conversion function.

func Convert_kubeone_HostConfig_To_v1beta1_HostConfig

func Convert_kubeone_HostConfig_To_v1beta1_HostConfig(in *kubeone.HostConfig, out *HostConfig, s conversion.Scope) error

Convert_kubeone_HostConfig_To_v1beta1_HostConfig is an autogenerated conversion function.

func Convert_kubeone_KubeOneCluster_To_v1beta1_KubeOneCluster

func Convert_kubeone_KubeOneCluster_To_v1beta1_KubeOneCluster(in *kubeone.KubeOneCluster, out *KubeOneCluster, s conversion.Scope) error

Convert_kubeone_KubeOneCluster_To_v1beta1_KubeOneCluster is an autogenerated conversion function.

func Convert_kubeone_MachineControllerConfig_To_v1beta1_MachineControllerConfig

func Convert_kubeone_MachineControllerConfig_To_v1beta1_MachineControllerConfig(in *kubeone.MachineControllerConfig, out *MachineControllerConfig, s conversion.Scope) error

Convert_kubeone_MachineControllerConfig_To_v1beta1_MachineControllerConfig is an autogenerated conversion function.

func Convert_kubeone_MetricsServer_To_v1beta1_MetricsServer

func Convert_kubeone_MetricsServer_To_v1beta1_MetricsServer(in *kubeone.MetricsServer, out *MetricsServer, s conversion.Scope) error

Convert_kubeone_MetricsServer_To_v1beta1_MetricsServer is an autogenerated conversion function.

func Convert_kubeone_NoneSpec_To_v1beta1_NoneSpec

func Convert_kubeone_NoneSpec_To_v1beta1_NoneSpec(in *kubeone.NoneSpec, out *NoneSpec, s conversion.Scope) error

Convert_kubeone_NoneSpec_To_v1beta1_NoneSpec is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnectConfig_To_v1beta1_OpenIDConnectConfig

func Convert_kubeone_OpenIDConnectConfig_To_v1beta1_OpenIDConnectConfig(in *kubeone.OpenIDConnectConfig, out *OpenIDConnectConfig, s conversion.Scope) error

Convert_kubeone_OpenIDConnectConfig_To_v1beta1_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnect_To_v1beta1_OpenIDConnect

func Convert_kubeone_OpenIDConnect_To_v1beta1_OpenIDConnect(in *kubeone.OpenIDConnect, out *OpenIDConnect, s conversion.Scope) error

Convert_kubeone_OpenIDConnect_To_v1beta1_OpenIDConnect is an autogenerated conversion function.

func Convert_kubeone_OpenstackSpec_To_v1beta1_OpenstackSpec

func Convert_kubeone_OpenstackSpec_To_v1beta1_OpenstackSpec(in *kubeone.OpenstackSpec, out *OpenstackSpec, s conversion.Scope) error

Convert_kubeone_OpenstackSpec_To_v1beta1_OpenstackSpec is an autogenerated conversion function.

func Convert_kubeone_PacketSpec_To_v1beta1_PacketSpec

func Convert_kubeone_PacketSpec_To_v1beta1_PacketSpec(in *kubeone.PacketSpec, out *PacketSpec, s conversion.Scope) error

Convert_kubeone_PacketSpec_To_v1beta1_PacketSpec is an autogenerated conversion function.

func Convert_kubeone_PodNodeSelectorConfig_To_v1beta1_PodNodeSelectorConfig

func Convert_kubeone_PodNodeSelectorConfig_To_v1beta1_PodNodeSelectorConfig(in *kubeone.PodNodeSelectorConfig, out *PodNodeSelectorConfig, s conversion.Scope) error

Convert_kubeone_PodNodeSelectorConfig_To_v1beta1_PodNodeSelectorConfig is an autogenerated conversion function.

func Convert_kubeone_PodNodeSelector_To_v1beta1_PodNodeSelector

func Convert_kubeone_PodNodeSelector_To_v1beta1_PodNodeSelector(in *kubeone.PodNodeSelector, out *PodNodeSelector, s conversion.Scope) error

Convert_kubeone_PodNodeSelector_To_v1beta1_PodNodeSelector is an autogenerated conversion function.

func Convert_kubeone_PodPresets_To_v1beta1_PodPresets

func Convert_kubeone_PodPresets_To_v1beta1_PodPresets(in *kubeone.PodPresets, out *PodPresets, s conversion.Scope) error

Convert_kubeone_PodPresets_To_v1beta1_PodPresets is an autogenerated conversion function.

func Convert_kubeone_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy

func Convert_kubeone_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy(in *kubeone.PodSecurityPolicy, out *PodSecurityPolicy, s conversion.Scope) error

Convert_kubeone_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy is an autogenerated conversion function.

func Convert_kubeone_ProviderSpec_To_v1beta1_ProviderSpec

func Convert_kubeone_ProviderSpec_To_v1beta1_ProviderSpec(in *kubeone.ProviderSpec, out *ProviderSpec, s conversion.Scope) error

Convert_kubeone_ProviderSpec_To_v1beta1_ProviderSpec is an autogenerated conversion function.

func Convert_kubeone_ProviderStaticNetworkConfig_To_v1beta1_ProviderStaticNetworkConfig

func Convert_kubeone_ProviderStaticNetworkConfig_To_v1beta1_ProviderStaticNetworkConfig(in *kubeone.ProviderStaticNetworkConfig, out *ProviderStaticNetworkConfig, s conversion.Scope) error

Convert_kubeone_ProviderStaticNetworkConfig_To_v1beta1_ProviderStaticNetworkConfig is an autogenerated conversion function.

func Convert_kubeone_ProxyConfig_To_v1beta1_ProxyConfig

func Convert_kubeone_ProxyConfig_To_v1beta1_ProxyConfig(in *kubeone.ProxyConfig, out *ProxyConfig, s conversion.Scope) error

Convert_kubeone_ProxyConfig_To_v1beta1_ProxyConfig is an autogenerated conversion function.

func Convert_kubeone_StaticAuditLogConfig_To_v1beta1_StaticAuditLogConfig

func Convert_kubeone_StaticAuditLogConfig_To_v1beta1_StaticAuditLogConfig(in *kubeone.StaticAuditLogConfig, out *StaticAuditLogConfig, s conversion.Scope) error

Convert_kubeone_StaticAuditLogConfig_To_v1beta1_StaticAuditLogConfig is an autogenerated conversion function.

func Convert_kubeone_StaticAuditLog_To_v1beta1_StaticAuditLog

func Convert_kubeone_StaticAuditLog_To_v1beta1_StaticAuditLog(in *kubeone.StaticAuditLog, out *StaticAuditLog, s conversion.Scope) error

Convert_kubeone_StaticAuditLog_To_v1beta1_StaticAuditLog is an autogenerated conversion function.

func Convert_kubeone_StaticWorkersConfig_To_v1beta1_StaticWorkersConfig

func Convert_kubeone_StaticWorkersConfig_To_v1beta1_StaticWorkersConfig(in *kubeone.StaticWorkersConfig, out *StaticWorkersConfig, s conversion.Scope) error

Convert_kubeone_StaticWorkersConfig_To_v1beta1_StaticWorkersConfig is an autogenerated conversion function.

func Convert_kubeone_SystemPackages_To_v1beta1_SystemPackages

func Convert_kubeone_SystemPackages_To_v1beta1_SystemPackages(in *kubeone.SystemPackages, out *SystemPackages, s conversion.Scope) error

Convert_kubeone_SystemPackages_To_v1beta1_SystemPackages is an autogenerated conversion function.

func Convert_kubeone_VersionConfig_To_v1beta1_VersionConfig

func Convert_kubeone_VersionConfig_To_v1beta1_VersionConfig(in *kubeone.VersionConfig, out *VersionConfig, s conversion.Scope) error

Convert_kubeone_VersionConfig_To_v1beta1_VersionConfig is an autogenerated conversion function.

func Convert_kubeone_VsphereSpec_To_v1beta1_VsphereSpec

func Convert_kubeone_VsphereSpec_To_v1beta1_VsphereSpec(in *kubeone.VsphereSpec, out *VsphereSpec, s conversion.Scope) error

Convert_kubeone_VsphereSpec_To_v1beta1_VsphereSpec is an autogenerated conversion function.

func Convert_kubeone_WeaveNetSpec_To_v1beta1_WeaveNetSpec

func Convert_kubeone_WeaveNetSpec_To_v1beta1_WeaveNetSpec(in *kubeone.WeaveNetSpec, out *WeaveNetSpec, s conversion.Scope) error

Convert_kubeone_WeaveNetSpec_To_v1beta1_WeaveNetSpec is an autogenerated conversion function.

func Convert_v1beta1_APIEndpoint_To_kubeone_APIEndpoint

func Convert_v1beta1_APIEndpoint_To_kubeone_APIEndpoint(in *APIEndpoint, out *kubeone.APIEndpoint, s conversion.Scope) error

Convert_v1beta1_APIEndpoint_To_kubeone_APIEndpoint is an autogenerated conversion function.

func Convert_v1beta1_AWSSpec_To_kubeone_AWSSpec

func Convert_v1beta1_AWSSpec_To_kubeone_AWSSpec(in *AWSSpec, out *kubeone.AWSSpec, s conversion.Scope) error

Convert_v1beta1_AWSSpec_To_kubeone_AWSSpec is an autogenerated conversion function.

func Convert_v1beta1_Addons_To_kubeone_Addons

func Convert_v1beta1_Addons_To_kubeone_Addons(in *Addons, out *kubeone.Addons, s conversion.Scope) error

Convert_v1beta1_Addons_To_kubeone_Addons is an autogenerated conversion function.

func Convert_v1beta1_AzureSpec_To_kubeone_AzureSpec

func Convert_v1beta1_AzureSpec_To_kubeone_AzureSpec(in *AzureSpec, out *kubeone.AzureSpec, s conversion.Scope) error

Convert_v1beta1_AzureSpec_To_kubeone_AzureSpec is an autogenerated conversion function.

func Convert_v1beta1_CNI_To_kubeone_CNI

func Convert_v1beta1_CNI_To_kubeone_CNI(in *CNI, out *kubeone.CNI, s conversion.Scope) error

Convert_v1beta1_CNI_To_kubeone_CNI is an autogenerated conversion function.

func Convert_v1beta1_CanalSpec_To_kubeone_CanalSpec

func Convert_v1beta1_CanalSpec_To_kubeone_CanalSpec(in *CanalSpec, out *kubeone.CanalSpec, s conversion.Scope) error

Convert_v1beta1_CanalSpec_To_kubeone_CanalSpec is an autogenerated conversion function.

func Convert_v1beta1_CloudProviderSpec_To_kubeone_CloudProviderSpec

func Convert_v1beta1_CloudProviderSpec_To_kubeone_CloudProviderSpec(in *CloudProviderSpec, out *kubeone.CloudProviderSpec, s conversion.Scope) error

Convert_v1beta1_CloudProviderSpec_To_kubeone_CloudProviderSpec is an autogenerated conversion function.

func Convert_v1beta1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig

func Convert_v1beta1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig(in *ClusterNetworkConfig, out *kubeone.ClusterNetworkConfig, s conversion.Scope) error

Convert_v1beta1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig is an autogenerated conversion function.

func Convert_v1beta1_ControlPlaneConfig_To_kubeone_ControlPlaneConfig

func Convert_v1beta1_ControlPlaneConfig_To_kubeone_ControlPlaneConfig(in *ControlPlaneConfig, out *kubeone.ControlPlaneConfig, s conversion.Scope) error

Convert_v1beta1_ControlPlaneConfig_To_kubeone_ControlPlaneConfig is an autogenerated conversion function.

func Convert_v1beta1_DNSConfig_To_kubeone_DNSConfig

func Convert_v1beta1_DNSConfig_To_kubeone_DNSConfig(in *DNSConfig, out *kubeone.DNSConfig, s conversion.Scope) error

Convert_v1beta1_DNSConfig_To_kubeone_DNSConfig is an autogenerated conversion function.

func Convert_v1beta1_DigitalOceanSpec_To_kubeone_DigitalOceanSpec

func Convert_v1beta1_DigitalOceanSpec_To_kubeone_DigitalOceanSpec(in *DigitalOceanSpec, out *kubeone.DigitalOceanSpec, s conversion.Scope) error

Convert_v1beta1_DigitalOceanSpec_To_kubeone_DigitalOceanSpec is an autogenerated conversion function.

func Convert_v1beta1_DynamicAuditLog_To_kubeone_DynamicAuditLog

func Convert_v1beta1_DynamicAuditLog_To_kubeone_DynamicAuditLog(in *DynamicAuditLog, out *kubeone.DynamicAuditLog, s conversion.Scope) error

Convert_v1beta1_DynamicAuditLog_To_kubeone_DynamicAuditLog is an autogenerated conversion function.

func Convert_v1beta1_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig

func Convert_v1beta1_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig(in *DynamicWorkerConfig, out *kubeone.DynamicWorkerConfig, s conversion.Scope) error

Convert_v1beta1_DynamicWorkerConfig_To_kubeone_DynamicWorkerConfig is an autogenerated conversion function.

func Convert_v1beta1_ExternalCNISpec_To_kubeone_ExternalCNISpec

func Convert_v1beta1_ExternalCNISpec_To_kubeone_ExternalCNISpec(in *ExternalCNISpec, out *kubeone.ExternalCNISpec, s conversion.Scope) error

Convert_v1beta1_ExternalCNISpec_To_kubeone_ExternalCNISpec is an autogenerated conversion function.

func Convert_v1beta1_Features_To_kubeone_Features

func Convert_v1beta1_Features_To_kubeone_Features(in *Features, out *kubeone.Features, s conversion.Scope) error

Convert_v1beta1_Features_To_kubeone_Features is an autogenerated conversion function.

func Convert_v1beta1_GCESpec_To_kubeone_GCESpec

func Convert_v1beta1_GCESpec_To_kubeone_GCESpec(in *GCESpec, out *kubeone.GCESpec, s conversion.Scope) error

Convert_v1beta1_GCESpec_To_kubeone_GCESpec is an autogenerated conversion function.

func Convert_v1beta1_HetznerSpec_To_kubeone_HetznerSpec

func Convert_v1beta1_HetznerSpec_To_kubeone_HetznerSpec(in *HetznerSpec, out *kubeone.HetznerSpec, s conversion.Scope) error

Convert_v1beta1_HetznerSpec_To_kubeone_HetznerSpec is an autogenerated conversion function.

func Convert_v1beta1_HostConfig_To_kubeone_HostConfig

func Convert_v1beta1_HostConfig_To_kubeone_HostConfig(in *HostConfig, out *kubeone.HostConfig, s conversion.Scope) error

Convert_v1beta1_HostConfig_To_kubeone_HostConfig is an autogenerated conversion function.

func Convert_v1beta1_KubeOneCluster_To_kubeone_KubeOneCluster

func Convert_v1beta1_KubeOneCluster_To_kubeone_KubeOneCluster(in *KubeOneCluster, out *kubeone.KubeOneCluster, s conversion.Scope) error

Convert_v1beta1_KubeOneCluster_To_kubeone_KubeOneCluster is an autogenerated conversion function.

func Convert_v1beta1_MachineControllerConfig_To_kubeone_MachineControllerConfig

func Convert_v1beta1_MachineControllerConfig_To_kubeone_MachineControllerConfig(in *MachineControllerConfig, out *kubeone.MachineControllerConfig, s conversion.Scope) error

Convert_v1beta1_MachineControllerConfig_To_kubeone_MachineControllerConfig is an autogenerated conversion function.

func Convert_v1beta1_MetricsServer_To_kubeone_MetricsServer

func Convert_v1beta1_MetricsServer_To_kubeone_MetricsServer(in *MetricsServer, out *kubeone.MetricsServer, s conversion.Scope) error

Convert_v1beta1_MetricsServer_To_kubeone_MetricsServer is an autogenerated conversion function.

func Convert_v1beta1_NoneSpec_To_kubeone_NoneSpec

func Convert_v1beta1_NoneSpec_To_kubeone_NoneSpec(in *NoneSpec, out *kubeone.NoneSpec, s conversion.Scope) error

Convert_v1beta1_NoneSpec_To_kubeone_NoneSpec is an autogenerated conversion function.

func Convert_v1beta1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig

func Convert_v1beta1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig(in *OpenIDConnectConfig, out *kubeone.OpenIDConnectConfig, s conversion.Scope) error

Convert_v1beta1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_v1beta1_OpenIDConnect_To_kubeone_OpenIDConnect

func Convert_v1beta1_OpenIDConnect_To_kubeone_OpenIDConnect(in *OpenIDConnect, out *kubeone.OpenIDConnect, s conversion.Scope) error

Convert_v1beta1_OpenIDConnect_To_kubeone_OpenIDConnect is an autogenerated conversion function.

func Convert_v1beta1_OpenstackSpec_To_kubeone_OpenstackSpec

func Convert_v1beta1_OpenstackSpec_To_kubeone_OpenstackSpec(in *OpenstackSpec, out *kubeone.OpenstackSpec, s conversion.Scope) error

Convert_v1beta1_OpenstackSpec_To_kubeone_OpenstackSpec is an autogenerated conversion function.

func Convert_v1beta1_PacketSpec_To_kubeone_PacketSpec

func Convert_v1beta1_PacketSpec_To_kubeone_PacketSpec(in *PacketSpec, out *kubeone.PacketSpec, s conversion.Scope) error

Convert_v1beta1_PacketSpec_To_kubeone_PacketSpec is an autogenerated conversion function.

func Convert_v1beta1_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig

func Convert_v1beta1_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig(in *PodNodeSelectorConfig, out *kubeone.PodNodeSelectorConfig, s conversion.Scope) error

Convert_v1beta1_PodNodeSelectorConfig_To_kubeone_PodNodeSelectorConfig is an autogenerated conversion function.

func Convert_v1beta1_PodNodeSelector_To_kubeone_PodNodeSelector

func Convert_v1beta1_PodNodeSelector_To_kubeone_PodNodeSelector(in *PodNodeSelector, out *kubeone.PodNodeSelector, s conversion.Scope) error

Convert_v1beta1_PodNodeSelector_To_kubeone_PodNodeSelector is an autogenerated conversion function.

func Convert_v1beta1_PodPresets_To_kubeone_PodPresets

func Convert_v1beta1_PodPresets_To_kubeone_PodPresets(in *PodPresets, out *kubeone.PodPresets, s conversion.Scope) error

Convert_v1beta1_PodPresets_To_kubeone_PodPresets is an autogenerated conversion function.

func Convert_v1beta1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy

func Convert_v1beta1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy(in *PodSecurityPolicy, out *kubeone.PodSecurityPolicy, s conversion.Scope) error

Convert_v1beta1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy is an autogenerated conversion function.

func Convert_v1beta1_ProviderSpec_To_kubeone_ProviderSpec

func Convert_v1beta1_ProviderSpec_To_kubeone_ProviderSpec(in *ProviderSpec, out *kubeone.ProviderSpec, s conversion.Scope) error

Convert_v1beta1_ProviderSpec_To_kubeone_ProviderSpec is an autogenerated conversion function.

func Convert_v1beta1_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig

func Convert_v1beta1_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig(in *ProviderStaticNetworkConfig, out *kubeone.ProviderStaticNetworkConfig, s conversion.Scope) error

Convert_v1beta1_ProviderStaticNetworkConfig_To_kubeone_ProviderStaticNetworkConfig is an autogenerated conversion function.

func Convert_v1beta1_ProxyConfig_To_kubeone_ProxyConfig

func Convert_v1beta1_ProxyConfig_To_kubeone_ProxyConfig(in *ProxyConfig, out *kubeone.ProxyConfig, s conversion.Scope) error

Convert_v1beta1_ProxyConfig_To_kubeone_ProxyConfig is an autogenerated conversion function.

func Convert_v1beta1_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig

func Convert_v1beta1_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig(in *StaticAuditLogConfig, out *kubeone.StaticAuditLogConfig, s conversion.Scope) error

Convert_v1beta1_StaticAuditLogConfig_To_kubeone_StaticAuditLogConfig is an autogenerated conversion function.

func Convert_v1beta1_StaticAuditLog_To_kubeone_StaticAuditLog

func Convert_v1beta1_StaticAuditLog_To_kubeone_StaticAuditLog(in *StaticAuditLog, out *kubeone.StaticAuditLog, s conversion.Scope) error

Convert_v1beta1_StaticAuditLog_To_kubeone_StaticAuditLog is an autogenerated conversion function.

func Convert_v1beta1_StaticWorkersConfig_To_kubeone_StaticWorkersConfig

func Convert_v1beta1_StaticWorkersConfig_To_kubeone_StaticWorkersConfig(in *StaticWorkersConfig, out *kubeone.StaticWorkersConfig, s conversion.Scope) error

Convert_v1beta1_StaticWorkersConfig_To_kubeone_StaticWorkersConfig is an autogenerated conversion function.

func Convert_v1beta1_SystemPackages_To_kubeone_SystemPackages

func Convert_v1beta1_SystemPackages_To_kubeone_SystemPackages(in *SystemPackages, out *kubeone.SystemPackages, s conversion.Scope) error

Convert_v1beta1_SystemPackages_To_kubeone_SystemPackages is an autogenerated conversion function.

func Convert_v1beta1_VersionConfig_To_kubeone_VersionConfig

func Convert_v1beta1_VersionConfig_To_kubeone_VersionConfig(in *VersionConfig, out *kubeone.VersionConfig, s conversion.Scope) error

Convert_v1beta1_VersionConfig_To_kubeone_VersionConfig is an autogenerated conversion function.

func Convert_v1beta1_VsphereSpec_To_kubeone_VsphereSpec

func Convert_v1beta1_VsphereSpec_To_kubeone_VsphereSpec(in *VsphereSpec, out *kubeone.VsphereSpec, s conversion.Scope) error

Convert_v1beta1_VsphereSpec_To_kubeone_VsphereSpec is an autogenerated conversion function.

func Convert_v1beta1_WeaveNetSpec_To_kubeone_WeaveNetSpec

func Convert_v1beta1_WeaveNetSpec_To_kubeone_WeaveNetSpec(in *WeaveNetSpec, out *kubeone.WeaveNetSpec, s conversion.Scope) error

Convert_v1beta1_WeaveNetSpec_To_kubeone_WeaveNetSpec is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns GroupResource

func SetCloudProvider

func SetCloudProvider(cp *CloudProviderSpec, name string) error

SetCloudProvider parses the string representation of the provider name and sets the appropriate CloudProviderSpec field.

func SetDefaults_APIEndpoints

func SetDefaults_APIEndpoints(obj *KubeOneCluster)

func SetDefaults_Addons

func SetDefaults_Addons(obj *KubeOneCluster)

func SetDefaults_ClusterNetwork

func SetDefaults_ClusterNetwork(obj *KubeOneCluster)

func SetDefaults_Features

func SetDefaults_Features(obj *KubeOneCluster)

func SetDefaults_Hosts

func SetDefaults_Hosts(obj *KubeOneCluster)

func SetDefaults_KubeOneCluster

func SetDefaults_KubeOneCluster(obj *KubeOneCluster)

func SetDefaults_MachineController

func SetDefaults_MachineController(obj *KubeOneCluster)

func SetDefaults_Proxy

func SetDefaults_Proxy(obj *KubeOneCluster)

func SetDefaults_SystemPackages

func SetDefaults_SystemPackages(obj *KubeOneCluster)

func SetDefaults_Versions

func SetDefaults_Versions(obj *KubeOneCluster)

func SetObjectDefaults_KubeOneCluster

func SetObjectDefaults_KubeOneCluster(in *KubeOneCluster)

Types

type APIEndpoint

type APIEndpoint struct {
	// Host is the hostname on which API is running
	Host string `json:"host"`

	// Port is the port used to reach to the API
	Port int `json:"port"`
}

APIEndpoint is the endpoint used to communicate with the Kubernetes API

func (*APIEndpoint) DeepCopy

func (in *APIEndpoint) DeepCopy() *APIEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.

func (*APIEndpoint) DeepCopyInto

func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSSpec

type AWSSpec struct{}

AWSSpec defines the AWS cloud provider

func (*AWSSpec) DeepCopy

func (in *AWSSpec) DeepCopy() *AWSSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSSpec.

func (*AWSSpec) DeepCopyInto

func (in *AWSSpec) DeepCopyInto(out *AWSSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Addons

type Addons struct {
	Enable bool `json:"enable"`
	// Path on the local file system to the directory with addons manifests.
	Path string `json:"path"`
}

Addons config

func (*Addons) DeepCopy

func (in *Addons) DeepCopy() *Addons

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addons.

func (*Addons) DeepCopyInto

func (in *Addons) DeepCopyInto(out *Addons)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSpec

type AzureSpec struct{}

AzureSpec defines the Azure cloud provider

func (*AzureSpec) DeepCopy

func (in *AzureSpec) DeepCopy() *AzureSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSpec.

func (*AzureSpec) DeepCopyInto

func (in *AzureSpec) DeepCopyInto(out *AzureSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CNI

type CNI struct {
	Canal    *CanalSpec       `json:"canal"`
	WeaveNet *WeaveNetSpec    `json:"weaveNet"`
	External *ExternalCNISpec `json:"external"`
}

CNI config. Only one CNI provider must be used at the single time.

func (*CNI) DeepCopy

func (in *CNI) DeepCopy() *CNI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNI.

func (*CNI) DeepCopyInto

func (in *CNI) DeepCopyInto(out *CNI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CanalSpec

type CanalSpec struct {
	MTU int `json:"mtu"`
}

CanalSpec defines the Canal CNI plugin

func (*CanalSpec) DeepCopy

func (in *CanalSpec) DeepCopy() *CanalSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanalSpec.

func (*CanalSpec) DeepCopyInto

func (in *CanalSpec) DeepCopyInto(out *CanalSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudProviderSpec

type CloudProviderSpec struct {
	External     bool              `json:"external"`
	CloudConfig  string            `json:"cloudConfig"`
	AWS          *AWSSpec          `json:"aws"`
	Azure        *AzureSpec        `json:"azure"`
	DigitalOcean *DigitalOceanSpec `json:"digitalocean"`
	GCE          *GCESpec          `json:"gce"`
	Hetzner      *HetznerSpec      `json:"hetzner"`
	Openstack    *OpenstackSpec    `json:"openstack"`
	Packet       *PacketSpec       `json:"packet"`
	Vsphere      *VsphereSpec      `json:"vsphere"`
	None         *NoneSpec         `json:"none"`
}

CloudProviderSpec describes the cloud provider that is running the machines. Only one cloud provider must be defined at the single time.

func (*CloudProviderSpec) DeepCopy

func (in *CloudProviderSpec) DeepCopy() *CloudProviderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderSpec.

func (*CloudProviderSpec) DeepCopyInto

func (in *CloudProviderSpec) DeepCopyInto(out *CloudProviderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterNetworkConfig

type ClusterNetworkConfig struct {
	PodSubnet         string `json:"podSubnet"`
	ServiceSubnet     string `json:"serviceSubnet"`
	ServiceDomainName string `json:"serviceDomainName"`
	NodePortRange     string `json:"nodePortRange"`
	CNI               *CNI   `json:"cni,omitempty"`
}

ClusterNetworkConfig describes the cluster network

func (*ClusterNetworkConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkConfig.

func (*ClusterNetworkConfig) DeepCopyInto

func (in *ClusterNetworkConfig) DeepCopyInto(out *ClusterNetworkConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControlPlaneConfig

type ControlPlaneConfig struct {
	Hosts []HostConfig `json:"hosts"`
}

ControlPlaneConfig defines control plane nodes

func (*ControlPlaneConfig) DeepCopy

func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfig.

func (*ControlPlaneConfig) DeepCopyInto

func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DNSConfig

type DNSConfig struct {
	Servers []string `json:"servers"`
}

DNSConfig contains a machine's DNS configuration

func (*DNSConfig) DeepCopy

func (in *DNSConfig) DeepCopy() *DNSConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfig.

func (*DNSConfig) DeepCopyInto

func (in *DNSConfig) DeepCopyInto(out *DNSConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DigitalOceanSpec

type DigitalOceanSpec struct{}

DigitalOceanSpec defines the DigitalOcean cloud provider

func (*DigitalOceanSpec) DeepCopy

func (in *DigitalOceanSpec) DeepCopy() *DigitalOceanSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigitalOceanSpec.

func (*DigitalOceanSpec) DeepCopyInto

func (in *DigitalOceanSpec) DeepCopyInto(out *DigitalOceanSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicAuditLog

type DynamicAuditLog struct {
	Enable bool `json:"enable"`
}

DynamicAuditLog feature flag

func (*DynamicAuditLog) DeepCopy

func (in *DynamicAuditLog) DeepCopy() *DynamicAuditLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicAuditLog.

func (*DynamicAuditLog) DeepCopyInto

func (in *DynamicAuditLog) DeepCopyInto(out *DynamicAuditLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicWorkerConfig

type DynamicWorkerConfig struct {
	Name     string       `json:"name"`
	Replicas *int         `json:"replicas"`
	Config   ProviderSpec `json:"providerSpec"`
}

DynamicWorkerConfig describes a set of worker machines

func (*DynamicWorkerConfig) DeepCopy

func (in *DynamicWorkerConfig) DeepCopy() *DynamicWorkerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicWorkerConfig.

func (*DynamicWorkerConfig) DeepCopyInto

func (in *DynamicWorkerConfig) DeepCopyInto(out *DynamicWorkerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExternalCNISpec

type ExternalCNISpec struct{}

ExternalCNISpec defines the external CNI plugin. It's up to the user's responsibility to deploy the external CNI plugin manually or as an addon

func (*ExternalCNISpec) DeepCopy

func (in *ExternalCNISpec) DeepCopy() *ExternalCNISpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalCNISpec.

func (*ExternalCNISpec) DeepCopyInto

func (in *ExternalCNISpec) DeepCopyInto(out *ExternalCNISpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Features

type Features struct {
	PodNodeSelector   *PodNodeSelector   `json:"podNodeSelector"`
	PodPresets        *PodPresets        `json:"podPresets"`
	PodSecurityPolicy *PodSecurityPolicy `json:"podSecurityPolicy"`
	StaticAuditLog    *StaticAuditLog    `json:"staticAuditLog"`
	DynamicAuditLog   *DynamicAuditLog   `json:"dynamicAuditLog"`
	MetricsServer     *MetricsServer     `json:"metricsServer"`
	OpenIDConnect     *OpenIDConnect     `json:"openidConnect"`
}

Features controls what features will be enabled on the cluster

func (*Features) DeepCopy

func (in *Features) DeepCopy() *Features

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.

func (*Features) DeepCopyInto

func (in *Features) DeepCopyInto(out *Features)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCESpec

type GCESpec struct{}

GCESpec defines the GCE cloud provider

func (*GCESpec) DeepCopy

func (in *GCESpec) DeepCopy() *GCESpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCESpec.

func (*GCESpec) DeepCopyInto

func (in *GCESpec) DeepCopyInto(out *GCESpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HetznerSpec

type HetznerSpec struct {
	NetworkID string `json:"networkID"`
}

HetznerSpec defines the Hetzner cloud provider

func (*HetznerSpec) DeepCopy

func (in *HetznerSpec) DeepCopy() *HetznerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HetznerSpec.

func (*HetznerSpec) DeepCopyInto

func (in *HetznerSpec) DeepCopyInto(out *HetznerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HostConfig

type HostConfig struct {
	ID                int    `json:"-"`
	PublicAddress     string `json:"publicAddress"`
	PrivateAddress    string `json:"privateAddress"`
	SSHPort           int    `json:"sshPort"`
	SSHUsername       string `json:"sshUsername"`
	SSHPrivateKeyFile string `json:"sshPrivateKeyFile"`
	SSHAgentSocket    string `json:"sshAgentSocket"`
	Bastion           string `json:"bastion"`
	BastionPort       int    `json:"bastionPort"`
	BastionUser       string `json:"bastionUser"`
	Hostname          string `json:"hostname"`
	IsLeader          bool   `json:"isLeader"`

	// If not provided (i.e. nil) defaults to TaintEffectNoSchedule, with key
	// node-role.kubernetes.io/master for control plane nodes.
	//
	// Explicitly empty (i.e. []corev1.Taint{}) means no taints will be applied
	// (this is default for worker nodes).
	Taints []corev1.Taint `json:"taints,omitempty"`

	// Information populated at the runtime
	OperatingSystem OperatingSystemName `json:"-"`
}

HostConfig describes a single control plane node.

func (*HostConfig) DeepCopy

func (in *HostConfig) DeepCopy() *HostConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostConfig.

func (*HostConfig) DeepCopyInto

func (in *HostConfig) DeepCopyInto(out *HostConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeOneCluster

type KubeOneCluster struct {
	metav1.TypeMeta `json:",inline"`

	// Name is the name of the cluster
	Name string `json:"name"`
	// ControlPlane describes the control plane nodes and how to access them
	ControlPlane ControlPlaneConfig `json:"controlPlane,omitempty"`
	// APIEndpoint are pairs of address and port used to communicate with the Kubernetes API
	APIEndpoint APIEndpoint `json:"apiEndpoint,omitempty"`
	// CloudProvider configures the cloud provider specific features
	CloudProvider CloudProviderSpec `json:"cloudProvider,omitempty"`
	// Versions defines which Kubernetes version will be installed
	Versions VersionConfig `json:"versions,omitempty"`
	// ClusterNetwork configures the in-cluster networking
	ClusterNetwork ClusterNetworkConfig `json:"clusterNetwork,omitempty"`
	// Proxy configures proxy used while installing Kubernetes and by the Docker daemon
	Proxy ProxyConfig `json:"proxy,omitempty"`
	// StaticWorkers describes the worker nodes that are managed by KubeOne/kubeadm
	StaticWorkers StaticWorkersConfig `json:"staticWorkers,omitempty"`
	// DynamicWorkers describes the worker nodes that are managed by
	// Kubermatic machine-controller/Cluster-API
	DynamicWorkers []DynamicWorkerConfig `json:"dynamicWorkers,omitempty"`
	// MachineController configures the Kubermatic machine-controller component
	MachineController *MachineControllerConfig `json:"machineController,omitempty"`
	// Features enables and configures additional cluster features
	Features Features `json:"features,omitempty"`
	// Addons are used to deploy additional manifests
	Addons *Addons `json:"addons,omitempty"`
	// SystemPackages configure kubeone behaviour regarding OS packages
	SystemPackages *SystemPackages `json:"systemPackages,omitempty"`
}

KubeOneCluster is KubeOne Cluster API Schema

func (*KubeOneCluster) DeepCopy

func (in *KubeOneCluster) DeepCopy() *KubeOneCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeOneCluster.

func (*KubeOneCluster) DeepCopyInto

func (in *KubeOneCluster) DeepCopyInto(out *KubeOneCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubeOneCluster) DeepCopyObject

func (in *KubeOneCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineControllerConfig

type MachineControllerConfig struct {
	Deploy bool `json:"deploy"`
}

MachineControllerConfig configures kubermatic machine-controller deployment

func (*MachineControllerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineControllerConfig.

func (*MachineControllerConfig) DeepCopyInto

func (in *MachineControllerConfig) DeepCopyInto(out *MachineControllerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricsServer

type MetricsServer struct {
	Enable bool `json:"enable"`
}

MetricsServer feature flag

func (*MetricsServer) DeepCopy

func (in *MetricsServer) DeepCopy() *MetricsServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsServer.

func (*MetricsServer) DeepCopyInto

func (in *MetricsServer) DeepCopyInto(out *MetricsServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NoneSpec

type NoneSpec struct{}

NoneSpec defines a none provider

func (*NoneSpec) DeepCopy

func (in *NoneSpec) DeepCopy() *NoneSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoneSpec.

func (*NoneSpec) DeepCopyInto

func (in *NoneSpec) DeepCopyInto(out *NoneSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenIDConnect

type OpenIDConnect struct {
	Enable bool                `json:"enable"`
	Config OpenIDConnectConfig `json:"config"`
}

OpenIDConnect feature flag

func (*OpenIDConnect) DeepCopy

func (in *OpenIDConnect) DeepCopy() *OpenIDConnect

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnect.

func (*OpenIDConnect) DeepCopyInto

func (in *OpenIDConnect) DeepCopyInto(out *OpenIDConnect)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenIDConnectConfig

type OpenIDConnectConfig struct {
	IssuerURL      string `json:"issuerUrl"`
	ClientID       string `json:"clientId"`
	UsernameClaim  string `json:"usernameClaim"`
	UsernamePrefix string `json:"usernamePrefix"`
	GroupsClaim    string `json:"groupsClaim"`
	GroupsPrefix   string `json:"groupsPrefix"`
	RequiredClaim  string `json:"requiredClaim"`
	SigningAlgs    string `json:"signingAlgs"`
	CAFile         string `json:"caFile"`
}

OpenIDConnectConfig config

func (*OpenIDConnectConfig) DeepCopy

func (in *OpenIDConnectConfig) DeepCopy() *OpenIDConnectConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnectConfig.

func (*OpenIDConnectConfig) DeepCopyInto

func (in *OpenIDConnectConfig) DeepCopyInto(out *OpenIDConnectConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenstackSpec

type OpenstackSpec struct{}

OpenstackSpec defines the Openstack provider

func (*OpenstackSpec) DeepCopy

func (in *OpenstackSpec) DeepCopy() *OpenstackSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackSpec.

func (*OpenstackSpec) DeepCopyInto

func (in *OpenstackSpec) DeepCopyInto(out *OpenstackSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OperatingSystemName

type OperatingSystemName string

OperatingSystemName defines the operating system used on instances

var (
	OperatingSystemNameUbuntu  OperatingSystemName = "ubuntu"
	OperatingSystemNameCentOS  OperatingSystemName = "centos"
	OperatingSystemNameRHEL    OperatingSystemName = "rhel"
	OperatingSystemNameCoreOS  OperatingSystemName = "coreos"
	OperatingSystemNameFlatcar OperatingSystemName = "flatcar"
	OperatingSystemNameUnknown OperatingSystemName = ""
)

type PacketSpec

type PacketSpec struct{}

PacketSpec defines the Packet cloud provider

func (*PacketSpec) DeepCopy

func (in *PacketSpec) DeepCopy() *PacketSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketSpec.

func (*PacketSpec) DeepCopyInto

func (in *PacketSpec) DeepCopyInto(out *PacketSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodNodeSelector

type PodNodeSelector struct {
	Enable bool                  `json:"enable"`
	Config PodNodeSelectorConfig `json:"config"`
}

PodNodeSelector feature flag

func (*PodNodeSelector) DeepCopy

func (in *PodNodeSelector) DeepCopy() *PodNodeSelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNodeSelector.

func (*PodNodeSelector) DeepCopyInto

func (in *PodNodeSelector) DeepCopyInto(out *PodNodeSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodNodeSelectorConfig

type PodNodeSelectorConfig struct {
	// ConfigFilePath is a path on the local file system to the PodNodeSelector
	// configuration file.
	// ConfigFilePath is a required field.
	// More info: https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#podnodeselector
	ConfigFilePath string `json:"configFilePath"`
}

PodNodeSelectorConfig config

func (*PodNodeSelectorConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodNodeSelectorConfig.

func (*PodNodeSelectorConfig) DeepCopyInto

func (in *PodNodeSelectorConfig) DeepCopyInto(out *PodNodeSelectorConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodPresets

type PodPresets struct {
	Enable bool `json:"enable"`
}

PodPresets feature flag

func (*PodPresets) DeepCopy

func (in *PodPresets) DeepCopy() *PodPresets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresets.

func (*PodPresets) DeepCopyInto

func (in *PodPresets) DeepCopyInto(out *PodPresets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodSecurityPolicy

type PodSecurityPolicy struct {
	Enable bool `json:"enable"`
}

PodSecurityPolicy feature flag

func (*PodSecurityPolicy) DeepCopy

func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy.

func (*PodSecurityPolicy) DeepCopyInto

func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderSpec

type ProviderSpec struct {
	CloudProviderSpec   json.RawMessage   `json:"cloudProviderSpec"`
	Labels              map[string]string `json:"labels,omitempty"`
	Taints              []corev1.Taint    `json:"taints,omitempty"`
	SSHPublicKeys       []string          `json:"sshPublicKeys,omitempty"`
	OperatingSystem     string            `json:"operatingSystem"`
	OperatingSystemSpec json.RawMessage   `json:"operatingSystemSpec"`

	// +optional
	Network *ProviderStaticNetworkConfig `json:"network,omitempty"`

	// +optional
	OverwriteCloudConfig *string `json:"overwriteCloudConfig,omitempty"`
}

ProviderSpec describes a worker node

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec.

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderStaticNetworkConfig

type ProviderStaticNetworkConfig struct {
	CIDR    string    `json:"cidr"`
	Gateway string    `json:"gateway"`
	DNS     DNSConfig `json:"dns"`
}

ProviderStaticNetworkConfig contains a machine's static network configuration

func (*ProviderStaticNetworkConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStaticNetworkConfig.

func (*ProviderStaticNetworkConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxyConfig

type ProxyConfig struct {
	HTTP    string `json:"http"`
	HTTPS   string `json:"https"`
	NoProxy string `json:"noProxy"`
}

ProxyConfig configures proxy for the Docker daemon and is used by KubeOne scripts

func (*ProxyConfig) DeepCopy

func (in *ProxyConfig) DeepCopy() *ProxyConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfig.

func (*ProxyConfig) DeepCopyInto

func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StaticAuditLog

type StaticAuditLog struct {
	Enable bool                 `json:"enable"`
	Config StaticAuditLogConfig `json:"config"`
}

StaticAuditLog feature flag

func (*StaticAuditLog) DeepCopy

func (in *StaticAuditLog) DeepCopy() *StaticAuditLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticAuditLog.

func (*StaticAuditLog) DeepCopyInto

func (in *StaticAuditLog) DeepCopyInto(out *StaticAuditLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StaticAuditLogConfig

type StaticAuditLogConfig struct {
	// PolicyFilePath is a path on local file system to the audit policy manifest
	// which defines what events should be recorded and what data they should include.
	// PolicyFilePath is a required field.
	// More info: https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#audit-policy
	PolicyFilePath string `json:"policyFilePath"`
	// LogPath is path on control plane instances where audit log files are stored.
	// Default value is /var/log/kubernetes/audit.log
	LogPath string `json:"logPath"`
	// LogMaxAge is maximum number of days to retain old audit log files.
	// Default value is 30
	LogMaxAge int `json:"logMaxAge"`
	// LogMaxBackup is maximum number of audit log files to retain.
	// Default value is 3
	LogMaxBackup int `json:"logMaxBackup"`
	// LogMaxSize is maximum size in megabytes of audit log file before it gets rotated.
	// Default value is 100
	LogMaxSize int `json:"logMaxSize"`
}

StaticAuditLogConfig config

func (*StaticAuditLogConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticAuditLogConfig.

func (*StaticAuditLogConfig) DeepCopyInto

func (in *StaticAuditLogConfig) DeepCopyInto(out *StaticAuditLogConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StaticWorkersConfig

type StaticWorkersConfig struct {
	Hosts []HostConfig `json:"hosts"`
}

StaticWorkersConfig defines static worker nodes provisioned by KubeOne and kubeadm

func (*StaticWorkersConfig) DeepCopy

func (in *StaticWorkersConfig) DeepCopy() *StaticWorkersConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticWorkersConfig.

func (*StaticWorkersConfig) DeepCopyInto

func (in *StaticWorkersConfig) DeepCopyInto(out *StaticWorkersConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SystemPackages

type SystemPackages struct {
	// ConfigureRepositories (true by default) is a flag to control automatic
	// configuration of kubeadm / docker repositories.
	ConfigureRepositories bool `json:"configureRepositories"`
}

SystemPackages controls configurations of APT/YUM

func (*SystemPackages) DeepCopy

func (in *SystemPackages) DeepCopy() *SystemPackages

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemPackages.

func (*SystemPackages) DeepCopyInto

func (in *SystemPackages) DeepCopyInto(out *SystemPackages)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VersionConfig

type VersionConfig struct {
	Kubernetes string `json:"kubernetes"`
}

VersionConfig describes the versions of components that are installed on the machines

func (*VersionConfig) DeepCopy

func (in *VersionConfig) DeepCopy() *VersionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionConfig.

func (*VersionConfig) DeepCopyInto

func (in *VersionConfig) DeepCopyInto(out *VersionConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VsphereSpec

type VsphereSpec struct{}

VsphereSpec defines the vSphere provider

func (*VsphereSpec) DeepCopy

func (in *VsphereSpec) DeepCopy() *VsphereSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereSpec.

func (*VsphereSpec) DeepCopyInto

func (in *VsphereSpec) DeepCopyInto(out *VsphereSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WeaveNetSpec

type WeaveNetSpec struct {
	Encrypted bool `json:"encrypted"`
}

WeaveNetSpec defines the WeaveNet CNI plugin

func (*WeaveNetSpec) DeepCopy

func (in *WeaveNetSpec) DeepCopy() *WeaveNetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeaveNetSpec.

func (*WeaveNetSpec) DeepCopyInto

func (in *WeaveNetSpec) DeepCopyInto(out *WeaveNetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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