gardener: github.com/gardener/gardener/pkg/apis/extensions/v1alpha1 Index | Files | Directories

package v1alpha1

import "github.com/gardener/gardener/pkg/apis/extensions/v1alpha1"

Package v1alpha1 is the v1alpha1 version of the API. +groupName=extensions.gardener.cloud

Index

Package Files

doc.go register.go types.go types_backupbucket.go types_backupentry.go types_cluster.go types_containerruntime.go types_controlplane.go types_defaults.go types_extension.go types_infrastructure.go types_network.go types_operatingsystemconfig.go types_worker.go zz_generated.deepcopy.go

Constants

const (
    // ContainerRuntimeResource is a constant for the name of the Container Runtime Extension resource.
    ContainerRuntimeResource = "ContainerRuntime"
    // CRINameWorkerLabel is the name of the label describing the CRI name used in this node.
    CRINameWorkerLabel = "worker.gardener.cloud/cri-name"
    // ContainerRuntimeNameWorkerLabel is a label describing a Container Runtime which should be supported on the node.
    ContainerRuntimeNameWorkerLabel = "containerruntime.worker.gardener.cloud/%s"
)
const (
    // OperatingSystemConfigPurposeProvision describes that the operating system configuration is used to bootstrap a
    // new VM.
    OperatingSystemConfigPurposeProvision OperatingSystemConfigPurpose = "provision"
    // OperatingSystemConfigPurposeReconcile describes that the operating system configuration is executed on an already
    // provisioned VM by the cloud-config-downloader script.
    OperatingSystemConfigPurposeReconcile OperatingSystemConfigPurpose = "reconcile"

    // OperatingSystemConfigDefaultFilePermission is the default value for a permission of a file.
    OperatingSystemConfigDefaultFilePermission int32 = 0644
    // OperatingSystemConfigSecretDataKey is a constant for the key in a secret's `.data` field containing the
    // results of a computed cloud config.
    OperatingSystemConfigSecretDataKey = "cloud_config"
)
const BackupBucketResource = "BackupBucket"

BackupBucketResource is a constant for the name of the BackupBucket resource.

const BackupEntryResource = "BackupEntry"

BackupEntryResource is a constant for the name of the BackupEntry resource.

const (
    // CRINameContainerD is a constant for ContainerD CRI name
    CRINameContainerD = "containerd"
)
const ClusterResource = "Cluster"

ClusterResource is a constant for the name of the Cluster resource.

const ContainerDRuntimeContainersBinFolder = "/var/bin/containerruntimes"

ContainerDRuntimeContainersBinFolder is the folder where Container Runtime binaries should be saved for ContainerD usage

const ControlPlaneResource = "ControlPlane"

ControlPlaneResource is a constant for the name of the ControlPlane resource.

const ExtensionResource = "Extension"

ExtensionResource is a constant for the name of the Extension resource.

const InfrastructureResource = "Infrastructure"

InfrastructureResource is a constant for the name of the Infrastructure resource.

const NetworkResource = "Network"

NetworkResource is a constant for the name of the Network resource.

const OperatingSystemConfigResource = "OperatingSystemConfig"

OperatingSystemConfigResource is a constant for the name of the OperatingSystemConfig resource.

const WorkerResource = "Worker"

WorkerResource is a constant for the name of the Worker resource.

Variables

var (
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    AddToScheme   = SchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: extensions.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type BackupBucket Uses

type BackupBucket struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   BackupBucketSpec   `json:"spec"`
    Status BackupBucketStatus `json:"status"`
}

BackupBucket is a specification for backup bucket.

func (*BackupBucket) DeepCopy Uses

func (in *BackupBucket) DeepCopy() *BackupBucket

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

func (*BackupBucket) DeepCopyInto Uses

func (in *BackupBucket) DeepCopyInto(out *BackupBucket)

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

func (*BackupBucket) DeepCopyObject Uses

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

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

func (*BackupBucket) GetExtensionSpec Uses

func (i *BackupBucket) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*BackupBucket) GetExtensionStatus Uses

func (i *BackupBucket) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type BackupBucketList Uses

type BackupBucketList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    // Items is the list of BackupBucket.
    Items []BackupBucket `json:"items"`
}

BackupBucketList is a list of BackupBucket resources.

func (*BackupBucketList) DeepCopy Uses

func (in *BackupBucketList) DeepCopy() *BackupBucketList

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

func (*BackupBucketList) DeepCopyInto Uses

func (in *BackupBucketList) DeepCopyInto(out *BackupBucketList)

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

func (*BackupBucketList) DeepCopyObject Uses

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

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

type BackupBucketSpec Uses

type BackupBucketSpec struct {
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
    // Region is the region of this bucket.
    Region string `json:"region"`
    // SecretRef is a reference to a secret that contains the credentials to access object store.
    SecretRef corev1.SecretReference `json:"secretRef"`
}

BackupBucketSpec is the spec for an BackupBucket resource.

func (*BackupBucketSpec) DeepCopy Uses

func (in *BackupBucketSpec) DeepCopy() *BackupBucketSpec

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

func (*BackupBucketSpec) DeepCopyInto Uses

func (in *BackupBucketSpec) DeepCopyInto(out *BackupBucketSpec)

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

type BackupBucketStatus Uses

type BackupBucketStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
    // GeneratedSecretRef is reference to the secret generated by backup bucket, which
    // will have object store specific credentials.
    // +optional
    GeneratedSecretRef *corev1.SecretReference `json:"generatedSecretRef,omitempty"`
}

BackupBucketStatus is the status for an BackupBucket resource.

func (*BackupBucketStatus) DeepCopy Uses

func (in *BackupBucketStatus) DeepCopy() *BackupBucketStatus

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

func (*BackupBucketStatus) DeepCopyInto Uses

