v1alpha1

package
v0.7.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 defines the v1alpha1 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"
)
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: "v1alpha1"}

SchemeGroupVersion is group version used to register API objects

Functions

func Convert_kubeone_APIEndpoint_To_v1alpha1_APIEndpoint

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

Convert_kubeone_APIEndpoint_To_v1alpha1_APIEndpoint is an autogenerated conversion function.

func Convert_kubeone_CNI_To_v1alpha1_CNI added in v0.7.0

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

Convert_kubeone_CNI_To_v1alpha1_CNI is an autogenerated conversion function.

func Convert_kubeone_CloudProviderSpec_To_v1alpha1_CloudProviderSpec

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

Convert_kubeone_CloudProviderSpec_To_v1alpha1_CloudProviderSpec is an autogenerated conversion function.

func Convert_kubeone_ClusterNetworkConfig_To_v1alpha1_ClusterNetworkConfig

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

Convert_kubeone_ClusterNetworkConfig_To_v1alpha1_ClusterNetworkConfig is an autogenerated conversion function.

func Convert_kubeone_DynamicAuditLog_To_v1alpha1_DynamicAuditLog

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

Convert_kubeone_DynamicAuditLog_To_v1alpha1_DynamicAuditLog is an autogenerated conversion function.

func Convert_kubeone_Features_To_v1alpha1_Features

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

Convert_kubeone_Features_To_v1alpha1_Features is an autogenerated conversion function.

func Convert_kubeone_HostConfig_To_v1alpha1_HostConfig

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

Convert_kubeone_HostConfig_To_v1alpha1_HostConfig is an autogenerated conversion function.

func Convert_kubeone_KubeOneCluster_To_v1alpha1_KubeOneCluster

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

Convert_kubeone_KubeOneCluster_To_v1alpha1_KubeOneCluster is an autogenerated conversion function.

func Convert_kubeone_MachineControllerConfig_To_v1alpha1_MachineControllerConfig

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

Convert_kubeone_MachineControllerConfig_To_v1alpha1_MachineControllerConfig is an autogenerated conversion function.

func Convert_kubeone_MetricsServer_To_v1alpha1_MetricsServer

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

Convert_kubeone_MetricsServer_To_v1alpha1_MetricsServer is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnectConfig_To_v1alpha1_OpenIDConnectConfig

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

Convert_kubeone_OpenIDConnectConfig_To_v1alpha1_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_kubeone_OpenIDConnect_To_v1alpha1_OpenIDConnect

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

Convert_kubeone_OpenIDConnect_To_v1alpha1_OpenIDConnect is an autogenerated conversion function.

func Convert_kubeone_PodSecurityPolicy_To_v1alpha1_PodSecurityPolicy

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

Convert_kubeone_PodSecurityPolicy_To_v1alpha1_PodSecurityPolicy is an autogenerated conversion function.

func Convert_kubeone_ProviderSpec_To_v1alpha1_ProviderSpec

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

Convert_kubeone_ProviderSpec_To_v1alpha1_ProviderSpec is an autogenerated conversion function.

func Convert_kubeone_ProxyConfig_To_v1alpha1_ProxyConfig

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

Convert_kubeone_ProxyConfig_To_v1alpha1_ProxyConfig is an autogenerated conversion function.

func Convert_kubeone_VersionConfig_To_v1alpha1_VersionConfig

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

Convert_kubeone_VersionConfig_To_v1alpha1_VersionConfig is an autogenerated conversion function.

func Convert_kubeone_WorkerConfig_To_v1alpha1_WorkerConfig

func Convert_kubeone_WorkerConfig_To_v1alpha1_WorkerConfig(in *kubeone.WorkerConfig, out *WorkerConfig, s conversion.Scope) error

Convert_kubeone_WorkerConfig_To_v1alpha1_WorkerConfig is an autogenerated conversion function.

func Convert_v1alpha1_APIEndpoint_To_kubeone_APIEndpoint

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

Convert_v1alpha1_APIEndpoint_To_kubeone_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha1_CNI_To_kubeone_CNI added in v0.7.0

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

Convert_v1alpha1_CNI_To_kubeone_CNI is an autogenerated conversion function.

func Convert_v1alpha1_CloudProviderSpec_To_kubeone_CloudProviderSpec

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

Convert_v1alpha1_CloudProviderSpec_To_kubeone_CloudProviderSpec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig

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

Convert_v1alpha1_ClusterNetworkConfig_To_kubeone_ClusterNetworkConfig is an autogenerated conversion function.

func Convert_v1alpha1_DynamicAuditLog_To_kubeone_DynamicAuditLog

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

Convert_v1alpha1_DynamicAuditLog_To_kubeone_DynamicAuditLog is an autogenerated conversion function.

func Convert_v1alpha1_Features_To_kubeone_Features

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

Convert_v1alpha1_Features_To_kubeone_Features is an autogenerated conversion function.

func Convert_v1alpha1_HostConfig_To_kubeone_HostConfig

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

Convert_v1alpha1_HostConfig_To_kubeone_HostConfig is an autogenerated conversion function.

func Convert_v1alpha1_KubeOneCluster_To_kubeone_KubeOneCluster

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

Convert_v1alpha1_KubeOneCluster_To_kubeone_KubeOneCluster is an autogenerated conversion function.

func Convert_v1alpha1_MachineControllerConfig_To_kubeone_MachineControllerConfig

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

Convert_v1alpha1_MachineControllerConfig_To_kubeone_MachineControllerConfig is an autogenerated conversion function.

