Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BackupBucket
- type BackupBucketList
- type BackupBucketSpec
- type BackupBucketStatus
- type BackupEntry
- type BackupEntryList
- type BackupEntrySpec
- type BackupEntryStatus
- type CloudConfig
- type Cluster
- type ClusterList
- type ClusterSpec
- type ControlPlane
- type ControlPlaneList
- type ControlPlaneSpec
- type ControlPlaneStatus
- type DefaultSpec
- type DefaultStatus
- type DropIn
- type Extension
- type ExtensionList
- type ExtensionSpec
- type ExtensionStatus
- type ExtensionType
- type File
- type FileContent
- type FileContentInline
- type FileContentSecretRef
- type Infrastructure
- type InfrastructureList
- type InfrastructureSpec
- type InfrastructureStatus
- type MachineDeployment
- type MachineImage
- type Network
- type NetworkList
- type NetworkSpec
- type NetworkStatus
- type OperatingSystemConfig
- type OperatingSystemConfigList
- type OperatingSystemConfigPurpose
- type OperatingSystemConfigSpec
- type OperatingSystemConfigStatus
- type Unit
- type Volume
- type Worker
- type WorkerList
- type WorkerPool
- type WorkerSpec
- type WorkerStatus
Constants ¶
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 ClusterResource = "Cluster"
ClusterResource is a constant for the name of the Cluster resource.
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 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
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type BackupBucket ¶
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 ¶
func (in *BackupBucket) DeepCopy() *BackupBucket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucket.
func (*BackupBucket) DeepCopyInto ¶
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 ¶
func (in *BackupBucket) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupBucket) GetExtensionType ¶
func (i *BackupBucket) GetExtensionType() string
GetExtensionType returns the type of this BackupBucket resource.
type BackupBucketList ¶
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 ¶
func (in *BackupBucketList) DeepCopy() *BackupBucketList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketList.
func (*BackupBucketList) DeepCopyInto ¶
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 ¶
func (in *BackupBucketList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupBucketSpec ¶
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 ¶
func (in *BackupBucketSpec) DeepCopy() *BackupBucketSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketSpec.
func (*BackupBucketSpec) DeepCopyInto ¶
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 ¶
type BackupBucketStatus struct { // DefaultStatus is a structure containing common fields used by all extension resources. DefaultStatus `json:",inline"` }
BackupBucketStatus is the status for an BackupBucket resource.
func (*BackupBucketStatus) DeepCopy ¶
func (in *BackupBucketStatus) DeepCopy() *BackupBucketStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketStatus.
func (*BackupBucketStatus) DeepCopyInto ¶
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 ¶
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 ¶
func (in *BackupEntry) DeepCopy() *BackupEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntry.
func (*BackupEntry) DeepCopyInto ¶
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 ¶
func (in *BackupEntry) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupEntry) GetExtensionType ¶
func (i *BackupEntry) GetExtensionType() string
GetExtensionType returns the type of this BackupEntry resource.
type BackupEntryList ¶
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 ¶
func (in *BackupEntryList) DeepCopy() *BackupEntryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntryList.
func (*BackupEntryList) DeepCopyInto ¶
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 ¶
func (in *BackupEntryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupEntrySpec ¶
type BackupEntrySpec struct { // DefaultSpec is a structure containing common fields used by all extension resources. DefaultSpec `json:",inline"` // 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 ¶
func (in *BackupEntrySpec) DeepCopy() *BackupEntrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntrySpec.
func (*BackupEntrySpec) DeepCopyInto ¶
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 ¶
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 ¶
func (in *BackupEntryStatus) DeepCopy() *BackupEntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntryStatus.
func (*BackupEntryStatus) DeepCopyInto ¶
func (in *BackupEntryStatus) DeepCopyInto(out *BackupEntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudConfig ¶
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 ¶
func (in *CloudConfig) DeepCopy() *CloudConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudConfig.
func (*CloudConfig) DeepCopyInto ¶
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterList ¶
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 ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
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 ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSpec ¶
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 ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlane ¶
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 ¶
func (in *ControlPlane) DeepCopy() *ControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlane.
func (*ControlPlane) DeepCopyInto ¶
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 ¶
func (in *ControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControlPlaneList ¶
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 ¶
func (in *ControlPlaneList) DeepCopy() *ControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneList.
func (*ControlPlaneList) DeepCopyInto ¶
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 ¶
func (in *ControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControlPlaneSpec ¶
type ControlPlaneSpec struct { // DefaultSpec is a structure containing common fields used by all extension resources. DefaultSpec `json:",inline"` // ProviderConfig contains provider-specific configuration for this control plane. // +optional ProviderConfig *runtime.RawExtension `json:"providerConfig,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 ¶
func (in *ControlPlaneSpec) DeepCopy() *ControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneSpec.
func (*ControlPlaneSpec) DeepCopyInto ¶
func (in *ControlPlaneSpec) DeepCopyInto(out *ControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneStatus ¶
type ControlPlaneStatus struct { // DefaultStatus is a structure containing common fields used by all extension resources. DefaultStatus `json:",inline"` // ProviderStatus contains provider-specific output for this control plane. // +optional ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"` }
ControlPlaneStatus is the status of a ControlPlane resource.
func (*ControlPlaneStatus) DeepCopy ¶
func (in *ControlPlaneStatus) DeepCopy() *ControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneStatus.
func (*ControlPlaneStatus) DeepCopyInto ¶
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 ¶
type DefaultSpec struct { // Type contains the instance of the resource's kind. Type string `json:"type"` }
DefaultSpec contains common status fields for every extension resource.
func (*DefaultSpec) DeepCopy ¶
func (in *DefaultSpec) DeepCopy() *DefaultSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultSpec.
func (*DefaultSpec) DeepCopyInto ¶
func (in *DefaultSpec) DeepCopyInto(out *DefaultSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultStatus ¶
type DefaultStatus struct { // Conditions represents the latest available observations of a Seed's current state. // +optional Conditions []gardencorev1alpha1.Condition `json:"conditions,omitempty"` // LastError holds information about the last occurred error during an operation. // +optional LastError *gardencorev1alpha1.LastError `json:"lastError,omitempty"` // LastOperation holds information about the last operation on the resource. // +optional LastOperation *gardencorev1alpha1.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. State string `json:"state,omitempty"` }
DefaultStatus contains common status fields for every extension resource.
func (*DefaultStatus) DeepCopy ¶
func (in *DefaultStatus) DeepCopy() *DefaultStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultStatus.
func (*DefaultStatus) DeepCopyInto ¶
func (in *DefaultStatus) DeepCopyInto(out *DefaultStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DropIn ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DropIn.
func (*DropIn) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Extension ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Extension) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Extension) GetExtensionType ¶
GetExtensionType returns the type of this Extension resource.
type ExtensionList ¶
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 ¶
func (in *ExtensionList) DeepCopy() *ExtensionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionList.
func (*ExtensionList) DeepCopyInto ¶
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 ¶
func (in *ExtensionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtensionSpec ¶
type ExtensionSpec struct { // DefaultSpec is a structure containing common fields used by all extension resources. DefaultSpec `json:",inline"` // ProviderConfig is the configuration for the respective extension controller. // +optional ProviderConfig *runtime.RawExtension `json:"providerConfig,omitempty"` }
ExtensionSpec is the spec for a Extension resource.
func (*ExtensionSpec) DeepCopy ¶
func (in *ExtensionSpec) DeepCopy() *ExtensionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionSpec.
func (*ExtensionSpec) DeepCopyInto ¶
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 ¶
type ExtensionStatus struct { // DefaultStatus is a structure containing common fields used by all extension resources. DefaultStatus `json:",inline"` // ProviderStatus contains provider-specific output for this extension. // +optional ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"` }
ExtensionStatus is the status for a Extension resource.
func (*ExtensionStatus) DeepCopy ¶
func (in *ExtensionStatus) DeepCopy() *ExtensionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionStatus.
func (*ExtensionStatus) DeepCopyInto ¶
func (in *ExtensionStatus) DeepCopyInto(out *ExtensionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionType ¶
type ExtensionType interface {
GetExtensionType() string
}
ExtensionType is an interface for Gardener extensions API types.
type File ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileContent ¶
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 ¶
func (in *FileContent) DeepCopy() *FileContent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileContent.
func (*FileContent) DeepCopyInto ¶
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 ¶
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 ¶
func (in *FileContentInline) DeepCopy() *FileContentInline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileContentInline.
func (*FileContentInline) DeepCopyInto ¶
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 ¶
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 ¶
func (in *FileContentSecretRef) DeepCopy() *FileContentSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileContentSecretRef.
func (*FileContentSecretRef) DeepCopyInto ¶
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 ¶
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 ¶
func (in *Infrastructure) DeepCopy() *Infrastructure
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Infrastructure.
func (*Infrastructure) DeepCopyInto ¶
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 ¶
func (in *Infrastructure) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Infrastructure) GetExtensionType ¶
func (i *Infrastructure) GetExtensionType() string
GetExtensionType returns the type of this Infrastructure resource.
type InfrastructureList ¶
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 ¶
func (in *InfrastructureList) DeepCopy() *InfrastructureList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureList.
func (*InfrastructureList) DeepCopyInto ¶
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 ¶
func (in *InfrastructureList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfrastructureSpec ¶
type InfrastructureSpec struct { // DefaultSpec is a structure containing common fields used by all extension resources. DefaultSpec `json:",inline"` // ProviderConfig contains provider-specific configuration for this infrastructure. // +optional ProviderConfig *runtime.RawExtension `json:"providerConfig,omitempty"` // 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 ¶
func (in *InfrastructureSpec) DeepCopy() *InfrastructureSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureSpec.
func (*InfrastructureSpec) DeepCopyInto ¶
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 ¶
type InfrastructureStatus struct { // DefaultStatus is a structure containing common fields used by all extension resources. DefaultStatus `json:",inline"` // ProviderStatus contains provider-specific output for this infrastructure. // +optional ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"` }
InfrastructureStatus is the status for an Infrastructure resource.
func (*InfrastructureStatus) DeepCopy ¶
func (in *InfrastructureStatus) DeepCopy() *InfrastructureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStatus.
func (*InfrastructureStatus) DeepCopyInto ¶
func (in *InfrastructureStatus) DeepCopyInto(out *InfrastructureStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeployment ¶
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 int `json:"minimum"` // Maximum is the maximum number for this machine deployment. Maximum int `json:"maximum"` }
MachineDeployment is a created machine deployment.
func (*MachineDeployment) DeepCopy ¶
func (in *MachineDeployment) DeepCopy() *MachineDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeployment.
func (*MachineDeployment) DeepCopyInto ¶
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 ¶
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 ¶
func (in *MachineImage) DeepCopy() *MachineImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImage.
func (*MachineImage) DeepCopyInto ¶
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Network) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Network) GetExtensionType ¶
GetExtensionType returns the type of this Network resource.
type NetworkList ¶
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 ¶
func (in *NetworkList) DeepCopy() *NetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.
func (*NetworkList) DeepCopyInto ¶
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 ¶
func (in *NetworkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkSpec ¶
type NetworkSpec struct { // DefaultSpec is a structure containing common fields used by all extension resources. DefaultSpec `json:",inline"` // CloudProvider is the type of the cloud provider (e.g., aws, azure, gcp,...) CloudProvider string `json:"cloudProvider,omitempty"` // ClusterCIDR defines the CIDR that will be used for pods. ClusterCIDR string `json:"clusterCIDR"` // ServiceCIDR defines the CIDR that will be used for services. ServiceCIDR string `json:"serviceNetworkCIDR"` // ProviderConfig contains plugin-specific configuration. // +optional ProviderConfig *runtime.RawExtension `json:"providerConfig,omitempty"` }
NetworkSpec is the spec for an Network resource.
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
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 ¶
type NetworkStatus struct { // DefaultStatus is a structure containing common fields used by all extension resources. DefaultStatus `json:",inline"` // ProviderStatus contains plugin-specific output. // +optional ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"` }
NetworkStatus is the status for an Network resource.
func (*NetworkStatus) DeepCopy ¶
func (in *NetworkStatus) DeepCopy() *NetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.
func (*NetworkStatus) DeepCopyInto ¶
func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperatingSystemConfig ¶
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 ¶
func (in *OperatingSystemConfig) DeepCopy() *OperatingSystemConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingSystemConfig.
func (*OperatingSystemConfig) DeepCopyInto ¶
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 ¶
func (in *OperatingSystemConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OperatingSystemConfig) GetExtensionType ¶
func (o *OperatingSystemConfig) GetExtensionType() string
GetExtensionType returns the type of this OperatingSystemConfig resource.
type OperatingSystemConfigList ¶
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 ¶
func (in *OperatingSystemConfigList) DeepCopy() *OperatingSystemConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingSystemConfigList.
func (*OperatingSystemConfigList) DeepCopyInto ¶
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 ¶
func (in *OperatingSystemConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OperatingSystemConfigPurpose ¶
type OperatingSystemConfigPurpose string
OperatingSystemConfigPurpose is a string alias.
type OperatingSystemConfigSpec ¶
type OperatingSystemConfigSpec struct { // 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 machine-controller-manager 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"` // Files is a list of files that should get written to the host's file system. // +optional Files []File `json:"files,omitempty"` }
OperatingSystemConfigSpec is the spec for a OperatingSystemConfig resource.
func (*OperatingSystemConfigSpec) DeepCopy ¶
func (in *OperatingSystemConfigSpec) DeepCopy() *OperatingSystemConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingSystemConfigSpec.
func (*OperatingSystemConfigSpec) DeepCopyInto ¶
func (in *OperatingSystemConfigSpec) DeepCopyInto(out *OperatingSystemConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperatingSystemConfigStatus ¶
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 ¶
func (in *OperatingSystemConfigStatus) DeepCopy() *OperatingSystemConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingSystemConfigStatus.
func (*OperatingSystemConfigStatus) DeepCopyInto ¶
func (in *OperatingSystemConfigStatus) DeepCopyInto(out *OperatingSystemConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Unit ¶
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"` }
Unit is a unit for the operating system configuration (usually, a systemd unit).
func (*Unit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unit.
func (*Unit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Volume ¶
type Volume struct { // Type is the type of the volume. Type string `json:"type"` // Size is the size of the volume. Size string `json:"size"` }
Volume contains information about the root disks that should be used for worker pools.
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Worker ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Worker.
func (*Worker) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Worker) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Worker) GetExtensionType ¶
GetExtensionType returns the type of this Worker resource.
type WorkerList ¶
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 ¶
func (in *WorkerList) DeepCopy() *WorkerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerList.
func (*WorkerList) DeepCopyInto ¶
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 ¶
func (in *WorkerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkerPool ¶
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 int `json:"maximum"` // MaxSurge is maximum number of VMs that are created during an update. MaxSurge intstr.IntOrString `json:"maxSurge"` 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 int `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"` // 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 ¶
func (in *WorkerPool) DeepCopy() *WorkerPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPool.
func (*WorkerPool) DeepCopyInto ¶
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 ¶
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. Pools []WorkerPool `json:"pools"` }
WorkerSpec is the spec for a Worker resource.
func (*WorkerSpec) DeepCopy ¶
func (in *WorkerSpec) DeepCopy() *WorkerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerSpec.
func (*WorkerSpec) DeepCopyInto ¶
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 ¶
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. MachineDeployments []MachineDeployment `json:"machineDeployments,omitempty"` }
WorkerStatus is the status for a Worker resource.
func (*WorkerStatus) DeepCopy ¶
func (in *WorkerStatus) DeepCopy() *WorkerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerStatus.
func (*WorkerStatus) DeepCopyInto ¶
func (in *WorkerStatus) DeepCopyInto(out *WorkerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.