func (in *BackupBucketStatus) DeepCopyInto(out *BackupBucketStatus)

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

type BackupEntry Uses

type BackupEntry struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   BackupEntrySpec   `json:"spec"`
    Status BackupEntryStatus `json:"status"`
}

BackupEntry is a specification for backup Entry.

func (*BackupEntry) DeepCopy Uses

func (in *BackupEntry) DeepCopy() *BackupEntry

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

func (*BackupEntry) DeepCopyInto Uses

func (in *BackupEntry) DeepCopyInto(out *BackupEntry)

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

func (*BackupEntry) DeepCopyObject Uses

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

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

func (*BackupEntry) GetExtensionSpec Uses

func (i *BackupEntry) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*BackupEntry) GetExtensionStatus Uses

func (i *BackupEntry) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type BackupEntryList Uses

type BackupEntryList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    // Items is the list of BackupEntry.
    Items []BackupEntry `json:"items"`
}

BackupEntryList is a list of BackupEntry resources.

func (*BackupEntryList) DeepCopy Uses

func (in *BackupEntryList) DeepCopy() *BackupEntryList

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

func (*BackupEntryList) DeepCopyInto Uses

func (in *BackupEntryList) DeepCopyInto(out *BackupEntryList)

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

func (*BackupEntryList) DeepCopyObject Uses

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

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

type BackupEntrySpec Uses

type BackupEntrySpec struct {
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
    // BackupBucketProviderStatus contains the provider status that has
    // been generated by the controller responsible for the `BackupBucket` resource.
    // +optional
    BackupBucketProviderStatus *runtime.RawExtension `json:"backupBucketProviderStatus,omitempty"`
    // Region is the region of this Entry.
    Region string `json:"region"`
    // BucketName is the name of backup bucket for this Backup Entry.
    BucketName string `json:"bucketName"`
    // SecretRef is a reference to a secret that contains the credentials to access object store.
    SecretRef corev1.SecretReference `json:"secretRef"`
}

BackupEntrySpec is the spec for an BackupEntry resource.

func (*BackupEntrySpec) DeepCopy Uses

func (in *BackupEntrySpec) DeepCopy() *BackupEntrySpec

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

func (*BackupEntrySpec) DeepCopyInto Uses

func (in *BackupEntrySpec) DeepCopyInto(out *BackupEntrySpec)

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

type BackupEntryStatus Uses

type BackupEntryStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
}

BackupEntryStatus is the status for an BackupEntry resource.

func (*BackupEntryStatus) DeepCopy Uses

func (in *BackupEntryStatus) DeepCopy() *BackupEntryStatus

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

func (*BackupEntryStatus) DeepCopyInto Uses

func (in *BackupEntryStatus) DeepCopyInto(out *BackupEntryStatus)

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

type CRIConfig Uses

type CRIConfig struct {
    // Name is a mandatory string containing the name of the CRI library.
    Name CRIName `json:"name"`
}

CRI config is a structure contains configurations of the CRI library

func (*CRIConfig) DeepCopy Uses

func (in *CRIConfig) DeepCopy() *CRIConfig

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

func (*CRIConfig) DeepCopyInto Uses

func (in *CRIConfig) DeepCopyInto(out *CRIConfig)

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

type CRIName Uses

type CRIName string

CRIName is a type alias for the CRI name string.

type CloudConfig Uses

type CloudConfig struct {
    // SecretRef is a reference to a secret that contains the actual result of the generated cloud config.
    SecretRef corev1.SecretReference `json:"secretRef"`
}

CloudConfig is a structure for containing the generated output for the given operating system config spec. It contains a reference to a secret as the result may contain confidential data.

func (*CloudConfig) DeepCopy Uses

func (in *CloudConfig) DeepCopy() *CloudConfig

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

func (*CloudConfig) DeepCopyInto Uses

func (in *CloudConfig) DeepCopyInto(out *CloudConfig)

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

type Cluster Uses

type Cluster struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec ClusterSpec `json:"spec"`
}

Cluster is a specification for a Cluster resource.

func (*Cluster) DeepCopy Uses

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto Uses

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

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

func (*Cluster) DeepCopyObject Uses

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

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

type ClusterList Uses

type ClusterList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    // Items is the list of Cluster.
    Items []Cluster `json:"items"`
}

ClusterList is a list of Cluster resources.

func (*ClusterList) DeepCopy Uses

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto Uses

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject Uses

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

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

type ClusterSpec Uses

type ClusterSpec struct {
    // CloudProfile is a raw extension field that contains the cloudprofile resource referenced
    // by the shoot that has to be reconciled.
    CloudProfile runtime.RawExtension `json:"cloudProfile"`
    // Seed is a raw extension field that contains the seed resource referenced by the shoot that
    // has to be reconciled.
    Seed runtime.RawExtension `json:"seed"`
    // Shoot is a raw extension field that contains the shoot resource that has to be reconciled.
    Shoot runtime.RawExtension `json:"shoot"`
}

ClusterSpec is the spec for a Cluster resource.

func (*ClusterSpec) DeepCopy Uses

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto Uses

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ContainerRuntime Uses

