v1alpha1

package
v1.34.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0, MIT Imports: 8 Imported by: 2

Documentation

Overview

Package v1alpha1 contains the GCP provider API resources. +groupName=gcp.provider.extensions.gardener.cloud

Index

Constants

View Source
const GroupName = "gcp.provider.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_gcp_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig

func Convert_gcp_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *gcp.CloudControllerManagerConfig, out *CloudControllerManagerConfig, s conversion.Scope) error

Convert_gcp_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_gcp_CloudNAT_To_v1alpha1_CloudNAT

func Convert_gcp_CloudNAT_To_v1alpha1_CloudNAT(in *gcp.CloudNAT, out *CloudNAT, s conversion.Scope) error

Convert_gcp_CloudNAT_To_v1alpha1_CloudNAT is an autogenerated conversion function.

func Convert_gcp_CloudProfileConfig_To_v1alpha1_CloudProfileConfig

func Convert_gcp_CloudProfileConfig_To_v1alpha1_CloudProfileConfig(in *gcp.CloudProfileConfig, out *CloudProfileConfig, s conversion.Scope) error

Convert_gcp_CloudProfileConfig_To_v1alpha1_CloudProfileConfig is an autogenerated conversion function.

func Convert_gcp_CloudRouter_To_v1alpha1_CloudRouter

func Convert_gcp_CloudRouter_To_v1alpha1_CloudRouter(in *gcp.CloudRouter, out *CloudRouter, s conversion.Scope) error

Convert_gcp_CloudRouter_To_v1alpha1_CloudRouter is an autogenerated conversion function.

func Convert_gcp_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig

func Convert_gcp_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *gcp.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error

Convert_gcp_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig is an autogenerated conversion function.

func Convert_gcp_DiskEncryption_To_v1alpha1_DiskEncryption added in v1.30.0

func Convert_gcp_DiskEncryption_To_v1alpha1_DiskEncryption(in *gcp.DiskEncryption, out *DiskEncryption, s conversion.Scope) error

Convert_gcp_DiskEncryption_To_v1alpha1_DiskEncryption is an autogenerated conversion function.

func Convert_gcp_EndpointIndependentMapping_To_v1alpha1_EndpointIndependentMapping added in v1.29.0

func Convert_gcp_EndpointIndependentMapping_To_v1alpha1_EndpointIndependentMapping(in *gcp.EndpointIndependentMapping, out *EndpointIndependentMapping, s conversion.Scope) error

Convert_gcp_EndpointIndependentMapping_To_v1alpha1_EndpointIndependentMapping is an autogenerated conversion function.

func Convert_gcp_FlowLogs_To_v1alpha1_FlowLogs

func Convert_gcp_FlowLogs_To_v1alpha1_FlowLogs(in *gcp.FlowLogs, out *FlowLogs, s conversion.Scope) error

Convert_gcp_FlowLogs_To_v1alpha1_FlowLogs is an autogenerated conversion function.

func Convert_gcp_GPU_To_v1alpha1_GPU added in v1.24.0

func Convert_gcp_GPU_To_v1alpha1_GPU(in *gcp.GPU, out *GPU, s conversion.Scope) error

Convert_gcp_GPU_To_v1alpha1_GPU is an autogenerated conversion function.

func Convert_gcp_InfrastructureConfig_To_v1alpha1_InfrastructureConfig

func Convert_gcp_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *gcp.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error

Convert_gcp_InfrastructureConfig_To_v1alpha1_InfrastructureConfig is an autogenerated conversion function.

func Convert_gcp_InfrastructureStatus_To_v1alpha1_InfrastructureStatus

func Convert_gcp_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *gcp.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error

Convert_gcp_InfrastructureStatus_To_v1alpha1_InfrastructureStatus is an autogenerated conversion function.

func Convert_gcp_MachineImageVersion_To_v1alpha1_MachineImageVersion

func Convert_gcp_MachineImageVersion_To_v1alpha1_MachineImageVersion(in *gcp.MachineImageVersion, out *MachineImageVersion, s conversion.Scope) error

Convert_gcp_MachineImageVersion_To_v1alpha1_MachineImageVersion is an autogenerated conversion function.

func Convert_gcp_MachineImage_To_v1alpha1_MachineImage

func Convert_gcp_MachineImage_To_v1alpha1_MachineImage(in *gcp.MachineImage, out *MachineImage, s conversion.Scope) error

Convert_gcp_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.

