v1alpha1

package
v6.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 106

Documentation

Overview

+groupName=provider.giantswarm.io

Index

Constants

View Source
const (
	StatusClusterStatusFalse = "False"
	StatusClusterStatusTrue  = "True"
)
View Source
const (
	StatusClusterTypeCreated  = "Created"
	StatusClusterTypeCreating = "Creating"
)
View Source
const (
	StatusClusterTypeDeleted  = "Deleted"
	StatusClusterTypeDeleting = "Deleting"
)
View Source
const (
	StatusClusterTypeUpdated  = "Updated"
	StatusClusterTypeUpdating = "Updating"
)
View Source
const (
	ClusterVersionLimit = 5
)

Variables

View Source
var (

	// AddToScheme is used by the generated client.
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   group,
	Version: version,
}

SchemeGroupVersion is group version used to register these objects

Functions

func NewAWSClusterTypeMeta

func NewAWSClusterTypeMeta() metav1.TypeMeta

NewAWSClusterTypeMeta returns the populated metav1 metadata object for this CRD.

Types

type AWSConfig

type AWSConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              AWSConfigSpec `json:"spec"`
	// +kubebuilder:validation:Optional
	Status AWSConfigStatus `json:"status"`
}

AWSConfig used to represent workload cluster configuration in earlier releases. Deprecated.

func NewAWSConfigCR

func NewAWSConfigCR() *AWSConfig

NewAWSConfigCR returns a custom resource of type AWSConfig.

func (AWSConfig) AvailabilityZones

func (a AWSConfig) AvailabilityZones() int

func (AWSConfig) ClusterStatus

func (a AWSConfig) ClusterStatus() StatusCluster

func (*AWSConfig) DeepCopy

func (in *AWSConfig) DeepCopy() *AWSConfig

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

func (*AWSConfig) DeepCopyInto

func (in *AWSConfig) DeepCopyInto(out *AWSConfig)

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

func (*AWSConfig) DeepCopyObject

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

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

type AWSConfigList

type AWSConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []AWSConfig `json:"items"`
}

func (*AWSConfigList) DeepCopy

func (in *AWSConfigList) DeepCopy() *AWSConfigList

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

func (*AWSConfigList) DeepCopyInto

func (in *AWSConfigList) DeepCopyInto(out *AWSConfigList)

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

func (*AWSConfigList) DeepCopyObject

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

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

type AWSConfigSpec

type AWSConfigSpec struct {
	Cluster       Cluster                    `json:"cluster"`
	AWS           AWSConfigSpecAWS           `json:"aws"`
	VersionBundle AWSConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*AWSConfigSpec) DeepCopy

func (in *AWSConfigSpec) DeepCopy() *AWSConfigSpec

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

func (*AWSConfigSpec) DeepCopyInto

func (in *AWSConfigSpec) DeepCopyInto(out *AWSConfigSpec)

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

type AWSConfigSpecAWS

type AWSConfigSpecAWS struct {
	API AWSConfigSpecAWSAPI `json:"api"`
	// TODO remove the deprecated AZ field due to AvailabilityZones.
	//
	//     https://github.com/giantswarm/giantswarm/issues/4507
	//
	AZ string `json:"az"`
	// AvailabilityZones is the number of AWS availability zones used to spread
	// the workload cluster's worker nodes across. There are limitations on
	// availability zone settings due to binary IP range splitting and provider
	// specific region capabilities. When for instance choosing 3 availability
	// zones, the configured IP range will be split into 4 ranges and thus one of
	// it will not be able to be utilized. Such limitations have to be considered
	// when designing the network topology and configuring workload cluster HA via
	// AvailabilityZones.
	//
	// The selection and usage of the actual availability zones for the created
	// workload cluster is randomized. In case there are 4 availability zones
	// provided in the used region and the user selects 2 availability zones, the
	// actually used availability zones in which workload cluster workload is put
	// into will tend to be different across workload cluster creations. This is
	// done in order to provide more HA during single availability zone failures.
	// In case a specific availability zone fails, not all workload clusters will be
	// affected due to the described selection process.
	AvailabilityZones int                  `json:"availabilityZones"`
	CredentialSecret  CredentialSecret     `json:"credentialSecret"`
	Etcd              AWSConfigSpecAWSEtcd `json:"etcd"`

	// HostedZones is AWS hosted zones names in the host cluster account.
	// For each zone there will be "CLUSTER_ID.k8s" NS record created in
	// the host cluster account. Then for each created NS record there will
	// be a zone created in the guest account. After that component
	// specific records under those zones:
	//	- api.CLUSTER_ID.k8s.{{ .Spec.AWS.HostedZones.API.Name }}
	//	- etcd.CLUSTER_ID.k8s.{{ .Spec.AWS.HostedZones.Etcd.Name }}
	//	- ingress.CLUSTER_ID.k8s.{{ .Spec.AWS.HostedZones.Ingress.Name }}
	//	- *.CLUSTER_ID.k8s.{{ .Spec.AWS.HostedZones.Ingress.Name }}
	HostedZones AWSConfigSpecAWSHostedZones `json:"hostedZones"`

	Ingress AWSConfigSpecAWSIngress `json:"ingress"`
	Masters []AWSConfigSpecAWSNode  `json:"masters"`
	Region  string                  `json:"region"`
	VPC     AWSConfigSpecAWSVPC     `json:"vpc"`
	Workers []AWSConfigSpecAWSNode  `json:"workers"`
}

+k8s:openapi-gen=true

func (*AWSConfigSpecAWS) DeepCopy

func (in *AWSConfigSpecAWS) DeepCopy() *AWSConfigSpecAWS

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

func (*AWSConfigSpecAWS) DeepCopyInto

func (in *AWSConfigSpecAWS) DeepCopyInto(out *AWSConfigSpecAWS)

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

type AWSConfigSpecAWSAPI

type AWSConfigSpecAWSAPI struct {
	HostedZones string                 `json:"hostedZones"`
	ELB         AWSConfigSpecAWSAPIELB `json:"elb"`
}

AWSConfigSpecAWSAPI deprecated since aws-operator v12 resources. +k8s:openapi-gen=true

func (*AWSConfigSpecAWSAPI) DeepCopy

func (in *AWSConfigSpecAWSAPI) DeepCopy() *AWSConfigSpecAWSAPI

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

