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: 5 Imported by: 70

Documentation

Overview

+groupName=core.giantswarm.io

Index

Constants

View Source
const (
	DrainerConfigStatusStatusTrue = "True"
)
View Source
const (
	DrainerConfigStatusTypeDrained = "Drained"
)
View Source
const (
	DrainerConfigStatusTypeTimeout = "Timeout"
)

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 NewCertConfigTypeMeta

func NewCertConfigTypeMeta() metav1.TypeMeta

NewCertConfigTypeMeta returns the type part for the metadata section of a CertConfig custom resource.

func NewDrainerTypeMeta

func NewDrainerTypeMeta() metav1.TypeMeta

func NewSparkTypeMeta

func NewSparkTypeMeta() metav1.TypeMeta

Types

type AWSClusterConfig

type AWSClusterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              AWSClusterConfigSpec `json:"spec"`
}

+genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:categories=aws;giantswarm +kubebuilder:storageversion +k8s:openapi-gen=true AWSClusterConfig used to represent workload cluster configuration in earlier releases. Deprecated.

func (*AWSClusterConfig) DeepCopy

func (in *AWSClusterConfig) DeepCopy() *AWSClusterConfig

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

func (*AWSClusterConfig) DeepCopyInto

func (in *AWSClusterConfig) DeepCopyInto(out *AWSClusterConfig)

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

func (*AWSClusterConfig) DeepCopyObject

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

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

type AWSClusterConfigList

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

func (*AWSClusterConfigList) DeepCopy

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

func (*AWSClusterConfigList) DeepCopyInto

func (in *AWSClusterConfigList) DeepCopyInto(out *AWSClusterConfigList)

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

func (*AWSClusterConfigList) DeepCopyObject

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

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

type AWSClusterConfigSpec

type AWSClusterConfigSpec struct {
	Guest         AWSClusterConfigSpecGuest         `json:"guest"`
	VersionBundle AWSClusterConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*AWSClusterConfigSpec) DeepCopy

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

func (*AWSClusterConfigSpec) DeepCopyInto

func (in *AWSClusterConfigSpec) DeepCopyInto(out *AWSClusterConfigSpec)

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

type AWSClusterConfigSpecGuest

type AWSClusterConfigSpecGuest struct {
	ClusterGuestConfig `json:",inline"`
	CredentialSecret   AWSClusterConfigSpecGuestCredentialSecret `json:"credentialSecret"`
	Masters            []AWSClusterConfigSpecGuestMaster         `json:"masters,omitempty"`
	Workers            []AWSClusterConfigSpecGuestWorker         `json:"workers,omitempty"`
}

+k8s:openapi-gen=true

func (*AWSClusterConfigSpecGuest) DeepCopy

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

func (*AWSClusterConfigSpecGuest) DeepCopyInto

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

type AWSClusterConfigSpecGuestCredentialSecret

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

AWSClusterConfigSpecGuestCredentialSecret points to the K8s Secret containing credentials for an AWS account in which the workload cluster should be created. +k8s:openapi-gen=true

func (*AWSClusterConfigSpecGuestCredentialSecret) DeepCopy

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

func (*AWSClusterConfigSpecGuestCredentialSecret) DeepCopyInto

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

type AWSClusterConfigSpecGuestMaster

type AWSClusterConfigSpecGuestMaster struct {
	AWSClusterConfigSpecGuestNode `json:",inline"`
}

+k8s:openapi-gen=true

func (*AWSClusterConfigSpecGuestMaster) DeepCopy

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

func (*AWSClusterConfigSpecGuestMaster) DeepCopyInto

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

type AWSClusterConfigSpecGuestNode

type AWSClusterConfigSpecGuestNode struct {
	ID           string `json:"id"`
	InstanceType string `json:"instanceType,omitempty"`
}

func (*AWSClusterConfigSpecGuestNode) DeepCopy

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

func (*AWSClusterConfigSpecGuestNode) DeepCopyInto

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

type AWSClusterConfigSpecGuestWorker

type AWSClusterConfigSpecGuestWorker struct {
	AWSClusterConfigSpecGuestNode `json:",inline"`
	Labels                        map[string]string `json:"labels"`
}

func (*AWSClusterConfigSpecGuestWorker) DeepCopy

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

func (*AWSClusterConfigSpecGuestWorker) DeepCopyInto

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

type AWSClusterConfigSpecVersionBundle

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

+k8s:openapi-gen=true

func (*AWSClusterConfigSpecVersionBundle) DeepCopy

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

func (*AWSClusterConfigSpecVersionBundle) DeepCopyInto

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

type AzureClusterConfig

type AzureClusterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              AzureClusterConfigSpec `json:"spec"`
}

func (*AzureClusterConfig) DeepCopy

func (in *AzureClusterConfig) DeepCopy() *AzureClusterConfig

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

func (*AzureClusterConfig) DeepCopyInto

func (in *AzureClusterConfig) DeepCopyInto(out *AzureClusterConfig)

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

func (*AzureClusterConfig) DeepCopyObject

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

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

type AzureClusterConfigList

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

func (*AzureClusterConfigList) DeepCopy

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

func (*AzureClusterConfigList) DeepCopyInto

func (in *AzureClusterConfigList) DeepCopyInto(out *AzureClusterConfigList)

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

func (*AzureClusterConfigList) DeepCopyObject

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

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

type AzureClusterConfigSpec

type AzureClusterConfigSpec struct {
	Guest         AzureClusterConfigSpecGuest         `json:"guest"`
	VersionBundle AzureClusterConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*AzureClusterConfigSpec) DeepCopy

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

func (*AzureClusterConfigSpec) DeepCopyInto

func (in *AzureClusterConfigSpec) DeepCopyInto(out *AzureClusterConfigSpec)

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

type AzureClusterConfigSpecGuest

type AzureClusterConfigSpecGuest struct {
	ClusterGuestConfig `json:",inline"`
	CredentialSecret   AzureClusterConfigSpecGuestCredentialSecret `json:"credentialSecret"`
	Masters            []AzureClusterConfigSpecGuestMaster         `json:"masters,omitempty"`
	Workers            []AzureClusterConfigSpecGuestWorker         `json:"workers,omitempty"`
}

+k8s:openapi-gen=true

func (*AzureClusterConfigSpecGuest) DeepCopy

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

func (*AzureClusterConfigSpecGuest) DeepCopyInto

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

type AzureClusterConfigSpecGuestCredentialSecret

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

AzureClusterConfigSpecGuestCredentialSecret points to the K8s Secret containing credentials for an Azure subscription in which the workload cluster should be created. +k8s:openapi-gen=true

func (*AzureClusterConfigSpecGuestCredentialSecret) DeepCopy

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

func (*AzureClusterConfigSpecGuestCredentialSecret) DeepCopyInto

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

type AzureClusterConfigSpecGuestMaster

type AzureClusterConfigSpecGuestMaster struct {
	AzureClusterConfigSpecGuestNode `json:",inline"`
}

func (*AzureClusterConfigSpecGuestMaster) DeepCopy

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

func (*AzureClusterConfigSpecGuestMaster) DeepCopyInto

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

type AzureClusterConfigSpecGuestNode

type AzureClusterConfigSpecGuestNode struct {
	ID     string `json:"id"`
	VMSize string `json:"vmSize,omitempty"`
}

func (*AzureClusterConfigSpecGuestNode) DeepCopy

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

func (*AzureClusterConfigSpecGuestNode) DeepCopyInto

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

type AzureClusterConfigSpecGuestWorker

type AzureClusterConfigSpecGuestWorker struct {
	AzureClusterConfigSpecGuestNode `json:",inline"`
	// +kubebuilder:validation:Optional
	// +nullable
	Labels map[string]string `json:"labels"`
}

func (*AzureClusterConfigSpecGuestWorker) DeepCopy

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

func (*AzureClusterConfigSpecGuestWorker) DeepCopyInto

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

type AzureClusterConfigSpecVersionBundle

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

func (*AzureClusterConfigSpecVersionBundle) DeepCopy

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

func (*AzureClusterConfigSpecVersionBundle) DeepCopyInto

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

type CertConfig

type CertConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              CertConfigSpec `json:"spec"`
}

+genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:resource:categories=common;giantswarm +kubebuilder:storageversion +k8s:openapi-gen=true CertConfig specifies details for an X.509 certificate to be issued, handled by cert-operator.

func NewCertConfigCR

func NewCertConfigCR() *CertConfig

NewCertConfigCR returns an AWSCluster Custom Resource.

func (*CertConfig) DeepCopy

func (in *CertConfig) DeepCopy() *CertConfig

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

func (*CertConfig) DeepCopyInto

func (in *CertConfig) DeepCopyInto(out *CertConfig)

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

func (*CertConfig) DeepCopyObject

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

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

type CertConfigList

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

func (*CertConfigList) DeepCopy

func (in *CertConfigList) DeepCopy() *CertConfigList

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

func (*CertConfigList) DeepCopyInto

func (in *CertConfigList) DeepCopyInto(out *CertConfigList)

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

func (*CertConfigList) DeepCopyObject

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

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