func Convert_gcp_MachineImages_To_v1alpha1_MachineImages

func Convert_gcp_MachineImages_To_v1alpha1_MachineImages(in *gcp.MachineImages, out *MachineImages, s conversion.Scope) error

Convert_gcp_MachineImages_To_v1alpha1_MachineImages is an autogenerated conversion function.

func Convert_gcp_NatIPName_To_v1alpha1_NatIPName added in v1.4.0

func Convert_gcp_NatIPName_To_v1alpha1_NatIPName(in *gcp.NatIPName, out *NatIPName, s conversion.Scope) error

Convert_gcp_NatIPName_To_v1alpha1_NatIPName is an autogenerated conversion function.

func Convert_gcp_NatIP_To_v1alpha1_NatIP added in v1.4.0

func Convert_gcp_NatIP_To_v1alpha1_NatIP(in *gcp.NatIP, out *NatIP, s conversion.Scope) error

Convert_gcp_NatIP_To_v1alpha1_NatIP is an autogenerated conversion function.

func Convert_gcp_NetworkConfig_To_v1alpha1_NetworkConfig

func Convert_gcp_NetworkConfig_To_v1alpha1_NetworkConfig(in *gcp.NetworkConfig, out *NetworkConfig, s conversion.Scope) error

Convert_gcp_NetworkConfig_To_v1alpha1_NetworkConfig is an autogenerated conversion function.

func Convert_gcp_NetworkStatus_To_v1alpha1_NetworkStatus

func Convert_gcp_NetworkStatus_To_v1alpha1_NetworkStatus(in *gcp.NetworkStatus, out *NetworkStatus, s conversion.Scope) error

Convert_gcp_NetworkStatus_To_v1alpha1_NetworkStatus is an autogenerated conversion function.

func Convert_gcp_ServiceAccount_To_v1alpha1_ServiceAccount added in v1.8.0

func Convert_gcp_ServiceAccount_To_v1alpha1_ServiceAccount(in *gcp.ServiceAccount, out *ServiceAccount, s conversion.Scope) error

Convert_gcp_ServiceAccount_To_v1alpha1_ServiceAccount is an autogenerated conversion function.

func Convert_gcp_Storage_To_v1alpha1_Storage added in v1.34.0

func Convert_gcp_Storage_To_v1alpha1_Storage(in *gcp.Storage, out *Storage, s conversion.Scope) error

Convert_gcp_Storage_To_v1alpha1_Storage is an autogenerated conversion function.

func Convert_gcp_Subnet_To_v1alpha1_Subnet

func Convert_gcp_Subnet_To_v1alpha1_Subnet(in *gcp.Subnet, out *Subnet, s conversion.Scope) error

Convert_gcp_Subnet_To_v1alpha1_Subnet is an autogenerated conversion function.

func Convert_gcp_VPC_To_v1alpha1_VPC

func Convert_gcp_VPC_To_v1alpha1_VPC(in *gcp.VPC, out *VPC, s conversion.Scope) error

Convert_gcp_VPC_To_v1alpha1_VPC is an autogenerated conversion function.

func Convert_gcp_Volume_To_v1alpha1_Volume added in v1.6.0

func Convert_gcp_Volume_To_v1alpha1_Volume(in *gcp.Volume, out *Volume, s conversion.Scope) error

Convert_gcp_Volume_To_v1alpha1_Volume is an autogenerated conversion function.

func Convert_gcp_WorkerConfig_To_v1alpha1_WorkerConfig added in v1.6.0

func Convert_gcp_WorkerConfig_To_v1alpha1_WorkerConfig(in *gcp.WorkerConfig, out *WorkerConfig, s conversion.Scope) error

Convert_gcp_WorkerConfig_To_v1alpha1_WorkerConfig is an autogenerated conversion function.

func Convert_gcp_WorkerStatus_To_v1alpha1_WorkerStatus

func Convert_gcp_WorkerStatus_To_v1alpha1_WorkerStatus(in *gcp.WorkerStatus, out *WorkerStatus, s conversion.Scope) error

Convert_gcp_WorkerStatus_To_v1alpha1_WorkerStatus is an autogenerated conversion function.

func Convert_v1alpha1_CloudControllerManagerConfig_To_gcp_CloudControllerManagerConfig

func Convert_v1alpha1_CloudControllerManagerConfig_To_gcp_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *gcp.CloudControllerManagerConfig, s conversion.Scope) error