func (*AWSConfigSpecAWSAPI) DeepCopyInto

func (in *AWSConfigSpecAWSAPI) DeepCopyInto(out *AWSConfigSpecAWSAPI)

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

type AWSConfigSpecAWSAPIELB

type AWSConfigSpecAWSAPIELB struct {
	IdleTimeoutSeconds int `json:"idleTimeoutSeconds"`
}

AWSConfigSpecAWSAPIELB deprecated since aws-operator v12 resources. +k8s:openapi-gen=true

func (*AWSConfigSpecAWSAPIELB) DeepCopy

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

func (*AWSConfigSpecAWSAPIELB) DeepCopyInto

func (in *AWSConfigSpecAWSAPIELB) DeepCopyInto(out *AWSConfigSpecAWSAPIELB)

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

type AWSConfigSpecAWSEtcd

type AWSConfigSpecAWSEtcd struct {
	HostedZones string                  `json:"hostedZones"`
	ELB         AWSConfigSpecAWSEtcdELB `json:"elb"`
}

AWSConfigSpecAWSEtcd deprecated since aws-operator v12 resources. +k8s:openapi-gen=true

func (*AWSConfigSpecAWSEtcd) DeepCopy

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

func (*AWSConfigSpecAWSEtcd) DeepCopyInto

func (in *AWSConfigSpecAWSEtcd) DeepCopyInto(out *AWSConfigSpecAWSEtcd)

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

type AWSConfigSpecAWSEtcdELB

type AWSConfigSpecAWSEtcdELB struct {
	IdleTimeoutSeconds int `json:"idleTimeoutSeconds"`
}

AWSConfigSpecAWSEtcdELB deprecated since aws-operator v12 resources. +k8s:openapi-gen=true

func (*AWSConfigSpecAWSEtcdELB) DeepCopy

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

func (*AWSConfigSpecAWSEtcdELB) DeepCopyInto

func (in *AWSConfigSpecAWSEtcdELB) DeepCopyInto(out *AWSConfigSpecAWSEtcdELB)

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

type AWSConfigSpecAWSHostedZones

type AWSConfigSpecAWSHostedZones struct {
	API     AWSConfigSpecAWSHostedZonesZone `json:"api"`
	Etcd    AWSConfigSpecAWSHostedZonesZone `json:"etcd"`
	Ingress AWSConfigSpecAWSHostedZonesZone `json:"ingress"`
}

+k8s:openapi-gen=true

func (*AWSConfigSpecAWSHostedZones) DeepCopy

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

func (*AWSConfigSpecAWSHostedZones) DeepCopyInto

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

type AWSConfigSpecAWSHostedZonesZone

type AWSConfigSpecAWSHostedZonesZone struct {
	Name string `json:"name"`
}

+k8s:openapi-gen=true

func (*AWSConfigSpecAWSHostedZonesZone) DeepCopy

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

func (*AWSConfigSpecAWSHostedZonesZone) DeepCopyInto

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

type AWSConfigSpecAWSIngress

type AWSConfigSpecAWSIngress struct {
	HostedZones string                     `json:"hostedZones"`
	ELB         AWSConfigSpecAWSIngressELB `json:"elb"`
}

AWSConfigSpecAWSIngress deprecated since aws-operator v12 resources. +k8s:openapi-gen=true

func (*AWSConfigSpecAWSIngress) DeepCopy

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

func (*AWSConfigSpecAWSIngress) DeepCopyInto

func (in *AWSConfigSpecAWSIngress) DeepCopyInto(out *AWSConfigSpecAWSIngress)

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

type AWSConfigSpecAWSIngressELB

type AWSConfigSpecAWSIngressELB struct {
	IdleTimeoutSeconds int `json:"idleTimeoutSeconds"`
}

AWSConfigSpecAWSIngressELB deprecated since aws-operator v12 resources. +k8s:openapi-gen=true

func (*AWSConfigSpecAWSIngressELB) DeepCopy

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

func (*AWSConfigSpecAWSIngressELB) DeepCopyInto

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

type AWSConfigSpecAWSNode

type AWSConfigSpecAWSNode struct {
	ImageID            string `json:"imageID"`
	InstanceType       string `json:"instanceType"`
	DockerVolumeSizeGB int    `json:"dockerVolumeSizeGB"`
}

+k8s:openapi-gen=true

func (*AWSConfigSpecAWSNode) DeepCopy

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

func (*AWSConfigSpecAWSNode) DeepCopyInto

func (in *AWSConfigSpecAWSNode) DeepCopyInto(out *AWSConfigSpecAWSNode)

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

type AWSConfigSpecAWSVPC

type AWSConfigSpecAWSVPC struct {
	CIDR              string   `json:"cidr"`
	PrivateSubnetCIDR string   `json:"privateSubnetCidr"`
	PublicSubnetCIDR  string   `json:"publicSubnetCidr"`
	RouteTableNames   []string `json:"routeTableNames"`
	PeerID            string   `json:"peerId"`
}

+k8s:openapi-gen=true

func (*AWSConfigSpecAWSVPC) DeepCopy

func (in *AWSConfigSpecAWSVPC) DeepCopy() *AWSConfigSpecAWSVPC

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

func (*AWSConfigSpecAWSVPC) DeepCopyInto

func (in *AWSConfigSpecAWSVPC) DeepCopyInto(out *AWSConfigSpecAWSVPC)

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

type AWSConfigSpecVersionBundle

type AWSConfigSpecVersionBundle struct {
	Version string `json:"version"`
}

+k8s:openapi-gen=true

func (*AWSConfigSpecVersionBundle) DeepCopy

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

func (*AWSConfigSpecVersionBundle) DeepCopyInto

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

type AWSConfigStatus

type AWSConfigStatus struct {
	AWS     AWSConfigStatusAWS `json:"aws"`
	Cluster StatusCluster      `json:"cluster"`
}

+k8s:openapi-gen=true

func (*AWSConfigStatus) DeepCopy

func (in *AWSConfigStatus) DeepCopy() *AWSConfigStatus

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

func (*AWSConfigStatus) DeepCopyInto

func (in *AWSConfigStatus) DeepCopyInto(out *AWSConfigStatus)

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

type AWSConfigStatusAWS

type AWSConfigStatusAWS struct {
	AvailabilityZones []AWSConfigStatusAWSAvailabilityZone `json:"availabilityZones"`
	AutoScalingGroup  AWSConfigStatusAWSAutoScalingGroup   `json:"autoScalingGroup"`
}