type ContainerRuntime struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`
    Spec              ContainerRuntimeSpec   `json:"spec"`
    Status            ContainerRuntimeStatus `json:"status"`
}

ContainerRuntime is a specification for a container runtime resource.

func (*ContainerRuntime) DeepCopy Uses

func (in *ContainerRuntime) DeepCopy() *ContainerRuntime

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

func (*ContainerRuntime) DeepCopyInto Uses

func (in *ContainerRuntime) DeepCopyInto(out *ContainerRuntime)

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

func (*ContainerRuntime) DeepCopyObject Uses

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

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

func (*ContainerRuntime) GetExtensionSpec Uses

func (i *ContainerRuntime) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*ContainerRuntime) GetExtensionStatus Uses

func (i *ContainerRuntime) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type ContainerRuntimeList Uses

type ContainerRuntimeList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    Items []ContainerRuntime `json:"items"`
}

ContainerRuntimeList is a list of ContainerRuntime resources.

func (*ContainerRuntimeList) DeepCopy Uses

func (in *ContainerRuntimeList) DeepCopy() *ContainerRuntimeList

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

func (*ContainerRuntimeList) DeepCopyInto Uses

func (in *ContainerRuntimeList) DeepCopyInto(out *ContainerRuntimeList)

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

func (*ContainerRuntimeList) DeepCopyObject Uses

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

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

type ContainerRuntimeSpec Uses

type ContainerRuntimeSpec struct {
    // BinaryPath is the Worker's machine path where container runtime extensions should copy the binaries to.
    BinaryPath string `json:"binaryPath"`
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
}

ContainerRuntimeSpec is the spec for a ContainerRuntime resource.

func (*ContainerRuntimeSpec) DeepCopy Uses

func (in *ContainerRuntimeSpec) DeepCopy() *ContainerRuntimeSpec

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

func (*ContainerRuntimeSpec) DeepCopyInto Uses

func (in *ContainerRuntimeSpec) DeepCopyInto(out *ContainerRuntimeSpec)

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

type ContainerRuntimeStatus Uses

type ContainerRuntimeStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
}

ContainerRuntimeStatus is the status for a ContainerRuntime resource.

func (*ContainerRuntimeStatus) DeepCopy Uses

func (in *ContainerRuntimeStatus) DeepCopy() *ContainerRuntimeStatus

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

func (*ContainerRuntimeStatus) DeepCopyInto Uses

func (in *ContainerRuntimeStatus) DeepCopyInto(out *ContainerRuntimeStatus)

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

type ControlPlane Uses

type ControlPlane struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   ControlPlaneSpec   `json:"spec"`
    Status ControlPlaneStatus `json:"status"`
}

ControlPlane is a specification for a ControlPlane resource.

func (*ControlPlane) DeepCopy Uses

func (in *ControlPlane) DeepCopy() *ControlPlane

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

func (*ControlPlane) DeepCopyInto Uses

func (in *ControlPlane) DeepCopyInto(out *ControlPlane)

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

func (*ControlPlane) DeepCopyObject Uses

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

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

func (*ControlPlane) GetExtensionSpec Uses

func (i *ControlPlane) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*ControlPlane) GetExtensionStatus Uses

func (i *ControlPlane) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type ControlPlaneList Uses

type ControlPlaneList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    // Items is the list of ControlPlanes.
    Items []ControlPlane `json:"items"`
}

ControlPlaneList is a list of ControlPlane resources.

func (*ControlPlaneList) DeepCopy Uses

func (in *ControlPlaneList) DeepCopy() *ControlPlaneList

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

func (*ControlPlaneList) DeepCopyInto Uses

func (in *ControlPlaneList) DeepCopyInto(out *ControlPlaneList)

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

func (*ControlPlaneList) DeepCopyObject Uses

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

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

type ControlPlaneSpec Uses

type ControlPlaneSpec struct {
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
    // Purpose contains the data if a cloud provider needs additional components in order to expose the control plane.
    // +optional
    Purpose *Purpose `json:"purpose,omitempty"`
    // InfrastructureProviderStatus contains the provider status that has
    // been generated by the controller responsible for the `Infrastructure` resource.
    // +optional
    InfrastructureProviderStatus *runtime.RawExtension `json:"infrastructureProviderStatus,omitempty"`
    // Region is the region of this control plane.
    Region string `json:"region"`
    // SecretRef is a reference to a secret that contains the cloud provider specific credentials.
    SecretRef corev1.SecretReference `json:"secretRef"`
}

ControlPlaneSpec is the spec of a ControlPlane resource.

func (*ControlPlaneSpec) DeepCopy Uses

func (in *ControlPlaneSpec) DeepCopy() *ControlPlaneSpec

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

func (*ControlPlaneSpec) DeepCopyInto Uses

func (in *ControlPlaneSpec) DeepCopyInto(out *ControlPlaneSpec)

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

func (*ControlPlaneSpec) GetExtensionPurpose Uses

func (i *ControlPlaneSpec) GetExtensionPurpose() *string

GetExtensionPurpose implements Object.

type ControlPlaneStatus Uses

type ControlPlaneStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
}

ControlPlaneStatus is the status of a ControlPlane resource.

func (*ControlPlaneStatus) DeepCopy Uses

func (in *ControlPlaneStatus) DeepCopy() *ControlPlaneStatus

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

func (*ControlPlaneStatus) DeepCopyInto Uses

func (in *ControlPlaneStatus) DeepCopyInto(out *ControlPlaneStatus)

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

type DefaultSpec Uses

type DefaultSpec struct {
    // Type contains the instance of the resource's kind.
    Type string `json:"type"`

    ProviderConfig *runtime.RawExtension `json:"providerConfig,omitempty"`
}

DefaultSpec contains common status fields for every extension resource.

func (*DefaultSpec) DeepCopy Uses

func (in *DefaultSpec) DeepCopy() *DefaultSpec

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

func (*DefaultSpec) DeepCopyInto Uses

func (in *DefaultSpec) DeepCopyInto(out *DefaultSpec)

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

func (*DefaultSpec) GetExtensionPurpose Uses

func (d *DefaultSpec) GetExtensionPurpose() *string

GetExtensionPurpose implements Spec.

func (*DefaultSpec) GetExtensionType Uses

func (d *DefaultSpec) GetExtensionType() string

GetExtensionType implements Spec.

func (*DefaultSpec) GetProviderConfig Uses

func (d *DefaultSpec) GetProviderConfig() *runtime.RawExtension

GetProviderConfig implements Spec.

type DefaultStatus Uses

type DefaultStatus struct {
    // ProviderStatus contains provider-specific status.
    // +optional
    ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"`
    // Conditions represents the latest available observations of a Seed's current state.
    // +optional
    Conditions []gardencorev1beta1.Condition `json:"conditions,omitempty"`
    // LastError holds information about the last occurred error during an operation.
    // +optional
    LastError *gardencorev1beta1.LastError `json:"lastError,omitempty"`
    // LastOperation holds information about the last operation on the resource.
    // +optional
    LastOperation *gardencorev1beta1.LastOperation `json:"lastOperation,omitempty"`
    // ObservedGeneration is the most recent generation observed for this resource.
    ObservedGeneration int64 `json:"observedGeneration,omitempty"`
    // State can be filled by the operating controller with what ever data it needs.
    // +optional
    State *runtime.RawExtension `json:"state,omitempty"`
}