Convert_v1alpha1_CloudControllerManagerConfig_To_gcp_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_v1alpha1_CloudNAT_To_gcp_CloudNAT

func Convert_v1alpha1_CloudNAT_To_gcp_CloudNAT(in *CloudNAT, out *gcp.CloudNAT, s conversion.Scope) error

Convert_v1alpha1_CloudNAT_To_gcp_CloudNAT is an autogenerated conversion function.

func Convert_v1alpha1_CloudProfileConfig_To_gcp_CloudProfileConfig

func Convert_v1alpha1_CloudProfileConfig_To_gcp_CloudProfileConfig(in *CloudProfileConfig, out *gcp.CloudProfileConfig, s conversion.Scope) error

Convert_v1alpha1_CloudProfileConfig_To_gcp_CloudProfileConfig is an autogenerated conversion function.

func Convert_v1alpha1_CloudRouter_To_gcp_CloudRouter

func Convert_v1alpha1_CloudRouter_To_gcp_CloudRouter(in *CloudRouter, out *gcp.CloudRouter, s conversion.Scope) error

Convert_v1alpha1_CloudRouter_To_gcp_CloudRouter is an autogenerated conversion function.

func Convert_v1alpha1_ControlPlaneConfig_To_gcp_ControlPlaneConfig

func Convert_v1alpha1_ControlPlaneConfig_To_gcp_ControlPlaneConfig(in *ControlPlaneConfig, out *gcp.ControlPlaneConfig, s conversion.Scope) error

Convert_v1alpha1_ControlPlaneConfig_To_gcp_ControlPlaneConfig is an autogenerated conversion function.

func Convert_v1alpha1_DiskEncryption_To_gcp_DiskEncryption added in v1.30.0

func Convert_v1alpha1_DiskEncryption_To_gcp_DiskEncryption(in *DiskEncryption, out *gcp.DiskEncryption, s conversion.Scope) error

Convert_v1alpha1_DiskEncryption_To_gcp_DiskEncryption is an autogenerated conversion function.

func Convert_v1alpha1_EndpointIndependentMapping_To_gcp_EndpointIndependentMapping added in v1.29.0

func Convert_v1alpha1_EndpointIndependentMapping_To_gcp_EndpointIndependentMapping(in *EndpointIndependentMapping, out *gcp.EndpointIndependentMapping, s conversion.Scope) error

Convert_v1alpha1_EndpointIndependentMapping_To_gcp_EndpointIndependentMapping is an autogenerated conversion function.

func Convert_v1alpha1_FlowLogs_To_gcp_FlowLogs

func Convert_v1alpha1_FlowLogs_To_gcp_FlowLogs(in *FlowLogs, out *gcp.FlowLogs, s conversion.Scope) error

Convert_v1alpha1_FlowLogs_To_gcp_FlowLogs is an autogenerated conversion function.

func Convert_v1alpha1_GPU_To_gcp_GPU added in v1.24.0

func Convert_v1alpha1_GPU_To_gcp_GPU(in *GPU, out *gcp.GPU, s conversion.Scope) error

Convert_v1alpha1_GPU_To_gcp_GPU is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureConfig_To_gcp_InfrastructureConfig

func Convert_v1alpha1_InfrastructureConfig_To_gcp_InfrastructureConfig(in *InfrastructureConfig, out *gcp.InfrastructureConfig, s conversion.Scope) error

Convert_v1alpha1_InfrastructureConfig_To_gcp_InfrastructureConfig is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureStatus_To_gcp_InfrastructureStatus

func Convert_v1alpha1_InfrastructureStatus_To_gcp_InfrastructureStatus(in *InfrastructureStatus, out *gcp.InfrastructureStatus, s conversion.Scope) error

Convert_v1alpha1_InfrastructureStatus_To_gcp_InfrastructureStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachineImageVersion_To_gcp_MachineImageVersion

func Convert_v1alpha1_MachineImageVersion_To_gcp_MachineImageVersion(in *MachineImageVersion, out *gcp.MachineImageVersion, s conversion.Scope) error

Convert_v1alpha1_MachineImageVersion_To_gcp_MachineImageVersion is an autogenerated conversion function.

func Convert_v1alpha1_MachineImage_To_gcp_MachineImage

func Convert_v1alpha1_MachineImage_To_gcp_MachineImage(in *MachineImage, out *gcp.MachineImage, s conversion.Scope) error