+k8s:openapi-gen=true

func (*AWSConfigStatusAWS) DeepCopy

func (in *AWSConfigStatusAWS) DeepCopy() *AWSConfigStatusAWS

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

func (*AWSConfigStatusAWS) DeepCopyInto

func (in *AWSConfigStatusAWS) DeepCopyInto(out *AWSConfigStatusAWS)

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

type AWSConfigStatusAWSAutoScalingGroup

type AWSConfigStatusAWSAutoScalingGroup struct {
	Name string `json:"name"`
}

+k8s:openapi-gen=true

func (*AWSConfigStatusAWSAutoScalingGroup) DeepCopy

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

func (*AWSConfigStatusAWSAutoScalingGroup) DeepCopyInto

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

type AWSConfigStatusAWSAvailabilityZone

type AWSConfigStatusAWSAvailabilityZone struct {
	Name   string                                   `json:"name"`
	Subnet AWSConfigStatusAWSAvailabilityZoneSubnet `json:"subnet"`
}

+k8s:openapi-gen=true

func (*AWSConfigStatusAWSAvailabilityZone) DeepCopy

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

func (*AWSConfigStatusAWSAvailabilityZone) DeepCopyInto

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

type AWSConfigStatusAWSAvailabilityZoneSubnet

type AWSConfigStatusAWSAvailabilityZoneSubnet struct {
	Private AWSConfigStatusAWSAvailabilityZoneSubnetPrivate `json:"private"`
	Public  AWSConfigStatusAWSAvailabilityZoneSubnetPublic  `json:"public"`
}

+k8s:openapi-gen=true

func (*AWSConfigStatusAWSAvailabilityZoneSubnet) DeepCopy

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

func (*AWSConfigStatusAWSAvailabilityZoneSubnet) DeepCopyInto

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

type AWSConfigStatusAWSAvailabilityZoneSubnetPrivate

type AWSConfigStatusAWSAvailabilityZoneSubnetPrivate struct {
	CIDR string `json:"cidr"`
}

+k8s:openapi-gen=true

func (*AWSConfigStatusAWSAvailabilityZoneSubnetPrivate) DeepCopy

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

func (*AWSConfigStatusAWSAvailabilityZoneSubnetPrivate) DeepCopyInto

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

type AWSConfigStatusAWSAvailabilityZoneSubnetPublic

type AWSConfigStatusAWSAvailabilityZoneSubnetPublic struct {
	CIDR string `json:"cidr"`
}

+k8s:openapi-gen=true

func (*AWSConfigStatusAWSAvailabilityZoneSubnetPublic) DeepCopy

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

func (*AWSConfigStatusAWSAvailabilityZoneSubnetPublic) DeepCopyInto

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

type AzureConfig

type AzureConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              AzureConfigSpec `json:"spec"`
	// +kubebuilder:validation:Optional
	Status AzureConfigStatus `json:"status"`
}

func (AzureConfig) AvailabilityZones

func (a AzureConfig) AvailabilityZones() []int

func (AzureConfig) ClusterStatus

func (a AzureConfig) ClusterStatus() StatusCluster

func (*AzureConfig) DeepCopy

func (in *AzureConfig) DeepCopy() *AzureConfig

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

func (*AzureConfig) DeepCopyInto

func (in *AzureConfig) DeepCopyInto(out *AzureConfig)

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

func (*AzureConfig) DeepCopyObject

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

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

type AzureConfigList

type AzureConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []AzureConfig `json:"items"`
}

func (*AzureConfigList) DeepCopy

func (in *AzureConfigList) DeepCopy() *AzureConfigList

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

func (*AzureConfigList) DeepCopyInto

func (in *AzureConfigList) DeepCopyInto(out *AzureConfigList)

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

func (*AzureConfigList) DeepCopyObject

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

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

type AzureConfigSpec

type AzureConfigSpec struct {
	Cluster       Cluster                      `json:"cluster"`
	Azure         AzureConfigSpecAzure         `json:"azure"`
	VersionBundle AzureConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*AzureConfigSpec) DeepCopy

func (in *AzureConfigSpec) DeepCopy() *AzureConfigSpec

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

func (*AzureConfigSpec) DeepCopyInto

func (in *AzureConfigSpec) DeepCopyInto(out *AzureConfigSpec)

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

type AzureConfigSpecAzure

type AzureConfigSpecAzure struct {
	// +kubebuilder:validation:Optional
	// +nullable
	AvailabilityZones []int                              `json:"availabilityZones"`
	CredentialSecret  CredentialSecret                   `json:"credentialSecret"`
	DNSZones          AzureConfigSpecAzureDNSZones       `json:"dnsZones"`
	Masters           []AzureConfigSpecAzureNode         `json:"masters"`
	VirtualNetwork    AzureConfigSpecAzureVirtualNetwork `json:"virtualNetwork"`
	// +kubebuilder:validation:Optional
	// +nullable
	Workers []AzureConfigSpecAzureNode `json:"workers"`
}

+k8s:openapi-gen=true

func (*AzureConfigSpecAzure) DeepCopy

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

func (*AzureConfigSpecAzure) DeepCopyInto

func (in *AzureConfigSpecAzure) DeepCopyInto(out *AzureConfigSpecAzure)

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

type AzureConfigSpecAzureDNSZones

type AzureConfigSpecAzureDNSZones struct {
	// API is the DNS Zone for the Kubernetes API.
	API AzureConfigSpecAzureDNSZonesDNSZone `json:"api"`
	// Etcd is the DNS Zone for the etcd cluster.
	Etcd AzureConfigSpecAzureDNSZonesDNSZone `json:"etcd"`
	// Ingress is the DNS Zone for the Ingress resource, used for customer traffic.
	Ingress AzureConfigSpecAzureDNSZonesDNSZone `json:"ingress"`
}

AzureConfigSpecAzureDNSZones contains the DNS Zones of the cluster. +k8s:openapi-gen=true

func (*AzureConfigSpecAzureDNSZones) DeepCopy

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

func (*AzureConfigSpecAzureDNSZones) DeepCopyInto

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

type AzureConfigSpecAzureDNSZonesDNSZone