type CertConfigSpec

type CertConfigSpec struct {
	// Specifies the configurable certificate details.
	Cert CertConfigSpecCert `json:"cert"`
	// Specifies the cert-operator version to use.
	VersionBundle CertConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*CertConfigSpec) DeepCopy

func (in *CertConfigSpec) DeepCopy() *CertConfigSpec

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

func (*CertConfigSpec) DeepCopyInto

func (in *CertConfigSpec) DeepCopyInto(out *CertConfigSpec)

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

type CertConfigSpecCert

type CertConfigSpecCert struct {
	AllowBareDomains bool `json:"allowBareDomains"`
	// +kubebuilder:validation:Optional
	// +nullable
	// Subject Alternative Names to be set in the certificate.
	AltNames []string `json:"altNames,omitempty"`
	// Host name of the service to create the certificate for.
	ClusterComponent string `json:"clusterComponent"`
	// Workload cluster ID to issue the certificate for.
	ClusterID string `json:"clusterID"`
	// Full common name (CN).
	CommonName string `json:"commonName"`
	// If set, cert-operator will forbid updating this certificate.
	DisableRegeneration bool `json:"disableRegeneration"`
	// +kubebuilder:validation:Optional
	// +nullable
	// List of IP addresses to be set as SANs (Subject Alternative Names) in the certificate.
	IPSANs []string `json:"ipSans,omitempty"`
	// +kubebuilder:validation:Optional
	// +nullable
	// List of organizations to set in the certificate.
	Organizations []string `json:"organizations,omitempty"`
	// Expiry time as a Golang duration string, e. g. "1d" for one day.
	TTL string `json:"ttl"`
}

+k8s:openapi-gen=true

func (*CertConfigSpecCert) DeepCopy

func (in *CertConfigSpecCert) DeepCopy() *CertConfigSpecCert

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

func (*CertConfigSpecCert) DeepCopyInto

func (in *CertConfigSpecCert) DeepCopyInto(out *CertConfigSpecCert)

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

type CertConfigSpecVersionBundle

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

+k8s:openapi-gen=true

func (*CertConfigSpecVersionBundle) DeepCopy

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

func (*CertConfigSpecVersionBundle) DeepCopyInto

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

type ChartConfig

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

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:resource:categories=common;giantswarm +k8s:openapi-gen=true ChartConfig used to represent an app deployed as a Helm Release. Deprecated.

func (*ChartConfig) DeepCopy

func (in *ChartConfig) DeepCopy() *ChartConfig

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

func (*ChartConfig) DeepCopyInto

func (in *ChartConfig) DeepCopyInto(out *ChartConfig)

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

func (*ChartConfig) DeepCopyObject

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

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

type ChartConfigList

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

func (*ChartConfigList) DeepCopy

func (in *ChartConfigList) DeepCopy() *ChartConfigList

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

func (*ChartConfigList) DeepCopyInto

func (in *ChartConfigList) DeepCopyInto(out *ChartConfigList)

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

func (*ChartConfigList) DeepCopyObject

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

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

type ChartConfigSpec

type ChartConfigSpec struct {
	Chart         ChartConfigSpecChart         `json:"chart"`
	VersionBundle ChartConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*ChartConfigSpec) DeepCopy

func (in *ChartConfigSpec) DeepCopy() *ChartConfigSpec

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

func (*ChartConfigSpec) DeepCopyInto

func (in *ChartConfigSpec) DeepCopyInto(out *ChartConfigSpec)

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

type ChartConfigSpecChart

type ChartConfigSpecChart struct {
	// Channel is the name of the Appr channel to reconcile against,
	// e.g. 1-0-stable.
	Channel string `json:"channel"`
	// ConfigMap references a config map containing values that should be
	// applied to the chart.
	ConfigMap ChartConfigSpecConfigMap `json:"configMap"`
	// UserConfigMap references a config map containing custom values.
	// These custom values are specified by the user to override default values.
	UserConfigMap ChartConfigSpecConfigMap `json:"userConfigMap"`
	// Name is the name of the Helm chart to deploy,
	// e.g. kubernetes-node-exporter.
	Name string `json:"name"`
	// Namespace is the namespace where the Helm chart is to be deployed,
	// e.g. giantswarm.
	Namespace string `json:"namespace"`
	// Release is the name of the Helm release when the chart is deployed,
	// e.g. node-exporter.
	Release string `json:"release"`
	// Secret references a secret containing secret values that should be
	// applied to the chart.
	Secret ChartConfigSpecSecret `json:"secret"`
}

+k8s:openapi-gen=true