func Convert_v1alpha1_MetricsServer_To_kubeone_MetricsServer

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

Convert_v1alpha1_MetricsServer_To_kubeone_MetricsServer is an autogenerated conversion function.

func Convert_v1alpha1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig

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

Convert_v1alpha1_OpenIDConnectConfig_To_kubeone_OpenIDConnectConfig is an autogenerated conversion function.

func Convert_v1alpha1_OpenIDConnect_To_kubeone_OpenIDConnect

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

Convert_v1alpha1_OpenIDConnect_To_kubeone_OpenIDConnect is an autogenerated conversion function.

func Convert_v1alpha1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy

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

Convert_v1alpha1_PodSecurityPolicy_To_kubeone_PodSecurityPolicy is an autogenerated conversion function.

func Convert_v1alpha1_ProviderSpec_To_kubeone_ProviderSpec

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

Convert_v1alpha1_ProviderSpec_To_kubeone_ProviderSpec is an autogenerated conversion function.

func Convert_v1alpha1_ProxyConfig_To_kubeone_ProxyConfig

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

Convert_v1alpha1_ProxyConfig_To_kubeone_ProxyConfig is an autogenerated conversion function.

func Convert_v1alpha1_VersionConfig_To_kubeone_VersionConfig

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

Convert_v1alpha1_VersionConfig_To_kubeone_VersionConfig is an autogenerated conversion function.

func Convert_v1alpha1_WorkerConfig_To_kubeone_WorkerConfig

func Convert_v1alpha1_WorkerConfig_To_kubeone_WorkerConfig(in *WorkerConfig, out *kubeone.WorkerConfig, s conversion.Scope) error

Convert_v1alpha1_WorkerConfig_To_kubeone_WorkerConfig 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 SetDefaults_APIEndpoints

func SetDefaults_APIEndpoints(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 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 CNI added in v0.7.0

type CNI struct {
	// Provider choice
	Provider CNIProvider `json:"provider"`
	// Encrypted enables encryption for supported CNI plugins
	Encrypted bool `json:"encrypted"`
}

CNI config

func (*CNI) DeepCopy added in v0.7.0

func (in *CNI) DeepCopy() *CNI

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

func (*CNI) DeepCopyInto added in v0.7.0

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

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

type CNIProvider added in v0.7.0

type CNIProvider string

CNIProvider type

const (
	// CNIProviderCanal is a Canal CNI plugin (Flannel + Calico).
	// Highlights:
	// * Support Network Policies
	// * Does not support traffic encryption
	// More info: https://docs.projectcalico.org/v3.7/getting-started/kubernetes/installation/flannel
	CNIProviderCanal CNIProvider = "canal"

	// CNIProviderWeaveNet is a WeaveNet CNI plugin.
	// Highlights:
	// * Support Network Policies
	// * Support optional traffic encryption
	// * In case when encryption is enabled, strong secret will be autogenerated
	// More info: https://www.weave.works/docs/net/latest/kubernetes/kube-addon/
	CNIProviderWeaveNet CNIProvider = "weave-net"
)

List of CNI Providers

type CloudProviderName

type CloudProviderName string

CloudProviderName represents the name of a provider

const (
	CloudProviderNameAWS          CloudProviderName = "aws"
	CloudProviderNameOpenStack    CloudProviderName = "openstack"
	CloudProviderNameHetzner      CloudProviderName = "hetzner"
	CloudProviderNameDigitalOcean CloudProviderName = "digitalocean"
	CloudProviderNamePacket       CloudProviderName = "packet"
	CloudProviderNameVSphere      CloudProviderName = "vsphere"
	CloudProviderNameGCE          CloudProviderName = "gce"
	CloudProviderNameNone         CloudProviderName = "none"
)

CloudProviderName values

type CloudProviderSpec

type CloudProviderSpec struct {
	Name        CloudProviderName `json:"name"`
	External    bool              `json:"external"`
	CloudConfig string            `json:"cloudConfig"`
}

CloudProviderSpec describes the cloud provider that is running the machines

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 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 Features

type Features struct {
	PodSecurityPolicy *PodSecurityPolicy `json:"podSecurityPolicy"`
	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 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"`

	// Information populated at the runtime
	Hostname        string `json:"-"`
	OperatingSystem string `json:"-"`
	IsLeader        bool   `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"`
	// Hosts describes the control plane nodes and how to access them
	Hosts []HostConfig `json:"hosts,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"`
	// Workers is used to create worker nodes using the Kubermatic machine-controller
	Workers []WorkerConfig `json:"workers,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"`
	// Credentials used for machine-controller and external CCM
	Credentials map[string]string `json:"credentials,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"`
	// Provider is provider to be used for machine-controller
	// Defaults and must be same as chosen cloud provider, unless cloud provider is set to None
	Provider CloudProviderName `json:"provider"`
}

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 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 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"`
	SSHPublicKeys       []string          `json:"sshPublicKeys"`
	OperatingSystem     string            `json:"operatingSystem"`
	OperatingSystemSpec json.RawMessage   `json:"operatingSystemSpec"`
}

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 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 VersionConfig

type VersionConfig struct {
	// TODO(xmudrii): switch to semver
	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 WorkerConfig

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

WorkerConfig describes a set of worker machines

func (*WorkerConfig) DeepCopy

func (in *WorkerConfig) DeepCopy() *WorkerConfig

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

func (*WorkerConfig) DeepCopyInto

func (in *WorkerConfig) DeepCopyInto(out *WorkerConfig)

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