type AzureConfigSpecAzureDNSZonesDNSZone struct {
	// ResourceGroup is the resource group of the zone.
	ResourceGroup string `json:"resourceGroup"`
	// Name is the name of the zone.
	Name string `json:"name"`
}

AzureConfigSpecAzureDNSZonesDNSZone points to a DNS Zone in Azure. +k8s:openapi-gen=true

func (*AzureConfigSpecAzureDNSZonesDNSZone) DeepCopy

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

func (*AzureConfigSpecAzureDNSZonesDNSZone) DeepCopyInto

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

type AzureConfigSpecAzureNode

type AzureConfigSpecAzureNode struct {
	// VMSize is the master vm size (e.g. Standard_A1)
	VMSize string `json:"vmSize"`
	// DockerVolumeSizeGB is the size of a volume mounted to /var/lib/docker.
	DockerVolumeSizeGB int `json:"dockerVolumeSizeGB"`
	// KubeletVolumeSizeGB is the size of a volume mounted to /var/lib/kubelet.
	KubeletVolumeSizeGB int `json:"kubeletVolumeSizeGB"`
}

+k8s:openapi-gen=true

func (*AzureConfigSpecAzureNode) DeepCopy

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

func (*AzureConfigSpecAzureNode) DeepCopyInto

func (in *AzureConfigSpecAzureNode) DeepCopyInto(out *AzureConfigSpecAzureNode)

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

type AzureConfigSpecAzureVirtualNetwork

type AzureConfigSpecAzureVirtualNetwork struct {
	// CIDR is the CIDR for the Virtual Network.
	CIDR string `json:"cidr"`

	// TODO: remove Master, Worker and Calico subnet cidr after azure-operator v2
	// is deleted. MasterSubnetCIDR is the CIDR for the master subnet.
	//
	//     https://github.com/giantswarm/giantswarm/issues/4358
	//
	MasterSubnetCIDR string `json:"masterSubnetCIDR"`
	// WorkerSubnetCIDR is the CIDR for the worker subnet.
	WorkerSubnetCIDR string `json:"workerSubnetCIDR"`

	// CalicoSubnetCIDR is the CIDR for the calico subnet. It has to be
	// also a worker subnet (Azure limitation).
	CalicoSubnetCIDR string `json:"calicoSubnetCIDR"`
}

+k8s:openapi-gen=true

func (*AzureConfigSpecAzureVirtualNetwork) DeepCopy

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

func (*AzureConfigSpecAzureVirtualNetwork) DeepCopyInto

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

type AzureConfigSpecVersionBundle

type AzureConfigSpecVersionBundle struct {
	Version string `json:"version"`
}

+k8s:openapi-gen=true

func (*AzureConfigSpecVersionBundle) DeepCopy

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

func (*AzureConfigSpecVersionBundle) DeepCopyInto

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

type AzureConfigStatus

type AzureConfigStatus struct {
	// +kubebuilder:validation:Optional
	Cluster StatusCluster `json:"cluster"`
	// +kubebuilder:validation:Optional
	Provider AzureConfigStatusProvider `json:"provider"`
}

+k8s:openapi-gen=true

func (*AzureConfigStatus) DeepCopy

func (in *AzureConfigStatus) DeepCopy() *AzureConfigStatus

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

func (*AzureConfigStatus) DeepCopyInto

func (in *AzureConfigStatus) DeepCopyInto(out *AzureConfigStatus)

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

type AzureConfigStatusProvider

type AzureConfigStatusProvider struct {
	// +kubebuilder:validation:Optional
	// +nullable
	AvailabilityZones []int `json:"availabilityZones,omitempty"`
	// +kubebuilder:validation:Optional
	// +nullable
	Ingress AzureConfigStatusProviderIngress `json:"ingress"`
}

+k8s:openapi-gen=true

func (*AzureConfigStatusProvider) DeepCopy

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

func (*AzureConfigStatusProvider) DeepCopyInto

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

type AzureConfigStatusProviderIngress

type AzureConfigStatusProviderIngress struct {
	// +kubebuilder:validation:Optional
	// +nullable
	LoadBalancer AzureConfigStatusProviderIngressLoadBalancer `json:"loadBalancer"`
}

+k8s:openapi-gen=true

func (*AzureConfigStatusProviderIngress) DeepCopy

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

func (*AzureConfigStatusProviderIngress) DeepCopyInto

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

type AzureConfigStatusProviderIngressLoadBalancer

type AzureConfigStatusProviderIngressLoadBalancer struct {
	// +kubebuilder:validation:Optional
	PublicIPName string `json:"publicIPName"`
}

+k8s:openapi-gen=true

func (*AzureConfigStatusProviderIngressLoadBalancer) DeepCopy

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

func (*AzureConfigStatusProviderIngressLoadBalancer) DeepCopyInto

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

type Cluster

type Cluster struct {
	Calico     ClusterCalico     `json:"calico"`
	Customer   ClusterCustomer   `json:"customer"`
	Docker     ClusterDocker     `json:"docker"`
	Etcd       ClusterEtcd       `json:"etcd"`
	ID         string            `json:"id"`
	Kubernetes ClusterKubernetes `json:"kubernetes"`
	Masters    []ClusterNode     `json:"masters"`
	Scaling    ClusterScaling    `json:"scaling"`

	// Version is DEPRECATED and should just be dropped.
	Version string `json:"version"`

	Workers []ClusterNode `json:"workers,omitempty"`
}

+k8s:openapi-gen=true

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

type ClusterCalico

type ClusterCalico struct {
	CIDR   int    `json:"cidr"`
	MTU    int    `json:"mtu"`
	Subnet string `json:"subnet"`
}

+k8s:openapi-gen=true

func (*ClusterCalico) DeepCopy

func (in *ClusterCalico) DeepCopy() *ClusterCalico

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

func (*ClusterCalico) DeepCopyInto

func (in *ClusterCalico) DeepCopyInto(out *ClusterCalico)

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

type ClusterCustomer

type ClusterCustomer struct {
	ID string `json:"id"`
}

+k8s:openapi-gen=true

func (*ClusterCustomer) DeepCopy

func (in *ClusterCustomer) DeepCopy() *ClusterCustomer

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

func (*ClusterCustomer) DeepCopyInto

func (in *ClusterCustomer) DeepCopyInto(out *ClusterCustomer)

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

type ClusterDocker

type ClusterDocker struct {
	Daemon ClusterDockerDaemon `json:"daemon"`
}