DefaultStatus contains common status fields for every extension resource.

func (*DefaultStatus) DeepCopy Uses

func (in *DefaultStatus) DeepCopy() *DefaultStatus

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

func (*DefaultStatus) DeepCopyInto Uses

func (in *DefaultStatus) DeepCopyInto(out *DefaultStatus)

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

func (*DefaultStatus) GetConditions Uses

func (d *DefaultStatus) GetConditions() []gardencorev1beta1.Condition

GetConditions implements Status.

func (*DefaultStatus) GetLastError Uses

func (d *DefaultStatus) GetLastError() LastError

GetLastError implements Status.

func (*DefaultStatus) GetLastOperation Uses

func (d *DefaultStatus) GetLastOperation() LastOperation

GetLastOperation implements Status.

func (*DefaultStatus) GetObservedGeneration Uses

func (d *DefaultStatus) GetObservedGeneration() int64

GetObservedGeneration implements Status.

func (*DefaultStatus) GetProviderStatus Uses

func (d *DefaultStatus) GetProviderStatus() *runtime.RawExtension

GetProviderStatus implements Status.

func (*DefaultStatus) GetState Uses

func (d *DefaultStatus) GetState() *runtime.RawExtension

GetState implements Status.

func (*DefaultStatus) SetConditions Uses

func (d *DefaultStatus) SetConditions(c []gardencorev1beta1.Condition)

SetConditions implements Status.

type DropIn Uses

type DropIn struct {
    // Name is the name of the drop-in.
    Name string `json:"name"`
    // Content is the content of the drop-in.
    Content string `json:"content"`
}

DropIn is a drop-in configuration for a systemd unit.

func (*DropIn) DeepCopy Uses

func (in *DropIn) DeepCopy() *DropIn

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

func (*DropIn) DeepCopyInto Uses

func (in *DropIn) DeepCopyInto(out *DropIn)

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

type Extension Uses

type Extension struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   ExtensionSpec   `json:"spec"`
    Status ExtensionStatus `json:"status"`
}

Extension is a specification for a Extension resource.

func (*Extension) DeepCopy Uses

func (in *Extension) DeepCopy() *Extension

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

func (*Extension) DeepCopyInto Uses

func (in *Extension) DeepCopyInto(out *Extension)

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

func (*Extension) DeepCopyObject Uses

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

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

func (*Extension) GetExtensionSpec Uses

func (i *Extension) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*Extension) GetExtensionStatus Uses

func (i *Extension) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type ExtensionList Uses

type ExtensionList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    Items []Extension `json:"items"`
}

ExtensionList is a list of Extension resources.

func (*ExtensionList) DeepCopy Uses

func (in *ExtensionList) DeepCopy() *ExtensionList

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

func (*ExtensionList) DeepCopyInto Uses

func (in *ExtensionList) DeepCopyInto(out *ExtensionList)

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

func (*ExtensionList) DeepCopyObject Uses

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

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

type ExtensionSpec Uses

type ExtensionSpec struct {
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
}

ExtensionSpec is the spec for a Extension resource.

func (*ExtensionSpec) DeepCopy Uses

func (in *ExtensionSpec) DeepCopy() *ExtensionSpec

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

func (*ExtensionSpec) DeepCopyInto Uses

func (in *ExtensionSpec) DeepCopyInto(out *ExtensionSpec)

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

type ExtensionStatus Uses

type ExtensionStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
}

ExtensionStatus is the status for a Extension resource.

func (*ExtensionStatus) DeepCopy Uses

func (in *ExtensionStatus) DeepCopy() *ExtensionStatus

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

func (*ExtensionStatus) DeepCopyInto Uses

func (in *ExtensionStatus) DeepCopyInto(out *ExtensionStatus)

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

type File Uses

type File struct {
    // Path is the path of the file system where the file should get written to.
    Path string `json:"path"`
    // Permissions describes with which permissions the file should get written to the file system.
    // Should be defaulted to octal 0644.
    // +optional
    Permissions *int32 `json:"permissions,omitempty"`
    // Content describe the file's content.
    Content FileContent `json:"content"`
}

File is a file that should get written to the host's file system. The content can either be inlined or referenced from a secret in the same namespace.

func (*File) DeepCopy Uses

func (in *File) DeepCopy() *File

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

func (*File) DeepCopyInto Uses

func (in *File) DeepCopyInto(out *File)

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

type FileContent Uses

type FileContent struct {
    // SecretRef is a struct that contains information about the referenced secret.
    // +optional
    SecretRef *FileContentSecretRef `json:"secretRef,omitempty"`
    // Inline is a struct that contains information about the inlined data.
    // +optional
    Inline *FileContentInline `json:"inline,omitempty"`
}

FileContent can either reference a secret or contain inline configuration.

func (*FileContent) DeepCopy Uses