Convert_v1alpha1_MachineImage_To_gcp_MachineImage is an autogenerated conversion function.

func Convert_v1alpha1_MachineImages_To_gcp_MachineImages

func Convert_v1alpha1_MachineImages_To_gcp_MachineImages(in *MachineImages, out *gcp.MachineImages, s conversion.Scope) error

Convert_v1alpha1_MachineImages_To_gcp_MachineImages is an autogenerated conversion function.

func Convert_v1alpha1_NatIPName_To_gcp_NatIPName added in v1.4.0

func Convert_v1alpha1_NatIPName_To_gcp_NatIPName(in *NatIPName, out *gcp.NatIPName, s conversion.Scope) error

Convert_v1alpha1_NatIPName_To_gcp_NatIPName is an autogenerated conversion function.

func Convert_v1alpha1_NatIP_To_gcp_NatIP added in v1.4.0

func Convert_v1alpha1_NatIP_To_gcp_NatIP(in *NatIP, out *gcp.NatIP, s conversion.Scope) error

Convert_v1alpha1_NatIP_To_gcp_NatIP is an autogenerated conversion function.

func Convert_v1alpha1_NetworkConfig_To_gcp_NetworkConfig

func Convert_v1alpha1_NetworkConfig_To_gcp_NetworkConfig(in *NetworkConfig, out *gcp.NetworkConfig, s conversion.Scope) error

Convert_v1alpha1_NetworkConfig_To_gcp_NetworkConfig is an autogenerated conversion function.

func Convert_v1alpha1_NetworkStatus_To_gcp_NetworkStatus

func Convert_v1alpha1_NetworkStatus_To_gcp_NetworkStatus(in *NetworkStatus, out *gcp.NetworkStatus, s conversion.Scope) error

Convert_v1alpha1_NetworkStatus_To_gcp_NetworkStatus is an autogenerated conversion function.

func Convert_v1alpha1_ServiceAccount_To_gcp_ServiceAccount added in v1.8.0

func Convert_v1alpha1_ServiceAccount_To_gcp_ServiceAccount(in *ServiceAccount, out *gcp.ServiceAccount, s conversion.Scope) error

Convert_v1alpha1_ServiceAccount_To_gcp_ServiceAccount is an autogenerated conversion function.

func Convert_v1alpha1_Storage_To_gcp_Storage added in v1.34.0

func Convert_v1alpha1_Storage_To_gcp_Storage(in *Storage, out *gcp.Storage, s conversion.Scope) error

Convert_v1alpha1_Storage_To_gcp_Storage is an autogenerated conversion function.

func Convert_v1alpha1_Subnet_To_gcp_Subnet

func Convert_v1alpha1_Subnet_To_gcp_Subnet(in *Subnet, out *gcp.Subnet, s conversion.Scope) error

Convert_v1alpha1_Subnet_To_gcp_Subnet is an autogenerated conversion function.

func Convert_v1alpha1_VPC_To_gcp_VPC

func Convert_v1alpha1_VPC_To_gcp_VPC(in *VPC, out *gcp.VPC, s conversion.Scope) error

Convert_v1alpha1_VPC_To_gcp_VPC is an autogenerated conversion function.

func Convert_v1alpha1_Volume_To_gcp_Volume added in v1.6.0

func Convert_v1alpha1_Volume_To_gcp_Volume(in *Volume, out *gcp.Volume, s conversion.Scope) error

Convert_v1alpha1_Volume_To_gcp_Volume is an autogenerated conversion function.

func Convert_v1alpha1_WorkerConfig_To_gcp_WorkerConfig added in v1.6.0

func Convert_v1alpha1_WorkerConfig_To_gcp_WorkerConfig(in *WorkerConfig, out *gcp.WorkerConfig, s conversion.Scope) error

Convert_v1alpha1_WorkerConfig_To_gcp_WorkerConfig is an autogenerated conversion function.

func Convert_v1alpha1_WorkerStatus_To_gcp_WorkerStatus

func Convert_v1alpha1_WorkerStatus_To_gcp_WorkerStatus(in *WorkerStatus, out *gcp.WorkerStatus, s conversion.Scope) error

Convert_v1alpha1_WorkerStatus_To_gcp_WorkerStatus is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetDefaults_MachineImageVersion added in v1.25.0

func SetDefaults_MachineImageVersion(obj *MachineImageVersion)

SetDefaults_MachineImageVersion set the architecture of machine image.