+k8s:openapi-gen=true

func (*ClusterDocker) DeepCopy

func (in *ClusterDocker) DeepCopy() *ClusterDocker

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

func (*ClusterDocker) DeepCopyInto

func (in *ClusterDocker) DeepCopyInto(out *ClusterDocker)

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

type ClusterDockerDaemon

type ClusterDockerDaemon struct {
	CIDR string `json:"cidr"`
}

+k8s:openapi-gen=true

func (*ClusterDockerDaemon) DeepCopy

func (in *ClusterDockerDaemon) DeepCopy() *ClusterDockerDaemon

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

func (*ClusterDockerDaemon) DeepCopyInto

func (in *ClusterDockerDaemon) DeepCopyInto(out *ClusterDockerDaemon)

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

type ClusterEtcd

type ClusterEtcd struct {
	AltNames string `json:"altNames"`
	Domain   string `json:"domain"`
	Port     int    `json:"port"`
	Prefix   string `json:"prefix"`
}

+k8s:openapi-gen=true

func (*ClusterEtcd) DeepCopy

func (in *ClusterEtcd) DeepCopy() *ClusterEtcd

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

func (*ClusterEtcd) DeepCopyInto

func (in *ClusterEtcd) DeepCopyInto(out *ClusterEtcd)

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

type ClusterKubernetes

type ClusterKubernetes struct {
	API               ClusterKubernetesAPI               `json:"api"`
	CloudProvider     string                             `json:"cloudProvider"`
	DNS               ClusterKubernetesDNS               `json:"dns"`
	Domain            string                             `json:"domain"`
	IngressController ClusterKubernetesIngressController `json:"ingressController"`
	Kubelet           ClusterKubernetesKubelet           `json:"kubelet"`
	NetworkSetup      ClusterKubernetesNetworkSetup      `json:"networkSetup"`
	SSH               ClusterKubernetesSSH               `json:"ssh"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetes) DeepCopy

func (in *ClusterKubernetes) DeepCopy() *ClusterKubernetes

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

func (*ClusterKubernetes) DeepCopyInto

func (in *ClusterKubernetes) DeepCopyInto(out *ClusterKubernetes)

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

type ClusterKubernetesAPI

type ClusterKubernetesAPI struct {
	ClusterIPRange string `json:"clusterIPRange"`
	Domain         string `json:"domain"`
	SecurePort     int    `json:"securePort"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesAPI) DeepCopy

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

func (*ClusterKubernetesAPI) DeepCopyInto

func (in *ClusterKubernetesAPI) DeepCopyInto(out *ClusterKubernetesAPI)

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

type ClusterKubernetesDNS

type ClusterKubernetesDNS struct {
	IP string `json:"ip"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesDNS) DeepCopy

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

func (*ClusterKubernetesDNS) DeepCopyInto

func (in *ClusterKubernetesDNS) DeepCopyInto(out *ClusterKubernetesDNS)

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

type ClusterKubernetesIngressController

type ClusterKubernetesIngressController struct {
	Docker         ClusterKubernetesIngressControllerDocker `json:"docker"`
	Domain         string                                   `json:"domain"`
	WildcardDomain string                                   `json:"wildcardDomain"`
	InsecurePort   int                                      `json:"insecurePort"`
	SecurePort     int                                      `json:"securePort"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesIngressController) DeepCopy

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

func (*ClusterKubernetesIngressController) DeepCopyInto

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

type ClusterKubernetesIngressControllerDocker

type ClusterKubernetesIngressControllerDocker struct {
	Image string `json:"image"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesIngressControllerDocker) DeepCopy

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

func (*ClusterKubernetesIngressControllerDocker) DeepCopyInto

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

type ClusterKubernetesKubelet

type ClusterKubernetesKubelet struct {
	AltNames string `json:"altNames"`
	Domain   string `json:"domain"`
	Labels   string `json:"labels"`
	Port     int    `json:"port"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesKubelet) DeepCopy

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

func (*ClusterKubernetesKubelet) DeepCopyInto

func (in *ClusterKubernetesKubelet) DeepCopyInto(out *ClusterKubernetesKubelet)

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

type ClusterKubernetesNetworkSetup

type ClusterKubernetesNetworkSetup struct {
	Docker    ClusterKubernetesNetworkSetupDocker    `json:"docker"`
	KubeProxy ClusterKubernetesNetworkSetupKubeProxy `json:"kubeProxy"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesNetworkSetup) DeepCopy

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

func (*ClusterKubernetesNetworkSetup) DeepCopyInto

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

type ClusterKubernetesNetworkSetupDocker

type ClusterKubernetesNetworkSetupDocker struct {
	Image string `json:"image"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesNetworkSetupDocker) DeepCopy

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

func (*ClusterKubernetesNetworkSetupDocker) DeepCopyInto

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

type ClusterKubernetesNetworkSetupKubeProxy

type ClusterKubernetesNetworkSetupKubeProxy struct {
	// Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min).
	// Passed to kube-proxy as --conntrack-max-per-core.
	ConntrackMaxPerCore int `json:"conntrackMaxPerCore"`
}

ClusterKubernetesNetworkSetupKubeProxy describes values passed to the kube-proxy running in a workload cluster. +k8s:openapi-gen=true

func (*ClusterKubernetesNetworkSetupKubeProxy) DeepCopy

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

func (*ClusterKubernetesNetworkSetupKubeProxy) DeepCopyInto

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

type ClusterKubernetesSSH