func (in *FileContent) DeepCopy() *FileContent

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

func (*FileContent) DeepCopyInto Uses

func (in *FileContent) DeepCopyInto(out *FileContent)

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

type FileContentInline Uses

type FileContentInline struct {
    // Encoding is the file's encoding (e.g. base64).
    Encoding string `json:"encoding"`
    // Data is the file's data.
    Data string `json:"data"`
}

FileContentInline contains keys for inlining a file content's data and encoding.

func (*FileContentInline) DeepCopy Uses

func (in *FileContentInline) DeepCopy() *FileContentInline

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

func (*FileContentInline) DeepCopyInto Uses

func (in *FileContentInline) DeepCopyInto(out *FileContentInline)

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

type FileContentSecretRef Uses

type FileContentSecretRef struct {
    // Name is the name of the secret.
    Name string `json:"name"`
    // DataKey is the key in the secret's `.data` field that should be read.
    DataKey string `json:"dataKey"`
}

FileContentSecretRef contains keys for referencing a file content's data from a secret in the same namespace.

func (*FileContentSecretRef) DeepCopy Uses

func (in *FileContentSecretRef) DeepCopy() *FileContentSecretRef

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

func (*FileContentSecretRef) DeepCopyInto Uses

func (in *FileContentSecretRef) DeepCopyInto(out *FileContentSecretRef)

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

type Infrastructure Uses

type Infrastructure struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   InfrastructureSpec   `json:"spec"`
    Status InfrastructureStatus `json:"status"`
}

Infrastructure is a specification for cloud provider infrastructure.

func (*Infrastructure) DeepCopy Uses

func (in *Infrastructure) DeepCopy() *Infrastructure

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

func (*Infrastructure) DeepCopyInto Uses

func (in *Infrastructure) DeepCopyInto(out *Infrastructure)

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

func (*Infrastructure) DeepCopyObject Uses

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

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

func (*Infrastructure) GetExtensionSpec Uses

func (i *Infrastructure) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*Infrastructure) GetExtensionStatus Uses

func (i *Infrastructure) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type InfrastructureList Uses

type InfrastructureList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    // Items is the list of Infrastructures.
    Items []Infrastructure `json:"items"`
}

InfrastructureList is a list of Infrastructure resources.

func (*InfrastructureList) DeepCopy Uses

func (in *InfrastructureList) DeepCopy() *InfrastructureList

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

func (*InfrastructureList) DeepCopyInto Uses

func (in *InfrastructureList) DeepCopyInto(out *InfrastructureList)

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

func (*InfrastructureList) DeepCopyObject Uses

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

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

type InfrastructureSpec Uses

type InfrastructureSpec struct {
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
    // Region is the region of this infrastructure.
    Region string `json:"region"`
    // SecretRef is a reference to a secret that contains the actual result of the generated cloud config.
    SecretRef corev1.SecretReference `json:"secretRef"`
    // SSHPublicKey is the public SSH key that should be used with this infrastructure.
    // +optional
    SSHPublicKey []byte `json:"sshPublicKey,omitempty"`
}

InfrastructureSpec is the spec for an Infrastructure resource.

func (*InfrastructureSpec) DeepCopy Uses

func (in *InfrastructureSpec) DeepCopy() *InfrastructureSpec

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

func (*InfrastructureSpec) DeepCopyInto Uses

func (in *InfrastructureSpec) DeepCopyInto(out *InfrastructureSpec)

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

type InfrastructureStatus Uses

type InfrastructureStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
    // NodesCIDR is the CIDR of the node network that was optionally created by the acting extension controller.
    // This might be needed in environments in which the CIDR for the network for the shoot worker node cannot
    // be statically defined in the Shoot resource but must be computed dynamically.
    // +optional
    NodesCIDR *string `json:"nodesCIDR,omitempty"`
}

InfrastructureStatus is the status for an Infrastructure resource.

func (*InfrastructureStatus) DeepCopy Uses

func (in *InfrastructureStatus) DeepCopy() *InfrastructureStatus

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

func (*InfrastructureStatus) DeepCopyInto Uses

func (in *InfrastructureStatus) DeepCopyInto(out *InfrastructureStatus)

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

type LastError Uses

type LastError interface {
    // GetDescription gets the description of the last occurred error.
    GetDescription() string
    // GetTaskID gets the task ID of the last error.
    GetTaskID() *string
    // GetCodes gets the error codes of the last error.
    GetCodes() []gardencorev1beta1.ErrorCode
    // GetLastUpdateTime retrieves the last time the error was updated.
    GetLastUpdateTime() *metav1.Time
}

LastError is the last error on an object.

type LastOperation Uses

type LastOperation interface {
    // GetDescription returns the description of the last operation.
    GetDescription() string
    // GetLastUpdateTime returns the last update time of the last operation.
    GetLastUpdateTime() metav1.Time
    // GetProgress returns progress of the last operation.
    GetProgress() int32
    // GetState returns the LastOperationState of the last operation.
    GetState() gardencorev1beta1.LastOperationState
    // GetType returns the LastOperationType of the last operation.
    GetType() gardencorev1beta1.LastOperationType
}

LastOperation is the last operation on an object.

type MachineDeployment Uses

type MachineDeployment struct {
    // Name is the name of the `MachineDeployment` resource.
    Name string `json:"name"`
    // Minimum is the minimum number for this machine deployment.
    Minimum int32 `json:"minimum"`
    // Maximum is the maximum number for this machine deployment.
    Maximum int32 `json:"maximum"`
}

MachineDeployment is a created machine deployment.

func (*MachineDeployment) DeepCopy Uses

func (in *MachineDeployment) DeepCopy() *MachineDeployment

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

func (*MachineDeployment) DeepCopyInto Uses

func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment)

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

type MachineImage Uses