func (*ChartConfigSpecChart) DeepCopy

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

func (*ChartConfigSpecChart) DeepCopyInto

func (in *ChartConfigSpecChart) DeepCopyInto(out *ChartConfigSpecChart)

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

type ChartConfigSpecConfigMap

type ChartConfigSpecConfigMap struct {
	// Name is the name of the config map containing chart values to apply,
	// e.g. node-exporter-chart-values.
	Name string `json:"name"`
	// Namespace is the namespace of the values config map,
	// e.g. kube-system.
	Namespace string `json:"namespace"`
	// ResourceVersion is the Kubernetes resource version of the configmap.
	// Used to detect if the configmap has changed, e.g. 12345.
	ResourceVersion string `json:"resourceVersion"`
}

+k8s:openapi-gen=true

func (*ChartConfigSpecConfigMap) DeepCopy

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

func (*ChartConfigSpecConfigMap) DeepCopyInto

func (in *ChartConfigSpecConfigMap) DeepCopyInto(out *ChartConfigSpecConfigMap)

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

type ChartConfigSpecSecret

type ChartConfigSpecSecret struct {
	// Name is the name of the secret containing chart values to apply,
	// e.g. node-exporter-chart-secret.
	Name string `json:"name"`
	// Namespace is the namespace of the secret,
	// e.g. kube-system.
	Namespace string `json:"namespace"`
	// ResourceVersion is the Kubernetes resource version of the secret.
	// Used to detect if the secret has changed, e.g. 12345.
	ResourceVersion string `json:"resourceVersion"`
}

+k8s:openapi-gen=true

func (*ChartConfigSpecSecret) DeepCopy

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

func (*ChartConfigSpecSecret) DeepCopyInto

func (in *ChartConfigSpecSecret) DeepCopyInto(out *ChartConfigSpecSecret)

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

type ChartConfigSpecVersionBundle

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

+k8s:openapi-gen=true

func (*ChartConfigSpecVersionBundle) DeepCopy

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

func (*ChartConfigSpecVersionBundle) DeepCopyInto

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

type ChartConfigStatus

type ChartConfigStatus struct {
	// ReleaseStatus is the status of the Helm release when the chart is
	// installed, e.g. DEPLOYED.
	ReleaseStatus string `json:"releaseStatus"`
	// Reason is the description of the last status of helm release when the chart is
	// not installed successfully, e.g. deploy resource already exists.
	Reason string `json:"reason,omitempty"`
}

+k8s:openapi-gen=true

func (*ChartConfigStatus) DeepCopy

func (in *ChartConfigStatus) DeepCopy() *ChartConfigStatus

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

func (*ChartConfigStatus) DeepCopyInto

func (in *ChartConfigStatus) DeepCopyInto(out *ChartConfigStatus)

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

type ClusterGuestConfig

type ClusterGuestConfig struct {
	AvailabilityZones int `json:"availabilityZones,omitempty"`
	// DNSZone for the workload cluster is supplemented with host prefixes for
	// specific services such as Kubernetes API or Etcd. In general this DNS
	// Zone should start with "k8s" like for example
	// "k8s.cluster.example.com.".
	DNSZone        string                            `json:"dnsZone"`
	ID             string                            `json:"id"`
	Name           string                            `json:"name,omitempty"`
	Owner          string                            `json:"owner,omitempty"`
	ReleaseVersion string                            `json:"releaseVersion,omitempty"`
	VersionBundles []ClusterGuestConfigVersionBundle `json:"versionBundles,omitempty"`
}

+k8s:openapi-gen=true

func (*ClusterGuestConfig) DeepCopy

func (in *ClusterGuestConfig) DeepCopy() *ClusterGuestConfig

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

func (*ClusterGuestConfig) DeepCopyInto

func (in *ClusterGuestConfig) DeepCopyInto(out *ClusterGuestConfig)

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

type ClusterGuestConfigVersionBundle

type ClusterGuestConfigVersionBundle struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

+k8s:openapi-gen=true

func (*ClusterGuestConfigVersionBundle) DeepCopy

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

func (*ClusterGuestConfigVersionBundle) DeepCopyInto

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

type DrainerConfig

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

func (*DrainerConfig) DeepCopy

func (in *DrainerConfig) DeepCopy() *DrainerConfig

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

func (*DrainerConfig) DeepCopyInto

func (in *DrainerConfig) DeepCopyInto(out *DrainerConfig)

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

func (*DrainerConfig) DeepCopyObject

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

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

type DrainerConfigList

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

func (*DrainerConfigList) DeepCopy

func (in *DrainerConfigList) DeepCopy() *DrainerConfigList

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