type ClusterKubernetesSSH struct {
	UserList []ClusterKubernetesSSHUser `json:"userList"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesSSH) DeepCopy

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

func (*ClusterKubernetesSSH) DeepCopyInto

func (in *ClusterKubernetesSSH) DeepCopyInto(out *ClusterKubernetesSSH)

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

type ClusterKubernetesSSHUser

type ClusterKubernetesSSHUser struct {
	Name      string `json:"name"`
	PublicKey string `json:"publicKey"`
}

+k8s:openapi-gen=true

func (*ClusterKubernetesSSHUser) DeepCopy

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

func (*ClusterKubernetesSSHUser) DeepCopyInto

func (in *ClusterKubernetesSSHUser) DeepCopyInto(out *ClusterKubernetesSSHUser)

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

type ClusterNode

type ClusterNode struct {
	ID string `json:"id"`
}

+k8s:openapi-gen=true

func (*ClusterNode) DeepCopy

func (in *ClusterNode) DeepCopy() *ClusterNode

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

func (*ClusterNode) DeepCopyInto

func (in *ClusterNode) DeepCopyInto(out *ClusterNode)

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

type ClusterScaling

type ClusterScaling struct {
	// Max defines maximum number of worker nodes the workload cluster is allowed to have.
	Max int `json:"max"`
	// Min defines minimum number of worker nodes required to be present in the workload cluster.
	Min int `json:"min"`
}

+k8s:openapi-gen=true

func (*ClusterScaling) DeepCopy

func (in *ClusterScaling) DeepCopy() *ClusterScaling

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

func (*ClusterScaling) DeepCopyInto

func (in *ClusterScaling) DeepCopyInto(out *ClusterScaling)

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

type CredentialSecret

type CredentialSecret struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

+k8s:openapi-gen=true

func (*CredentialSecret) DeepCopy

func (in *CredentialSecret) DeepCopy() *CredentialSecret

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

func (*CredentialSecret) DeepCopyInto

func (in *CredentialSecret) DeepCopyInto(out *CredentialSecret)

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

type KVMConfig

type KVMConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              KVMConfigSpec `json:"spec"`
	// +kubebuilder:validation:Optional
	Status KVMConfigStatus `json:"status"`
}

func (KVMConfig) ClusterStatus

func (k KVMConfig) ClusterStatus() StatusCluster

func (*KVMConfig) DeepCopy

func (in *KVMConfig) DeepCopy() *KVMConfig

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

func (*KVMConfig) DeepCopyInto

func (in *KVMConfig) DeepCopyInto(out *KVMConfig)

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

func (*KVMConfig) DeepCopyObject

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

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

type KVMConfigList

type KVMConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []KVMConfig `json:"items"`
}

func (*KVMConfigList) DeepCopy

func (in *KVMConfigList) DeepCopy() *KVMConfigList

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

func (*KVMConfigList) DeepCopyInto

func (in *KVMConfigList) DeepCopyInto(out *KVMConfigList)

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

func (*KVMConfigList) DeepCopyObject

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

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

type KVMConfigSpec

type KVMConfigSpec struct {
	Cluster       Cluster                    `json:"cluster"`
	KVM           KVMConfigSpecKVM           `json:"kvm"`
	VersionBundle KVMConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpec) DeepCopy

func (in *KVMConfigSpec) DeepCopy() *KVMConfigSpec

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

func (*KVMConfigSpec) DeepCopyInto

func (in *KVMConfigSpec) DeepCopyInto(out *KVMConfigSpec)

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

type KVMConfigSpecKVM

type KVMConfigSpecKVM struct {
	EndpointUpdater KVMConfigSpecKVMEndpointUpdater `json:"endpointUpdater"`
	K8sKVM          KVMConfigSpecKVMK8sKVM          `json:"k8sKVM" `
	Masters         []KVMConfigSpecKVMNode          `json:"masters"`
	Network         KVMConfigSpecKVMNetwork         `json:"network"`
	// NOTE THIS IS DEPRECATED
	NodeController KVMConfigSpecKVMNodeController `json:"nodeController"`
	PortMappings   []KVMConfigSpecKVMPortMappings `json:"portMappings"`
	Workers        []KVMConfigSpecKVMNode         `json:"workers"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVM) DeepCopy

func (in *KVMConfigSpecKVM) DeepCopy() *KVMConfigSpecKVM

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

func (*KVMConfigSpecKVM) DeepCopyInto

func (in *KVMConfigSpecKVM) DeepCopyInto(out *KVMConfigSpecKVM)

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

type KVMConfigSpecKVMEndpointUpdater

type KVMConfigSpecKVMEndpointUpdater struct {
	Docker KVMConfigSpecKVMEndpointUpdaterDocker `json:"docker"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMEndpointUpdater) DeepCopy

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

func (*KVMConfigSpecKVMEndpointUpdater) DeepCopyInto

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

type KVMConfigSpecKVMEndpointUpdaterDocker

type KVMConfigSpecKVMEndpointUpdaterDocker struct {
	Image string `json:"image"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMEndpointUpdaterDocker) DeepCopy

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

func (*KVMConfigSpecKVMEndpointUpdaterDocker) DeepCopyInto

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

type KVMConfigSpecKVMK8sKVM

type KVMConfigSpecKVMK8sKVM struct {
	Docker      KVMConfigSpecKVMK8sKVMDocker `json:"docker"`
	StorageType string                       `json:"storageType"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMK8sKVM) DeepCopy

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

func (*KVMConfigSpecKVMK8sKVM) DeepCopyInto

func (in *KVMConfigSpecKVMK8sKVM) DeepCopyInto(out *KVMConfigSpecKVMK8sKVM)

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

type KVMConfigSpecKVMK8sKVMDocker

type KVMConfigSpecKVMK8sKVMDocker struct {
	Image string `json:"image"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMK8sKVMDocker) DeepCopy

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

func (*KVMConfigSpecKVMK8sKVMDocker) DeepCopyInto

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

type KVMConfigSpecKVMNetwork

type KVMConfigSpecKVMNetwork struct {
	Flannel KVMConfigSpecKVMNetworkFlannel `json:"flannel"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMNetwork) DeepCopy

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

func (*KVMConfigSpecKVMNetwork) DeepCopyInto

func (in *KVMConfigSpecKVMNetwork) DeepCopyInto(out *KVMConfigSpecKVMNetwork)

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

type KVMConfigSpecKVMNetworkFlannel

type KVMConfigSpecKVMNetworkFlannel struct {
	VNI int `json:"vni"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMNetworkFlannel) DeepCopy

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

func (*KVMConfigSpecKVMNetworkFlannel) DeepCopyInto

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

type KVMConfigSpecKVMNode