type MachineImage struct {
    // Name is the logical name of the machine image.
    Name string `json:"name"`
    // Version is the version of the machine image.
    Version string `json:"version"`
}

MachineImage contains logical information about the name and the version of the machie image that should be used. The logical information must be mapped to the provider-specific information (e.g., AMIs, ...) by the provider itself.

func (*MachineImage) DeepCopy Uses

func (in *MachineImage) DeepCopy() *MachineImage

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

func (*MachineImage) DeepCopyInto Uses

func (in *MachineImage) DeepCopyInto(out *MachineImage)

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

type Network Uses

type Network struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   NetworkSpec   `json:"spec"`
    Status NetworkStatus `json:"status"`
}

Network is the specification for cluster networking.

func (*Network) DeepCopy Uses

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto Uses

func (in *Network) DeepCopyInto(out *Network)

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

func (*Network) DeepCopyObject Uses

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

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

func (*Network) GetExtensionSpec Uses

func (i *Network) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*Network) GetExtensionStatus Uses

func (i *Network) GetExtensionStatus() Status

GetExtensionStatus implements Object.

func (*Network) GetExtensionType Uses

func (n *Network) GetExtensionType() string

GetExtensionType returns the type of this Network resource.

type NetworkList Uses

type NetworkList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    // Items is the list of Networks.
    Items []Network `json:"items"`
}

NetworkList is a list of Network resources.

func (*NetworkList) DeepCopy Uses

func (in *NetworkList) DeepCopy() *NetworkList

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

func (*NetworkList) DeepCopyInto Uses

func (in *NetworkList) DeepCopyInto(out *NetworkList)

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

func (*NetworkList) DeepCopyObject Uses

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

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

type NetworkSpec Uses

type NetworkSpec struct {
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
    // PodCIDR defines the CIDR that will be used for pods.
    PodCIDR string `json:"podCIDR"`
    // ServiceCIDR defines the CIDR that will be used for services.
    ServiceCIDR string `json:"serviceCIDR"`
}

NetworkSpec is the spec for an Network resource.

func (*NetworkSpec) DeepCopy Uses

func (in *NetworkSpec) DeepCopy() *NetworkSpec

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

func (*NetworkSpec) DeepCopyInto Uses

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

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

type NetworkStatus Uses

type NetworkStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
}

NetworkStatus is the status for an Network resource.

func (*NetworkStatus) DeepCopy Uses

func (in *NetworkStatus) DeepCopy() *NetworkStatus

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

func (*NetworkStatus) DeepCopyInto Uses

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

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

type Object Uses

type Object interface {
    metav1.Object
    // GetExtensionStatus retrieves the object's status.
    GetExtensionStatus() Status
    // GetExtensionSpec retrieves the object's spec.
    GetExtensionSpec() Spec
}

Object is an extension object resource.

type OperatingSystemConfig Uses

type OperatingSystemConfig struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   OperatingSystemConfigSpec   `json:"spec"`
    Status OperatingSystemConfigStatus `json:"status"`
}

OperatingSystemConfig is a specification for a OperatingSystemConfig resource

func (*OperatingSystemConfig) DeepCopy Uses

func (in *OperatingSystemConfig) DeepCopy() *OperatingSystemConfig

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

func (*OperatingSystemConfig) DeepCopyInto Uses

func (in *OperatingSystemConfig) DeepCopyInto(out *OperatingSystemConfig)

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

func (*OperatingSystemConfig) DeepCopyObject Uses

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

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

func (*OperatingSystemConfig) GetExtensionSpec Uses

func (o *OperatingSystemConfig) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*OperatingSystemConfig) GetExtensionStatus Uses

func (o *OperatingSystemConfig) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type OperatingSystemConfigList Uses

type OperatingSystemConfigList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    // Items is the list of OperatingSystemConfigs.
    Items []OperatingSystemConfig `json:"items"`
}

OperatingSystemConfigList is a list of OperatingSystemConfig resources.

func (*OperatingSystemConfigList) DeepCopy Uses

func (in *OperatingSystemConfigList) DeepCopy() *OperatingSystemConfigList

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

func (*OperatingSystemConfigList) DeepCopyInto Uses

func (in *OperatingSystemConfigList) DeepCopyInto(out *OperatingSystemConfigList)

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

func (*OperatingSystemConfigList) DeepCopyObject Uses

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

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

type OperatingSystemConfigPurpose Uses

type OperatingSystemConfigPurpose string

OperatingSystemConfigPurpose is a string alias.

type OperatingSystemConfigSpec Uses