func (*DrainerConfigList) DeepCopyInto

func (in *DrainerConfigList) DeepCopyInto(out *DrainerConfigList)

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

func (*DrainerConfigList) DeepCopyObject

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

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

type DrainerConfigSpec

type DrainerConfigSpec struct {
	Guest         DrainerConfigSpecGuest         `json:"guest"`
	VersionBundle DrainerConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*DrainerConfigSpec) DeepCopy

func (in *DrainerConfigSpec) DeepCopy() *DrainerConfigSpec

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

func (*DrainerConfigSpec) DeepCopyInto

func (in *DrainerConfigSpec) DeepCopyInto(out *DrainerConfigSpec)

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

type DrainerConfigSpecGuest

type DrainerConfigSpecGuest struct {
	Cluster DrainerConfigSpecGuestCluster `json:"cluster"`
	Node    DrainerConfigSpecGuestNode    `json:"node"`
}

+k8s:openapi-gen=true

func (*DrainerConfigSpecGuest) DeepCopy

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

func (*DrainerConfigSpecGuest) DeepCopyInto

func (in *DrainerConfigSpecGuest) DeepCopyInto(out *DrainerConfigSpecGuest)

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

type DrainerConfigSpecGuestCluster

type DrainerConfigSpecGuestCluster struct {
	API DrainerConfigSpecGuestClusterAPI `json:"api"`
	// ID is the workload cluster ID of which a node should be drained.
	ID string `json:"id"`
}

+k8s:openapi-gen=true

func (*DrainerConfigSpecGuestCluster) DeepCopy

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

func (*DrainerConfigSpecGuestCluster) DeepCopyInto

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

type DrainerConfigSpecGuestClusterAPI

type DrainerConfigSpecGuestClusterAPI struct {
	// Endpoint is the workload cluster API endpoint.
	Endpoint string `json:"endpoint"`
}

+k8s:openapi-gen=true

func (*DrainerConfigSpecGuestClusterAPI) DeepCopy

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

func (*DrainerConfigSpecGuestClusterAPI) DeepCopyInto

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

type DrainerConfigSpecGuestNode

type DrainerConfigSpecGuestNode struct {
	// Name is the identifier of the workload cluster's master and worker nodes. In
	// Kubernetes/Kubectl they are represented as node names. The names are manage
	// in an abstracted way because of provider specific differences.
	//
	//     AWS: EC2 instance DNS.
	//     Azure: VM name.
	//     KVM: host cluster pod name.
	//
	Name string `json:"name"`
}

+k8s:openapi-gen=true

func (*DrainerConfigSpecGuestNode) DeepCopy

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

func (*DrainerConfigSpecGuestNode) DeepCopyInto

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

type DrainerConfigSpecVersionBundle

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

+k8s:openapi-gen=true

func (*DrainerConfigSpecVersionBundle) DeepCopy

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

func (*DrainerConfigSpecVersionBundle) DeepCopyInto

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

type DrainerConfigStatus

type DrainerConfigStatus struct {
	Conditions []DrainerConfigStatusCondition `json:"conditions"`
}

+k8s:openapi-gen=true

func (*DrainerConfigStatus) DeepCopy

func (in *DrainerConfigStatus) DeepCopy() *DrainerConfigStatus

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

func (*DrainerConfigStatus) DeepCopyInto

func (in *DrainerConfigStatus) DeepCopyInto(out *DrainerConfigStatus)

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

func (DrainerConfigStatus) HasDrainedCondition

func (s DrainerConfigStatus) HasDrainedCondition() bool

func (DrainerConfigStatus) HasTimeoutCondition

func (s DrainerConfigStatus) HasTimeoutCondition() bool

func (DrainerConfigStatus) NewDrainedCondition

func (s DrainerConfigStatus) NewDrainedCondition() DrainerConfigStatusCondition

func (DrainerConfigStatus) NewTimeoutCondition

func (s DrainerConfigStatus) NewTimeoutCondition() DrainerConfigStatusCondition

type DrainerConfigStatusCondition

type DrainerConfigStatusCondition struct {
	// LastHeartbeatTime is the last time we got an update on a given condition.
	LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime"`
	// LastTransitionTime is the last time the condition transitioned from one
	// status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime"`
	// Status may be True, False or Unknown.
	Status string `json:"status"`
	// Type may be Pending, Ready, Draining, Drained.
	Type string `json:"type"`
}

DrainerConfigStatusCondition expresses a condition in which a node may is. +k8s:openapi-gen=true

func (*DrainerConfigStatusCondition) DeepCopy

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