func SetDefaults_Storage added in v1.34.0

func SetDefaults_Storage(obj *Storage)

SetDefaults_Storage sets the defaults for the managed storage classes

func SetObjectDefaults_CloudProfileConfig added in v1.25.0

func SetObjectDefaults_CloudProfileConfig(in *CloudProfileConfig)

func SetObjectDefaults_ControlPlaneConfig added in v1.34.0

func SetObjectDefaults_ControlPlaneConfig(in *ControlPlaneConfig)

Types

type CloudControllerManagerConfig

type CloudControllerManagerConfig struct {
	// FeatureGates contains information about enabled feature gates.
	// +optional
	FeatureGates map[string]bool `json:"featureGates,omitempty"`
}

CloudControllerManagerConfig contains configuration settings for the cloud-controller-manager.

func (*CloudControllerManagerConfig) DeepCopy

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

func (*CloudControllerManagerConfig) DeepCopyInto

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

type CloudNAT

type CloudNAT struct {
	// EndpointIndependentMapping controls if endpoint independent mapping is enabled.
	EndpointIndependentMapping *EndpointIndependentMapping `json:"endpointIndependentMapping,omitempty"`
	// MinPortsPerVM is the minimum number of ports allocated to a VM in the NAT config.
	// The default value is 2048 ports.
	// +optional
	MinPortsPerVM *int32 `json:"minPortsPerVM,omitempty"`
	// NatIPNames is a list of all user provided external premium ips which can be used by the nat gateway
	// +optional
	NatIPNames []NatIPName `json:"natIPNames,omitempty"`
}

CloudNAT contains configuration about the CloudNAT resource

func (*CloudNAT) DeepCopy

func (in *CloudNAT) DeepCopy() *CloudNAT

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

func (*CloudNAT) DeepCopyInto

func (in *CloudNAT) DeepCopyInto(out *CloudNAT)

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

type CloudProfileConfig

type CloudProfileConfig struct {
	metav1.TypeMeta `json:",inline"`
	// MachineImages is the list of machine images that are understood by the controller. It maps
	// logical names and versions to provider-specific identifiers.
	MachineImages []MachineImages `json:"machineImages"`
}

CloudProfileConfig contains provider-specific configuration that is embedded into Gardener's `CloudProfile` resource.

func (*CloudProfileConfig) DeepCopy

func (in *CloudProfileConfig) DeepCopy() *CloudProfileConfig

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

func (*CloudProfileConfig) DeepCopyInto

func (in *CloudProfileConfig) DeepCopyInto(out *CloudProfileConfig)

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

func (*CloudProfileConfig) DeepCopyObject

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

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

type CloudRouter

type CloudRouter struct {
	// Name is the CloudRouter name.
	Name string `json:"name,omitempty"`
}

CloudRouter contains information about the the CloudRouter configuration

func (*CloudRouter) DeepCopy

func (in *CloudRouter) DeepCopy() *CloudRouter

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

func (*CloudRouter) DeepCopyInto

func (in *CloudRouter) DeepCopyInto(out *CloudRouter)

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

type ControlPlaneConfig

type ControlPlaneConfig struct {
	metav1.TypeMeta `json:",inline"`

	// Zone is the GCP zone.
	Zone string `json:"zone"`

	// CloudControllerManager contains configuration settings for the cloud-controller-manager.
	// +optional
	CloudControllerManager *CloudControllerManagerConfig `json:"cloudControllerManager,omitempty"`

	// Storage contains configuration for the storage in the cluster.
	Storage *Storage `json:"storage,omitempty"`
}

ControlPlaneConfig contains configuration settings for the control plane.

func (*ControlPlaneConfig) DeepCopy

func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig

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

func (*ControlPlaneConfig) DeepCopyInto

func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)

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

func (*ControlPlaneConfig) DeepCopyObject

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

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

type DiskEncryption added in v1.30.0