type KVMConfigSpecKVMNode struct {
	CPUs               int                 `json:"cpus"`
	Disk               serialization.Float `json:"disk"`
	Memory             string              `json:"memory"`
	DockerVolumeSizeGB int                 `json:"dockerVolumeSizeGB"`
	// +kubebuilder:validation:Optional
	// +nullable
	HostVolumes []KVMConfigSpecKVMNodeHostVolumes `json:"hostVolumes,omitempty"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMNode) DeepCopy

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

func (*KVMConfigSpecKVMNode) DeepCopyInto

func (in *KVMConfigSpecKVMNode) DeepCopyInto(out *KVMConfigSpecKVMNode)

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

type KVMConfigSpecKVMNodeController

type KVMConfigSpecKVMNodeController struct {
	Docker KVMConfigSpecKVMNodeControllerDocker `json:"docker"`
}

NOTE THIS IS DEPRECATED +k8s:openapi-gen=true

func (*KVMConfigSpecKVMNodeController) DeepCopy

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

func (*KVMConfigSpecKVMNodeController) DeepCopyInto

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

type KVMConfigSpecKVMNodeControllerDocker

type KVMConfigSpecKVMNodeControllerDocker struct {
	Image string `json:"image"`
}

NOTE THIS IS DEPRECATED +k8s:openapi-gen=true

func (*KVMConfigSpecKVMNodeControllerDocker) DeepCopy

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

func (*KVMConfigSpecKVMNodeControllerDocker) DeepCopyInto

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

type KVMConfigSpecKVMNodeHostVolumes

type KVMConfigSpecKVMNodeHostVolumes struct {
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=31
	MountTag string `json:"mountTag"`
	// +kubebuilder:validation:MinLength=1
	HostPath string `json:"hostPath"`
}

func (*KVMConfigSpecKVMNodeHostVolumes) DeepCopy

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

func (*KVMConfigSpecKVMNodeHostVolumes) DeepCopyInto

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

type KVMConfigSpecKVMPortMappings

type KVMConfigSpecKVMPortMappings struct {
	Name       string `json:"name"`
	NodePort   int    `json:"nodePort"`
	TargetPort int    `json:"targetPort"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecKVMPortMappings) DeepCopy

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

func (*KVMConfigSpecKVMPortMappings) DeepCopyInto

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

type KVMConfigSpecVersionBundle

type KVMConfigSpecVersionBundle struct {
	Version string `json:"version"`
}

+k8s:openapi-gen=true

func (*KVMConfigSpecVersionBundle) DeepCopy

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

func (*KVMConfigSpecVersionBundle) DeepCopyInto

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

type KVMConfigStatus

type KVMConfigStatus struct {
	Cluster StatusCluster      `json:"cluster"`
	KVM     KVMConfigStatusKVM `json:"kvm"`
}

+k8s:openapi-gen=true

func (*KVMConfigStatus) DeepCopy

func (in *KVMConfigStatus) DeepCopy() *KVMConfigStatus

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

func (*KVMConfigStatus) DeepCopyInto

func (in *KVMConfigStatus) DeepCopyInto(out *KVMConfigStatus)

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

type KVMConfigStatusKVM

type KVMConfigStatusKVM struct {
	// +kubebuilder:validation:Optional
	// +nullable
	// NodeIndexes is a map from nodeID -> nodeIndex. This is used to create deterministic iSCSI initiator names.
	NodeIndexes map[string]int `json:"nodeIndexes"`
}

+k8s:openapi-gen=true

func (*KVMConfigStatusKVM) DeepCopy

func (in *KVMConfigStatusKVM) DeepCopy() *KVMConfigStatusKVM

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

func (*KVMConfigStatusKVM) DeepCopyInto

func (in *KVMConfigStatusKVM) DeepCopyInto(out *KVMConfigStatusKVM)

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

type StatusCluster

type StatusCluster struct {
	// +kubebuilder:validation:Optional
	// +nullable
	// Conditions is a list of status information expressing the current
	// conditional state of a workload cluster. This may reflect the status of the
	// workload cluster being updating or being up to date.
	Conditions []StatusClusterCondition `json:"conditions,omitempty"`
	// +kubebuilder:validation:Optional
	// +nullable
	Network StatusClusterNetwork `json:"network"`
	// +kubebuilder:validation:Optional
	// +nullable
	// Nodes is a list of workload cluster node information reflecting the current
	// state of the workload cluster nodes.
	Nodes []StatusClusterNode `json:"nodes,omitempty"`
	// +kubebuilder:validation:Optional
	// +nullable
	// Resources is a list of arbitrary conditions of operatorkit resource
	// implementations.
	Resources []StatusClusterResource `json:"resources,omitempty"`
	// +kubebuilder:validation:Optional
	// +nullable
	Scaling StatusClusterScaling `json:"scaling"`
	// +kubebuilder:validation:Optional
	// +nullable
	// Versions is a list that acts like a historical track record of versions a
	// workload cluster went through. A version is only added to the list as soon as
	// the workload cluster successfully migrated to the version added here.
	Versions []StatusClusterVersion `json:"versions,omitempty"`
}

+k8s:openapi-gen=true

func (*StatusCluster) DeepCopy

func (in *StatusCluster) DeepCopy() *StatusCluster

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

func (*StatusCluster) DeepCopyInto

func (in *StatusCluster) DeepCopyInto(out *StatusCluster)

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

func (StatusCluster) GetCreatedCondition

func (s StatusCluster) GetCreatedCondition() StatusClusterCondition

func (StatusCluster) GetCreatingCondition

func (s StatusCluster) GetCreatingCondition() StatusClusterCondition

func (StatusCluster) GetDeletedCondition

func (s StatusCluster) GetDeletedCondition() StatusClusterCondition

func (StatusCluster) GetDeletingCondition

func (s StatusCluster) GetDeletingCondition() StatusClusterCondition

func (StatusCluster) GetUpdatedCondition

func (s StatusCluster) GetUpdatedCondition() StatusClusterCondition

func (StatusCluster) GetUpdatingCondition

func (s StatusCluster) GetUpdatingCondition() StatusClusterCondition

func (StatusCluster) HasCreatedCondition

func (s StatusCluster) HasCreatedCondition() bool

func (StatusCluster) HasCreatingCondition

func (s StatusCluster) HasCreatingCondition() bool

func (StatusCluster) HasDeletedCondition

func (s StatusCluster) HasDeletedCondition() bool

func (StatusCluster) HasDeletingCondition

func (s StatusCluster) HasDeletingCondition() bool

func (StatusCluster) HasUpdatedCondition

func (s StatusCluster) HasUpdatedCondition() bool

func (StatusCluster) HasUpdatingCondition

func (s StatusCluster) HasUpdatingCondition() bool

func (StatusCluster) HasVersion

func (s StatusCluster) HasVersion(semver string) bool

func (StatusCluster) LatestVersion