func (*DrainerConfigStatusCondition) DeepCopyInto

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

type FlannelConfig

type FlannelConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              FlannelConfigSpec `json:"spec"`
}

func (*FlannelConfig) DeepCopy

func (in *FlannelConfig) DeepCopy() *FlannelConfig

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

func (*FlannelConfig) DeepCopyInto

func (in *FlannelConfig) DeepCopyInto(out *FlannelConfig)

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

func (*FlannelConfig) DeepCopyObject

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

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

type FlannelConfigList

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

func (*FlannelConfigList) DeepCopy

func (in *FlannelConfigList) DeepCopy() *FlannelConfigList

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

func (*FlannelConfigList) DeepCopyInto

func (in *FlannelConfigList) DeepCopyInto(out *FlannelConfigList)

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

func (*FlannelConfigList) DeepCopyObject

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

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

type FlannelConfigSpec

type FlannelConfigSpec struct {
	Bridge        FlannelConfigSpecBridge        `json:"bridge"`
	Cluster       FlannelConfigSpecCluster       `json:"cluster"`
	Flannel       FlannelConfigSpecFlannel       `json:"flannel"`
	Health        FlannelConfigSpecHealth        `json:"health"`
	VersionBundle FlannelConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*FlannelConfigSpec) DeepCopy

func (in *FlannelConfigSpec) DeepCopy() *FlannelConfigSpec

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

func (*FlannelConfigSpec) DeepCopyInto

func (in *FlannelConfigSpec) DeepCopyInto(out *FlannelConfigSpec)

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

type FlannelConfigSpecBridge

type FlannelConfigSpecBridge struct {
	Docker FlannelConfigSpecBridgeDocker `json:"docker"`
	Spec   FlannelConfigSpecBridgeSpec   `json:"spec"`
}

+k8s:openapi-gen=true

func (*FlannelConfigSpecBridge) DeepCopy

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

func (*FlannelConfigSpecBridge) DeepCopyInto

func (in *FlannelConfigSpecBridge) DeepCopyInto(out *FlannelConfigSpecBridge)

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

type FlannelConfigSpecBridgeDocker

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

+k8s:openapi-gen=true

func (*FlannelConfigSpecBridgeDocker) DeepCopy

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

func (*FlannelConfigSpecBridgeDocker) DeepCopyInto

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

type FlannelConfigSpecBridgeSpec

type FlannelConfigSpecBridgeSpec struct {
	Interface      string                         `json:"interface"`
	PrivateNetwork string                         `json:"privateNetwork"`
	DNS            FlannelConfigSpecBridgeSpecDNS `json:"dns"`
	NTP            FlannelConfigSpecBridgeSpecNTP `json:"ntp"`
}

+k8s:openapi-gen=true

func (*FlannelConfigSpecBridgeSpec) DeepCopy

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

func (*FlannelConfigSpecBridgeSpec) DeepCopyInto

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

type FlannelConfigSpecBridgeSpecDNS

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

+k8s:openapi-gen=true

func (*FlannelConfigSpecBridgeSpecDNS) DeepCopy

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

func (*FlannelConfigSpecBridgeSpecDNS) DeepCopyInto

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

type FlannelConfigSpecBridgeSpecNTP

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

+k8s:openapi-gen=true

func (*FlannelConfigSpecBridgeSpecNTP) DeepCopy

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

func (*FlannelConfigSpecBridgeSpecNTP) DeepCopyInto

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

type FlannelConfigSpecCluster

type FlannelConfigSpecCluster struct {
	ID        string `json:"id"`
	Customer  string `json:"customer"`
	Namespace string `json:"namespace"`
}

+k8s:openapi-gen=true

func (*FlannelConfigSpecCluster) DeepCopy

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

func (*FlannelConfigSpecCluster) DeepCopyInto

func (in *FlannelConfigSpecCluster) DeepCopyInto(out *FlannelConfigSpecCluster)

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

type FlannelConfigSpecFlannel

type FlannelConfigSpecFlannel struct {
	Spec FlannelConfigSpecFlannelSpec `json:"spec"`
}

+k8s:openapi-gen=true

func (*FlannelConfigSpecFlannel) DeepCopy

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

func (*FlannelConfigSpecFlannel) DeepCopyInto

func (in *FlannelConfigSpecFlannel) DeepCopyInto(out *FlannelConfigSpecFlannel)

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

type FlannelConfigSpecFlannelSpec

type FlannelConfigSpecFlannelSpec struct {
	Network   string `json:"network"`
	SubnetLen int    `json:"subnetLen"`
	RunDir    string `json:"runDir"`
	VNI       int    `json:"vni"`
}