type DiskEncryption struct {
	// KmsKeyName specifies the customer-managed encryption key (CMEK) used for encryption of the volume.
	// For creating keys, see https://cloud.google.com/kms/docs/create-key.
	// For using keys to encrypt resources, see:
	// https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys
	// This field is being kept optional since this would allow CSEK fields in future in lieu of CMEK fields
	// +optional
	KmsKeyName *string `json:"kmsKeyName"`

	// KmsKeyServiceAccount specifies the service account granted the `roles/cloudkms.cryptoKeyEncrypterDecrypter` for the key name.
	// If nil/empty, then the role should be given to the Compute Engine Service Agent Account. The CESA usually has the format
	// service-PROJECT_NUMBER@compute-system.iam.gserviceaccount.com.
	//  See: https://cloud.google.com/iam/docs/service-agents#compute-engine-service-agent
	// One can add IAM roles using the gcloud CLI:
	//  gcloud projects add-iam-policy-binding projectId --member
	//	serviceAccount:name@projectIdgserviceaccount.com --role roles/cloudkms.cryptoKeyEncrypterDecrypter
	// +optional
	KmsKeyServiceAccount *string `json:"kmsKeyServiceAccount,omitempty"`
}

DiskEncryption encapsulates the encryption configuration for a disk.

func (*DiskEncryption) DeepCopy added in v1.30.0

func (in *DiskEncryption) DeepCopy() *DiskEncryption

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

func (*DiskEncryption) DeepCopyInto added in v1.30.0

func (in *DiskEncryption) DeepCopyInto(out *DiskEncryption)

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

type EndpointIndependentMapping added in v1.29.0

type EndpointIndependentMapping struct {
	// Enabled controls if endpoint independent mapping is enabled. Default is false.
	Enabled bool `json:"enabled"`
}

EndpointIndependentMapping contains endpoint independent mapping options.

func (*EndpointIndependentMapping) DeepCopy added in v1.29.0

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

func (*EndpointIndependentMapping) DeepCopyInto added in v1.29.0

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

type FlowLogs

type FlowLogs struct {
	// AggregationInterval for collecting flow logs.
	// +optional
	AggregationInterval *string `json:"aggregationInterval,omitempty"`
	// FlowSampling sets the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported.
	// +optional
	FlowSampling *float32 `json:"flowSampling,omitempty"`
	// Metadata configures whether metadata fields should be added to the reported VPC flow logs.
	// +optional
	Metadata *string `json:"metadata,omitempty"`
}

FlowLogs contains the configuration options for the vpc flow logs.

func (*FlowLogs) DeepCopy

func (in *FlowLogs) DeepCopy() *FlowLogs

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

func (*FlowLogs) DeepCopyInto

func (in *FlowLogs) DeepCopyInto(out *FlowLogs)

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

type GPU added in v1.24.0

type GPU struct {
	// AcceleratorType is the type of accelerator to be attached
	AcceleratorType string `json:"acceleratorType"`
	// Count is the number of accelerator to be attached
	Count int32 `json:"count"`
}

GPU is the configuration of the GPU to be attached

func (*GPU) DeepCopy added in v1.24.0

func (in *GPU) DeepCopy() *GPU

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

func (*GPU) DeepCopyInto added in v1.24.0

func (in *GPU) DeepCopyInto(out *GPU)

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

type InfrastructureConfig

type InfrastructureConfig struct {
	metav1.TypeMeta `json:",inline"`

	// Networks is the network configuration (VPC, subnets, etc.)
	Networks NetworkConfig `json:"networks"`
}

InfrastructureConfig infrastructure configuration resource

func (*InfrastructureConfig) DeepCopy

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

func (*InfrastructureConfig) DeepCopyInto

func (in *InfrastructureConfig) DeepCopyInto(out *InfrastructureConfig)

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

func (*InfrastructureConfig) DeepCopyObject

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

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

type InfrastructureStatus

type InfrastructureStatus struct {
	metav1.TypeMeta `json:",inline"`

	// Networks is the status of the networks of the infrastructure.
	Networks NetworkStatus `json:"networks"`

	// ServiceAccountEmail is the email address of the service account.
	ServiceAccountEmail string `json:"serviceAccountEmail"`
}

InfrastructureStatus contains information about created infrastructure resources.

func (*InfrastructureStatus) DeepCopy

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.

func (*InfrastructureStatus) DeepCopyObject

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

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

type MachineImage

type MachineImage struct {
	// Name is the logical name of the machine image.
	Name string `json:"name"`
	// Version is the logical version of the machine image.
	Version string `json:"version"`
	// Image is the path to the image.
	Image string `json:"image"`
	// Architecture is the CPU architecture of the machine image.
	// +optional
	Architecture *string `json:"architecture,omitempty"`
}

MachineImage is a mapping from logical names and versions to GCP-specific identifiers.

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 MachineImageVersion