type OperatingSystemConfigSpec struct {
    // CRI config is a structure contains configurations of the CRI library
    // +optional
    CRIConfig *CRIConfig `json:"criConfig,omitempty"`
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`
    // Purpose describes how the result of this OperatingSystemConfig is used by Gardener. Either it
    // gets sent to the `Worker` extension controller to bootstrap a VM, or it is downloaded by the
    // cloud-config-downloader script already running on a bootstrapped VM.
    Purpose OperatingSystemConfigPurpose `json:"purpose"`
    // ReloadConfigFilePath is the path to the generated operating system configuration. If set, controllers
    // are asked to use it when determining the .status.command of this resource. For example, if for CoreOS
    // the reload-path might be "/var/lib/config"; then the controller shall set .status.command to
    // "/usr/bin/coreos-cloudinit --from-file=/var/lib/config".
    // +optional
    ReloadConfigFilePath *string `json:"reloadConfigFilePath,omitempty"`
    // Units is a list of unit for the operating system configuration (usually, a systemd unit).
    // +patchMergeKey=name
    // +patchStrategy=merge
    // +optional
    Units []Unit `json:"units,omitempty" patchStrategy:"merge" patchMergeKey:"name"`
    // Files is a list of files that should get written to the host's file system.
    // +patchMergeKey=path
    // +patchStrategy=merge
    // +optional
    Files []File `json:"files,omitempty" patchStrategy:"merge" patchMergeKey:"path"`
}

OperatingSystemConfigSpec is the spec for a OperatingSystemConfig resource.

func (*OperatingSystemConfigSpec) DeepCopy Uses

func (in *OperatingSystemConfigSpec) DeepCopy() *OperatingSystemConfigSpec

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

func (*OperatingSystemConfigSpec) DeepCopyInto Uses

func (in *OperatingSystemConfigSpec) DeepCopyInto(out *OperatingSystemConfigSpec)

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

func (*OperatingSystemConfigSpec) GetExtensionPurpose Uses

func (o *OperatingSystemConfigSpec) GetExtensionPurpose() *string

GetExtensionPurpose implements Object.

type OperatingSystemConfigStatus Uses

type OperatingSystemConfigStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
    // CloudConfig is a structure for containing the generated output for the given operating system
    // config spec. It contains a reference to a secret as the result may contain confidential data.
    // +optional
    CloudConfig *CloudConfig `json:"cloudConfig,omitempty"`
    // Command is the command whose execution renews/reloads the cloud config on an existing VM, e.g.
    // "/usr/bin/reload-cloud-config -from-file=<path>". The <path> is optionally provided by Gardener
    // in the .spec.reloadConfigFilePath field.
    // +optional
    Command *string `json:"command,omitempty"`
    // Units is a list of systemd unit names that are part of the generated Cloud Config and shall be
    // restarted when a new version has been downloaded.
    // +optional
    Units []string `json:"units,omitempty"`
}

OperatingSystemConfigStatus is the status for a OperatingSystemConfig resource.

func (*OperatingSystemConfigStatus) DeepCopy Uses

func (in *OperatingSystemConfigStatus) DeepCopy() *OperatingSystemConfigStatus

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

func (*OperatingSystemConfigStatus) DeepCopyInto Uses

func (in *OperatingSystemConfigStatus) DeepCopyInto(out *OperatingSystemConfigStatus)

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

type Purpose Uses

type Purpose string

Purpose is a string alias.

const (
    // Normal triggers the ControlPlane controllers for the shoot provider.
    Normal Purpose = "normal"
    // Exposure triggers the ControlPlane controllers for the exposure settings.
    Exposure Purpose = "exposure"
)

type Spec Uses

type Spec interface {
    // GetExtensionType retrieves the extension type.
    GetExtensionType() string
    // GetExtensionPurpose retrieves the extension purpose.
    GetExtensionPurpose() *string
    // GetProviderConfig retrieves the provider config.
    GetProviderConfig() *runtime.RawExtension
}

Spec is the spec section of an Object.

type Status Uses

type Status interface {
    // GetProviderStatus retrieves the provider status.
    GetProviderStatus() *runtime.RawExtension
    // GetConditions retrieves the Conditions of a status.
    // Conditions may be nil.
    GetConditions() []gardencorev1beta1.Condition
    // SetConditions sets the Conditions of a status.
    SetConditions([]gardencorev1beta1.Condition)
    // GetLastOperation retrieves the LastOperation of a status.
    // LastOperation may be nil.
    GetLastOperation() LastOperation
    // GetObservedGeneration retrieves the last generation observed by the extension controller.
    GetObservedGeneration() int64
    // GetLastError retrieves the LastError of a status.
    // LastError may be nil.
    GetLastError() LastError
    // GetState retrieves the State of the extension
    GetState() *runtime.RawExtension
}

Status is the status of an Object.

type Unit Uses

type Unit struct {
    // Name is the name of a unit.
    Name string `json:"name"`
    // Command is the unit's command.
    // +optional
    Command *string `json:"command,omitempty"`
    // Enable describes whether the unit is enabled or not.
    // +optional
    Enable *bool `json:"enable,omitempty"`
    // Content is the unit's content.
    // +optional
    Content *string `json:"content,omitempty"`
    // DropIns is a list of drop-ins for this unit.
    // +patchMergeKey=name
    // +patchStrategy=merge
    // +optional
    DropIns []DropIn `json:"dropIns,omitempty" patchStrategy:"merge" patchMergeKey:"name"`
}

Unit is a unit for the operating system configuration (usually, a systemd unit).

func (*Unit) DeepCopy Uses

func (in *Unit) DeepCopy() *Unit

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

func (*Unit) DeepCopyInto Uses

func (in *Unit) DeepCopyInto(out *Unit)

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

type Volume Uses

type Volume struct {
    // Name of the volume to make it referencable.
    // +optional
    Name *string `json:"name,omitempty"`
    // Type is the type of the volume.
    // +optional
    Type *string `json:"type,omitempty"`
    // Size is the of the root volume.
    Size string `json:"size"`
    // Encrypted determines if the volume should be encrypted.
    // +optional
    Encrypted *bool `json:"encrypted,omitempty"`
}

Volume contains information about the root disks that should be used for worker pools.

func (*Volume) DeepCopy Uses

func (in *Volume) DeepCopy() *Volume

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

func (*Volume) DeepCopyInto Uses

func (in *Volume) DeepCopyInto(out *Volume)

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

type Worker Uses

type Worker struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   WorkerSpec   `json:"spec"`
    Status WorkerStatus `json:"status"`
}

Worker is a specification for a Worker resource.

func (*Worker) DeepCopy Uses

func (in *Worker) DeepCopy() *Worker

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

func (*Worker) DeepCopyInto Uses

func (in *Worker) DeepCopyInto(out *Worker)

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

func (*Worker) DeepCopyObject Uses

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

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

func (*Worker) GetExtensionSpec Uses

func (i *Worker) GetExtensionSpec() Spec

GetExtensionSpec implements Object.

func (*Worker) GetExtensionStatus Uses

func (i *Worker) GetExtensionStatus() Status

GetExtensionStatus implements Object.

type WorkerList Uses

type WorkerList struct {
    metav1.TypeMeta `json:",inline"`
    // +optional
    metav1.ListMeta `json:"metadata,omitempty"`

    // Items is the list of Worker.
    Items []Worker `json:"items"`
}

WorkerList is a list of Worker resources.

func (*WorkerList) DeepCopy Uses

func (in *WorkerList) DeepCopy() *WorkerList

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

func (*WorkerList) DeepCopyInto Uses

func (in *WorkerList) DeepCopyInto(out *WorkerList)

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

func (*WorkerList) DeepCopyObject Uses

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

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

type WorkerPool Uses

type WorkerPool struct {
    // MachineType contains information about the machine type that should be used for this worker pool.
    MachineType string `json:"machineType"`
    // Maximum is the maximum size of the worker pool.
    Maximum int32 `json:"maximum"`
    // MaxSurge is maximum number of VMs that are created during an update.
    MaxSurge intstr.IntOrString `json:"maxSurge"`
    // MaxUnavailable is the maximum number of VMs that can be unavailable during an update.
    MaxUnavailable intstr.IntOrString `json:"maxUnavailable"`
    // Annotations is a map of key/value pairs for annotations for all the `Node` objects in this worker pool.
    // +optional
    Annotations map[string]string `json:"annotations,omitempty"`
    // Labels is a map of key/value pairs for labels for all the `Node` objects in this worker pool.
    // +optional
    Labels map[string]string `json:"labels,omitempty"`
    // Taints is a list of taints for all the `Node` objects in this worker pool.
    // +optional
    Taints []corev1.Taint `json:"taints,omitempty"`
    // MachineImage contains logical information about the name and the version of the machie image that
    // should be used. The logical information must be mapped to the provider-specific information (e.g.,
    // AMIs, ...) by the provider itself.
    MachineImage MachineImage `json:"machineImage,omitempty"`
    // Minimum is the minimum size of the worker pool.
    Minimum int32 `json:"minimum"`
    // Name is the name of this worker pool.
    Name string `json:"name"`
    // ProviderConfig is a provider specific configuration for the worker pool.
    // +optional
    ProviderConfig *runtime.RawExtension `json:"providerConfig,omitempty"`
    // UserData is a base64-encoded string that contains the data that is sent to the provider's APIs
    // when a new machine/VM that is part of this worker pool shall be spawned.
    UserData []byte `json:"userData"`
    // Volume contains information about the root disks that should be used for this worker pool.
    // +optional
    Volume *Volume `json:"volume,omitempty"`
    // DataVolumes contains a list of additional worker volumes.
    // +optional
    DataVolumes []Volume `json:"dataVolumes,omitempty"`
    // KubeletDataVolumeName contains the name of a dataVolume that should be used for storing kubelet state.
    // +optional
    KubeletDataVolumeName *string `json:"kubeletDataVolumeName,omitempty"`
    // Zones contains information about availability zones for this worker pool.
    // +optional
    Zones []string `json:"zones,omitempty"`
}

WorkerPool is the definition of a specific worker pool.

func (*WorkerPool) DeepCopy Uses

func (in *WorkerPool) DeepCopy() *WorkerPool

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

func (*WorkerPool) DeepCopyInto Uses

func (in *WorkerPool) DeepCopyInto(out *WorkerPool)

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

type WorkerSpec Uses

type WorkerSpec struct {
    // DefaultSpec is a structure containing common fields used by all extension resources.
    DefaultSpec `json:",inline"`

    // InfrastructureProviderStatus is a raw extension field that contains the provider status that has
    // been generated by the controller responsible for the `Infrastructure` resource.
    // +optional
    InfrastructureProviderStatus *runtime.RawExtension `json:"infrastructureProviderStatus,omitempty"`
    // Region is the name of the region where the worker pool should be deployed to.
    Region string `json:"region"`
    // SecretRef is a reference to a secret that contains the cloud provider specific credentials.
    SecretRef corev1.SecretReference `json:"secretRef"`
    // SSHPublicKey is the public SSH key that should be used with these workers.
    // +optional
    SSHPublicKey []byte `json:"sshPublicKey,omitempty"`
    // Pools is a list of worker pools.
    // +patchMergeKey=name
    // +patchStrategy=merge
    Pools []WorkerPool `json:"pools" patchStrategy:"merge" patchMergeKey:"name"`
}

WorkerSpec is the spec for a Worker resource.

func (*WorkerSpec) DeepCopy Uses

func (in *WorkerSpec) DeepCopy() *WorkerSpec

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

func (*WorkerSpec) DeepCopyInto Uses

func (in *WorkerSpec) DeepCopyInto(out *WorkerSpec)

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

type WorkerStatus Uses

type WorkerStatus struct {
    // DefaultStatus is a structure containing common fields used by all extension resources.
    DefaultStatus `json:",inline"`
    // MachineDeployments is a list of created machine deployments. It will be used to e.g. configure
    // the cluster-autoscaler properly.
    // +patchMergeKey=name
    // +patchStrategy=merge
    MachineDeployments []MachineDeployment `json:"machineDeployments,omitempty" patchStrategy:"merge" patchMergeKey:"name"`
}

WorkerStatus is the status for a Worker resource.

func (*WorkerStatus) DeepCopy Uses

func (in *WorkerStatus) DeepCopy() *WorkerStatus

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

func (*WorkerStatus) DeepCopyInto Uses

func (in *WorkerStatus) DeepCopyInto(out *WorkerStatus)

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

Directories

PathSynopsis
helper

Package v1alpha1 imports 7 packages (graph) and is imported by 74 packages. Updated 2020-03-30. Refresh now. Tools for package owners.