+k8s:openapi-gen=true

func (*FlannelConfigSpecFlannelSpec) DeepCopy

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

func (*FlannelConfigSpecFlannelSpec) DeepCopyInto

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

type FlannelConfigSpecHealth

type FlannelConfigSpecHealth struct {
	Docker FlannelConfigSpecHealthDocker `json:"docker"`
}

+k8s:openapi-gen=true

func (*FlannelConfigSpecHealth) DeepCopy

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

func (*FlannelConfigSpecHealth) DeepCopyInto

func (in *FlannelConfigSpecHealth) DeepCopyInto(out *FlannelConfigSpecHealth)

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

type FlannelConfigSpecHealthDocker

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

+k8s:openapi-gen=true

func (*FlannelConfigSpecHealthDocker) DeepCopy

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

func (*FlannelConfigSpecHealthDocker) DeepCopyInto

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

type FlannelConfigSpecVersionBundle

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

+k8s:openapi-gen=true

func (*FlannelConfigSpecVersionBundle) DeepCopy

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

func (*FlannelConfigSpecVersionBundle) DeepCopyInto

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

type KVMClusterConfig

type KVMClusterConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              KVMClusterConfigSpec `json:"spec"`
}

func (*KVMClusterConfig) DeepCopy

func (in *KVMClusterConfig) DeepCopy() *KVMClusterConfig

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

func (*KVMClusterConfig) DeepCopyInto

func (in *KVMClusterConfig) DeepCopyInto(out *KVMClusterConfig)

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

func (*KVMClusterConfig) DeepCopyObject

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

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

type KVMClusterConfigList

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

func (*KVMClusterConfigList) DeepCopy

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

func (*KVMClusterConfigList) DeepCopyInto

func (in *KVMClusterConfigList) DeepCopyInto(out *KVMClusterConfigList)

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

func (*KVMClusterConfigList) DeepCopyObject

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

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

type KVMClusterConfigSpec

type KVMClusterConfigSpec struct {
	Guest         KVMClusterConfigSpecGuest         `json:"guest"`
	VersionBundle KVMClusterConfigSpecVersionBundle `json:"versionBundle"`
}

+k8s:openapi-gen=true

func (*KVMClusterConfigSpec) DeepCopy

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

func (*KVMClusterConfigSpec) DeepCopyInto

func (in *KVMClusterConfigSpec) DeepCopyInto(out *KVMClusterConfigSpec)

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

type KVMClusterConfigSpecGuest

type KVMClusterConfigSpecGuest struct {
	ClusterGuestConfig `json:",inline"`
	Masters            []KVMClusterConfigSpecGuestMaster `json:"masters,omitempty"`
	Workers            []KVMClusterConfigSpecGuestWorker `json:"workers,omitempty"`
}

+k8s:openapi-gen=true

func (*KVMClusterConfigSpecGuest) DeepCopy

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

func (*KVMClusterConfigSpecGuest) DeepCopyInto

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

type KVMClusterConfigSpecGuestMaster

type KVMClusterConfigSpecGuestMaster struct {
	KVMClusterConfigSpecGuestNode `json:",inline"`
}

+k8s:openapi-gen=true

func (*KVMClusterConfigSpecGuestMaster) DeepCopy

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

func (*KVMClusterConfigSpecGuestMaster) DeepCopyInto

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

type KVMClusterConfigSpecGuestNode

type KVMClusterConfigSpecGuestNode struct {
	ID            string              `json:"id"`
	CPUCores      int                 `json:"cpuCores,omitempty"`
	MemorySizeGB  serialization.Float `json:"memorySizeGB,omitempty"`
	StorageSizeGB serialization.Float `json:"storageSizeGB,omitempty"`
}

TODO: change MemorySizeGB and StorageSizeGB to resource.Quantity +k8s:openapi-gen=true

func (*KVMClusterConfigSpecGuestNode) DeepCopy

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

func (*KVMClusterConfigSpecGuestNode) DeepCopyInto

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

type KVMClusterConfigSpecGuestWorker

type KVMClusterConfigSpecGuestWorker struct {
	KVMClusterConfigSpecGuestNode `json:",inline"`
	// +kubebuilder:validation:Optional
	// +nullable
	Labels map[string]string `json:"labels"`
}

+k8s:openapi-gen=true

func (*KVMClusterConfigSpecGuestWorker) DeepCopy

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

func (*KVMClusterConfigSpecGuestWorker) DeepCopyInto

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

type KVMClusterConfigSpecVersionBundle

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

+k8s:openapi-gen=true

func (*KVMClusterConfigSpecVersionBundle) DeepCopy

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