type MachineImageVersion struct {
	// Version is the version of the image.
	Version string `json:"version"`
	// Image is the path to the image.
	Image string `json:"image"`
	// Architecture is the CPU architecture of the machine image.
	// +optional
	Architecture *string `json:"architecture,omitempty"`
}

MachineImageVersion contains a version and a provider-specific identifier.

func (*MachineImageVersion) DeepCopy

func (in *MachineImageVersion) DeepCopy() *MachineImageVersion

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

func (*MachineImageVersion) DeepCopyInto

func (in *MachineImageVersion) DeepCopyInto(out *MachineImageVersion)

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

type MachineImages

type MachineImages struct {
	// Name is the logical name of the machine image.
	Name string `json:"name"`
	// Versions contains versions and a provider-specific identifier.
	Versions []MachineImageVersion `json:"versions"`
}

MachineImages is a mapping from logical names and versions to provider-specific identifiers.

func (*MachineImages) DeepCopy

func (in *MachineImages) DeepCopy() *MachineImages

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

func (*MachineImages) DeepCopyInto

func (in *MachineImages) DeepCopyInto(out *MachineImages)

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

type NatIP added in v1.4.0

type NatIP struct {
	// IP is the external premium IP address used in GCP
	IP string `json:"ip"`
}

NatIP is a user provided external ip which can be used by the nat gateway

func (*NatIP) DeepCopy added in v1.4.0

func (in *NatIP) DeepCopy() *NatIP

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

func (*NatIP) DeepCopyInto added in v1.4.0

func (in *NatIP) DeepCopyInto(out *NatIP)

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

type NatIPName added in v1.4.0

type NatIPName struct {
	// Name of the external premium ip address which is used in gcp
	Name string `json:"name"`
}

NatIPName is the name of a user provided external ip address which can be used by the nat gateway

func (*NatIPName) DeepCopy added in v1.4.0

func (in *NatIPName) DeepCopy() *NatIPName

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

func (*NatIPName) DeepCopyInto added in v1.4.0

func (in *NatIPName) DeepCopyInto(out *NatIPName)

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

type NetworkConfig

type NetworkConfig struct {
	// VPC indicates whether to use an existing VPC or create a new one.
	// +optional
	VPC *VPC `json:"vpc,omitempty"`
	// CloudNAT contains configuration about the the CloudNAT resource
	// +optional
	CloudNAT *CloudNAT `json:"cloudNAT,omitempty"`
	// Internal is a private subnet (used for internal load balancers).
	// +optional
	Internal *string `json:"internal,omitempty"`
	// Worker is the worker subnet range to create (used for the VMs).
	// Deprecated - use `workers` instead.
	Worker string `json:"worker"`
	// Workers is the worker subnet range to create (used for the VMs).
	Workers string `json:"workers"`
	// FlowLogs contains the flow log configuration for the subnet.
	// +optional
	FlowLogs *FlowLogs `json:"flowLogs,omitempty"`
}

NetworkConfig holds information about the Kubernetes and infrastructure networks.

func (*NetworkConfig) DeepCopy

func (in *NetworkConfig) DeepCopy() *NetworkConfig

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

func (*NetworkConfig) DeepCopyInto

func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig)

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

type NetworkStatus

type NetworkStatus struct {
	// VPC states the name of the infrastructure VPC.
	VPC VPC `json:"vpc"`

	// Subnets are the subnets that have been created.
	Subnets []Subnet `json:"subnets"`

	// NatIPs is a list of all user provided external premium ips which can be used by the nat gateway
	// +optional
	NatIPs []NatIP `json:"natIPs,omitempty"`
}

NetworkStatus is the current status of the infrastructure networks.

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 ServiceAccount added in v1.8.0

type ServiceAccount struct {
	// Email is the address of the service account.
	Email string `json:"email"`

	// Scopes is the list of scopes to be made available for this service.
	// account.
	Scopes []string `json:"scopes"`
}

ServiceAccount is a GCP service account.

func (*ServiceAccount) DeepCopy added in v1.8.0

func (in *ServiceAccount) DeepCopy() *ServiceAccount

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

func (*ServiceAccount) DeepCopyInto added in v1.8.0

func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)

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

type Storage added in v1.34.0