func (s StatusCluster) LatestVersion() string

func (StatusCluster) WithCreatedCondition

func (s StatusCluster) WithCreatedCondition() []StatusClusterCondition

func (StatusCluster) WithCreatingCondition

func (s StatusCluster) WithCreatingCondition() []StatusClusterCondition

func (StatusCluster) WithDeletedCondition

func (s StatusCluster) WithDeletedCondition() []StatusClusterCondition

func (StatusCluster) WithDeletingCondition

func (s StatusCluster) WithDeletingCondition() []StatusClusterCondition

func (StatusCluster) WithNewVersion

func (s StatusCluster) WithNewVersion(version string) []StatusClusterVersion

func (StatusCluster) WithUpdatedCondition

func (s StatusCluster) WithUpdatedCondition() []StatusClusterCondition

func (StatusCluster) WithUpdatingCondition

func (s StatusCluster) WithUpdatingCondition() []StatusClusterCondition

type StatusClusterCondition

type StatusClusterCondition struct {
	// +kubebuilder:validation:Optional
	// +nullable
	// LastTransitionTime is the last time the condition transitioned from one
	// status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// +kubebuilder:validation:Optional
	// Status may be True, False or Unknown.
	Status string `json:"status"`
	// +kubebuilder:validation:Optional
	// Type may be Creating, Created, Scaling, Scaled, Draining, Drained,
	// Updating, Updated, Deleting, Deleted.
	Type string `json:"type"`
}

StatusClusterCondition expresses the conditions in which a workload cluster may is. +k8s:openapi-gen=true

func (*StatusClusterCondition) DeepCopy

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

func (*StatusClusterCondition) DeepCopyInto

func (in *StatusClusterCondition) DeepCopyInto(out *StatusClusterCondition)

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

type StatusClusterNetwork

type StatusClusterNetwork struct {
	// +kubebuilder:validation:Optional
	CIDR string `json:"cidr"`
}

StatusClusterNetwork expresses the network segment that is allocated for a workload cluster. +k8s:openapi-gen=true

func (*StatusClusterNetwork) DeepCopy

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

func (*StatusClusterNetwork) DeepCopyInto

func (in *StatusClusterNetwork) DeepCopyInto(out *StatusClusterNetwork)

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

type StatusClusterNode

type StatusClusterNode struct {
	// +kubebuilder:validation:Optional
	// +nullable
	// Labels contains the kubernetes labels for corresponding node.
	Labels map[string]string `json:"labels,omitempty"`
	// +kubebuilder:validation:Optional
	// +nullable
	// LastTransitionTime is the last time the condition transitioned from one
	// status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// +kubebuilder:validation:Optional
	// Name referrs to a workload cluster node name.
	Name string `json:"name"`
	// +kubebuilder:validation:Optional
	// Version referrs to the version used by the node as mandated by the provider
	// operator.
	Version string `json:"version"`
}

StatusClusterNode holds information about a workload cluster node. +k8s:openapi-gen=true

func NewStatusClusterNode

func NewStatusClusterNode(name, version string, labels map[string]string) StatusClusterNode

func (*StatusClusterNode) DeepCopy

func (in *StatusClusterNode) DeepCopy() *StatusClusterNode

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

func (*StatusClusterNode) DeepCopyInto

func (in *StatusClusterNode) DeepCopyInto(out *StatusClusterNode)

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

type StatusClusterResource

type StatusClusterResource struct {
	// +kubebuilder:validation:Optional
	// +nullable
	Conditions []StatusClusterResourceCondition `json:"conditions,omitempty"`
	// +kubebuilder:validation:Optional
	Name string `json:"name"`
}

Resource is structure holding arbitrary conditions of operatorkit resource implementations. Imagine an operator implements an instance resource. This resource may operates sequentially but has to operate based on a certain system state it manages. So it tracks the status as needed here specific to its own implementation and means in order to fulfil its premise. +k8s:openapi-gen=true

func (*StatusClusterResource) DeepCopy

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

func (*StatusClusterResource) DeepCopyInto

func (in *StatusClusterResource) DeepCopyInto(out *StatusClusterResource)

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

type StatusClusterResourceCondition

type StatusClusterResourceCondition struct {
	// +kubebuilder:validation:Optional
	// +nullable
	// LastTransitionTime is the last time the condition transitioned from one
	// status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// +kubebuilder:validation:Optional
	// Status may be True, False or Unknown.
	Status string `json:"status"`
	// +kubebuilder:validation:Optional
	// Type may be anything an operatorkit resource may define.
	Type string `json:"type"`
}

StatusClusterResourceCondition expresses the conditions in which an operatorkit resource may is. +k8s:openapi-gen=true

func (*StatusClusterResourceCondition) DeepCopy

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

func (*StatusClusterResourceCondition) DeepCopyInto

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

type StatusClusterScaling

type StatusClusterScaling struct {
	// +kubebuilder:validation:Optional
	DesiredCapacity int `json:"desiredCapacity"`
}

StatusClusterScaling expresses the current status of desired number of worker nodes in the workload cluster. +k8s:openapi-gen=true

func (*StatusClusterScaling) DeepCopy

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

func (*StatusClusterScaling) DeepCopyInto

func (in *StatusClusterScaling) DeepCopyInto(out *StatusClusterScaling)

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

type StatusClusterVersion

type StatusClusterVersion struct {
	// +kubebuilder:validation:Optional
	// +nullable
	// TODO date is deprecated due to LastTransitionTime
	// This can be removed ones the new properties are properly used in all workload
	// clusters.
	//
	//     https://github.com/giantswarm/giantswarm/issues/3988
	//
	Date metav1.Time `json:"date,omitempty"`
	// +kubebuilder:validation:Optional
	// +nullable
	// LastTransitionTime is the last time the condition transitioned from one
	// status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// +kubebuilder:validation:Optional
	// Semver is some semver version, e.g. 1.0.0.
	Semver string `json:"semver"`
}

StatusClusterVersion expresses the versions in which a workload cluster was and may still be. +k8s:openapi-gen=true

func (*StatusClusterVersion) DeepCopy

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

func (*StatusClusterVersion) DeepCopyInto

func (in *StatusClusterVersion) DeepCopyInto(out *StatusClusterVersion)

DeepCopyInto implements the deep copy magic the k8s codegen is not able to generate out of the box.

Jump to

Keyboard shortcuts

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