func (*KVMClusterConfigSpecVersionBundle) DeepCopyInto

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

type Spark

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

Spark is a placeholder resource to allow for the creation of ignition templates in Azure workload clusters, as of workload cluster release v13.0.0. Reconciled by azure-operator.

func (*Spark) DeepCopy

func (in *Spark) DeepCopy() *Spark

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

func (*Spark) DeepCopyInto

func (in *Spark) DeepCopyInto(out *Spark)

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

func (*Spark) DeepCopyObject

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

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

type SparkList

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

func (*SparkList) DeepCopy

func (in *SparkList) DeepCopy() *SparkList

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

func (*SparkList) DeepCopyInto

func (in *SparkList) DeepCopyInto(out *SparkList)

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

func (*SparkList) DeepCopyObject

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

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

type SparkSpec

type SparkSpec struct {
	// +nullable
	Values map[string]string `json:"values,omitempty"`
}

SparkSpec is the interface which defines the input parameters for a newly rendered g8s ignition template. +k8s:openapi-gen=true

func (*SparkSpec) DeepCopy

func (in *SparkSpec) DeepCopy() *SparkSpec

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

func (*SparkSpec) DeepCopyInto

func (in *SparkSpec) DeepCopyInto(out *SparkSpec)

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

type SparkStatus

type SparkStatus struct {
	// DataSecretName is a name of the secret containing the rendered ignition once created.
	DataSecretName string `json:"dataSecretName"`
	// FailureReason is a short string indicating the reason rendering failed (if it did).
	FailureReason string `json:"failureReason"`
	// FailureMessage is a longer message indicating the reason rendering failed (if it did).
	FailureMessage string `json:"failureMessage"`
	// Ready will be true when the referenced secret contains the rendered ignition and can be used for creating nodes.
	Ready bool `json:"ready"`
	// Verification is a hash of the rendered ignition to ensure that it has
	// not been changed when loaded as a remote file by the bootstrap ignition.
	// See https://coreos.com/ignition/docs/latest/configuration-v2_2.html
	Verification SparkStatusVerification `json:"verification"`
}

SparkStatus holds the rendering result. +k8s:openapi-gen=true

func (*SparkStatus) DeepCopy

func (in *SparkStatus) DeepCopy() *SparkStatus

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

func (*SparkStatus) DeepCopyInto

func (in *SparkStatus) DeepCopyInto(out *SparkStatus)

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

type SparkStatusVerification

type SparkStatusVerification struct {
	// The content of the full rendered ignition hashed by the corresponding algorithm.
	Hash string `json:"hash"`
	// The algorithm used for hashing. Must be sha512 for now.
	Algorithm string `json:"algorithm"`
}

+k8s:openapi-gen=true

func (*SparkStatusVerification) DeepCopy

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

func (*SparkStatusVerification) DeepCopyInto

func (in *SparkStatusVerification) DeepCopyInto(out *SparkStatusVerification)

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

type StorageConfig

type StorageConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              StorageConfigSpec `json:"spec"`
}

StorageConfig used to provide storage for Giant Swarm API microservices. Deprecated.

func (*StorageConfig) DeepCopy

func (in *StorageConfig) DeepCopy() *StorageConfig

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

func (*StorageConfig) DeepCopyInto

func (in *StorageConfig) DeepCopyInto(out *StorageConfig)

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

func (*StorageConfig) DeepCopyObject

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

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

type StorageConfigList

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

func (*StorageConfigList) DeepCopy

func (in *StorageConfigList) DeepCopy() *StorageConfigList

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

func (*StorageConfigList) DeepCopyInto

func (in *StorageConfigList) DeepCopyInto(out *StorageConfigList)

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

func (*StorageConfigList) DeepCopyObject

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

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

type StorageConfigSpec

type StorageConfigSpec struct {
	Storage StorageConfigSpecStorage `json:"storage"`
}

+k8s:openapi-gen=true

func (*StorageConfigSpec) DeepCopy

func (in *StorageConfigSpec) DeepCopy() *StorageConfigSpec

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

func (*StorageConfigSpec) DeepCopyInto

func (in *StorageConfigSpec) DeepCopyInto(out *StorageConfigSpec)

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

type StorageConfigSpecStorage

type StorageConfigSpecStorage struct {
	Data map[string]string `json:"data"`
}

+k8s:openapi-gen=true

func (*StorageConfigSpecStorage) DeepCopy

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

func (*StorageConfigSpecStorage) DeepCopyInto

func (in *StorageConfigSpecStorage) DeepCopyInto(out *StorageConfigSpecStorage)

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