type Storage struct {
	// ManagedDefaultStorageClass controls if the 'default' StorageClass would be marked as default. Set to false to
	// suppress marking the 'default' StorageClass as default, allowing another StorageClass not managed by Gardener
	// to be set as default by the user.
	// Defaults to true.
	// +optional
	ManagedDefaultStorageClass *bool `json:"managedDefaultStorageClass,omitempty"`
	// ManagedDefaultVolumeSnapshotClass controls if the 'default' VolumeSnapshotClass would be marked as default.
	// Set to false to suppress marking the 'default' VolumeSnapshotClass as default, allowing another VolumeSnapshotClass
	// not managed by Gardener to be set as default by the user.
	// Defaults to true.
	// +optional
	ManagedDefaultVolumeSnapshotClass *bool `json:"managedDefaultVolumeSnapshotClass,omitempty"`
}

Storage contains settings for the default StorageClass and VolumeSnapshotClass

func (*Storage) DeepCopy added in v1.34.0

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto added in v1.34.0

func (in *Storage) DeepCopyInto(out *Storage)

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

type Subnet

type Subnet struct {
	// Name is the name of the subnet.
	Name string `json:"name"`
	// Purpose is the purpose for which the subnet was created.
	Purpose SubnetPurpose `json:"purpose"`
}

Subnet is a subnet that was created.

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

type SubnetPurpose

type SubnetPurpose string

SubnetPurpose is a purpose of a subnet.

const (
	// PurposeNodes is a SubnetPurpose for nodes.
	PurposeNodes SubnetPurpose = "nodes"
	// PurposeInternal is a SubnetPurpose for internal use.
	PurposeInternal SubnetPurpose = "internal"
)

type VPC

type VPC struct {
	// Name is the VPC name.
	Name string `json:"name,omitempty"`
	// CloudRouter indicates whether to use an existing CloudRouter or create a new one
	// +optional
	CloudRouter *CloudRouter `json:"cloudRouter,omitempty"`
}

VPC contains information about the VPC and some related resources.

func (*VPC) DeepCopy

func (in *VPC) DeepCopy() *VPC

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

func (*VPC) DeepCopyInto

func (in *VPC) DeepCopyInto(out *VPC)

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

type Volume added in v1.6.0

type Volume struct {
	// LocalSSDInterface is the interface of that the local ssd disk supports.
	// +optional
	LocalSSDInterface *string `json:"interface,omitempty"`

	// Encryption refers to the disk encryption details for this volume
	// +optional
	Encryption *DiskEncryption `json:"encryption,omitempty"`
}

Volume contains configuration for the disks attached to VMs.

func (*Volume) DeepCopy added in v1.6.0

func (in *Volume) DeepCopy() *Volume

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

func (*Volume) DeepCopyInto added in v1.6.0

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

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

type WorkerConfig added in v1.6.0

type WorkerConfig struct {
	metav1.TypeMeta `json:",inline"`

	// GPU contains configuration for the GPU attached to VMs.
	// +optional
	GPU *GPU `json:"gpu,omitempty"`

	// Volume contains configuration for the root disks attached to VMs.
	// +optional
	Volume *Volume `json:"volume,omitempty"`

	// MinCpuPlatform is the name of the minimum CPU platform that is to be
	// requested for the VM.
	MinCpuPlatform *string `json:"minCpuPlatform,omitempty"`

	// Service account, with their specified scopes, authorized for this worker.
	// Service accounts generate access tokens that can be accessed through
	// the metadata server and used to authenticate applications on the
	// instance.
	// This service account should be created in advance.
	// +optional
	ServiceAccount *ServiceAccount `json:"serviceAccount,omitempty"`
}

WorkerConfig contains configuration settings for the worker nodes.

func (*WorkerConfig) DeepCopy added in v1.6.0

func (in *WorkerConfig) DeepCopy() *WorkerConfig

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

func (*WorkerConfig) DeepCopyInto added in v1.6.0

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

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

func (*WorkerConfig) DeepCopyObject added in v1.6.0

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

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

type WorkerStatus

type WorkerStatus struct {
	metav1.TypeMeta `json:",inline"`

	// MachineImages is a list of machine images that have been used in this worker. Usually, the extension controller
	// gets the mapping from name/version to the provider-specific machine image data in its componentconfig. However, if
	// a version that is still in use gets removed from this componentconfig it cannot reconcile anymore existing `Worker`
	// resources that are still using this version. Hence, it stores the used versions in the provider status to ensure
	// reconciliation is possible.
	// +optional
	MachineImages []MachineImage `json:"machineImages,omitempty"`
}

WorkerStatus contains information about created worker resources.

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.

func (*WorkerStatus) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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