gcp

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

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 = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type CloudControllerManagerConfig

type CloudControllerManagerConfig struct {
	// FeatureGates contains information about enabled feature gates.
	FeatureGates map[string]bool
}

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
	// MinPortsPerVM is the minimum number of ports allocated to a VM in the NAT config.
	// The default value is 2048 ports.
	MinPortsPerVM *int32
	// MaxPortsPerVM is the maximum number of ports allocated to a VM in the NAT config.
	// The default value is 65536 ports.
	// +optional
	MaxPortsPerVM *int32
	// EnableDynamicPortAllocation controls port allocation behavior for the CloudNAT.
	// +optional
	EnableDynamicPortAllocation bool
	// NatIPNames is a list of all user provided external premium ips which can be used by the nat gateway
	// +optional
	// NatIPNames is a list of all names of user provided external premium ips which can be used by the nat gateway
	NatIPNames []NatIPName
	// IcmpIdleTimeoutSec is the timeout (in seconds) for ICMP connections. Defaults to 30.
	// +optional
	IcmpIdleTimeoutSec *int32
	// TcpEstablishedIdleTimeoutSec is the timeout (in seconds) for established TCP connections. Defaults to 1200.
	// +optional
	TcpEstablishedIdleTimeoutSec *int32
	// TcpTimeWaitTimeoutSec is the timeout (in seconds) for TCP connections in 'TIME_WAIT' state. Defaults to 120.
	// +optional
	TcpTimeWaitTimeoutSec *int32
	// TcpTransitoryIdleTimeoutSec is the timeout (in seconds) for transitory TCP connections. Defaults to 30.
	// +optional
	TcpTransitoryIdleTimeoutSec *int32
	// UDPIdleTimeoutSec is the timeout (in seconds) for UDP connections. Defaults to 30.
	// +optional
	UdpIdleTimeoutSec *int32
}

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
	// 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
}

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
}

CloudRouter contains information about 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

	// Zone is the GCP zone.
	Zone string

	// CloudControllerManager contains configuration settings for the cloud-controller-manager.
	CloudControllerManager *CloudControllerManagerConfig

	// Storage contains configuration for the storage in the cluster.
	Storage *Storage
}

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 DataVolume added in v1.37.0

type DataVolume struct {
	// Name is the name of the data volume this configuration applies to.
	Name string

	// SourceImage is the image to create this disk
	// However, this parameter should only be used with particular caution.
	// For example GardenLinux works with filesystem LABELs only and creating
	// another disk form the very same image causes the LABELs to be duplicated.
	// See: https://github.com/gardener/gardener-extension-provider-gcp/issues/323
	SourceImage *string

	// ProvisionedIops of disk to create.
	// Only for certain types of disk, see worker.AllowedTypesIops
	// The IOPS must be specified within defined limits.
	// If not set gcp calculates a default value taking the disk size into consideration.
	// Hyperdisk Extreme volumes can't be used as boot disks.
	ProvisionedIops *int64

	// ProvisionedThroughput of disk to create.
	// Only for certain types of disk, see worker.AllowedTypesThroughput
	// measured in MiB per second, that the disk can handle.
	// The throughput must be specified within defined limits.
	// If not set gcp calculates a default value taking the disk size into consideration.
	// Hyperdisk Throughput volumes can't be used as boot disks.
	ProvisionedThroughput *int64
}

DataVolume contains configuration for data volumes attached to VMs.

func (*DataVolume) DeepCopy added in v1.37.0

func (in *DataVolume) DeepCopy() *DataVolume

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

func (*DataVolume) DeepCopyInto added in v1.37.0

func (in *DataVolume) DeepCopyInto(out *DataVolume)

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

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
	KmsKeyName *string

	// 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
	KmsKeyServiceAccount *string
}

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
}

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.
	AggregationInterval *string
	// 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.
	FlowSampling *float64
	// Metadata configures whether metadata fields should be added to the reported VPC flow logs.
	Metadata *string
}

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
	// Count is the number of accelerator to be attached
	Count int32
}

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

	// Networks is the network configuration (VPC, subnets, etc.)
	Networks NetworkConfig
}

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 InfrastructureState added in v1.35.0

type InfrastructureState struct {
	metav1.TypeMeta
	// Data is map to store things.
	// +optional
	Data map[string]string
}

InfrastructureState contains state information of the infrastructure resource.

func (*InfrastructureState) DeepCopy added in v1.35.0

func (in *InfrastructureState) DeepCopy() *InfrastructureState

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

func (*InfrastructureState) DeepCopyInto added in v1.35.0

func (in *InfrastructureState) DeepCopyInto(out *InfrastructureState)

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

func (*InfrastructureState) DeepCopyObject added in v1.35.0

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

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

type InfrastructureStatus

type InfrastructureStatus struct {
	metav1.TypeMeta

	// Networks is the status of the networks of the infrastructure.
	Networks NetworkStatus

	// ServiceAccountEmail is the email address of the service account.
	ServiceAccountEmail string
}

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
	// Version is the logical version of the machine image.
	Version string
	// Image is the path to the image.
	Image string
	// Architecture is the CPU architecture of the machine image.
	Architecture *string
}

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
	// Image is the path to the image.
	Image string
	// Architecture is the CPU architecture of the machine image.
	Architecture *string
}

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
	// Versions contains versions and a provider-specific identifier.
	Versions []MachineImageVersion
}

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
}

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
}

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.
	VPC *VPC
	// CloudNAT contains configuration about the CloudNAT resource
	CloudNAT *CloudNAT
	// Internal is a private subnet (used for internal load balancers).
	Internal *string
	// Worker is the worker subnet range to create (used for the VMs).
	// Deprecated - use `workers` instead.
	Worker string
	// Workers is the worker subnet range to create (used for the VMs).
	Workers string
	// FlowLogs contains the flow log configuration for the subnet.
	FlowLogs *FlowLogs
}

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

	// Subnets are the subnets that have been created.
	Subnets []Subnet

	// NatIPs is a list of all user provided external premium ips which can be used by the nat gateway
	NatIPs []NatIP
}

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 email address of the service account.
	Email string

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

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.
	ManagedDefaultStorageClass *bool
	// 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.
	ManagedDefaultVolumeSnapshotClass *bool
}

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
	// Purpose is the purpose for which the subnet was created.
	Purpose SubnetPurpose
}

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
	// CloudRouter indicates whether to use an existing CloudRouter or create a new one
	CloudRouter *CloudRouter
}

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.
	LocalSSDInterface *string

	// Encryption refers to the disk encryption details for this volume
	Encryption *DiskEncryption
}

Volume contains configuration for the additional 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

	// GPU contains configuration for the GPU attached to VMs.
	GPU *GPU

	// Volume contains configuration for the root disks attached to VMs.
	Volume *Volume

	// DataVolumes contains configuration for the additional disks attached to VMs.
	// +optional
	DataVolumes []DataVolume

	// MinCpuPlatform is the name of the minimum CPU platform that is to be
	// requested for the VM.
	MinCpuPlatform *string

	// 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.
	ServiceAccount *ServiceAccount

	// NodeTemplate contains resource information of the machine which is used by Cluster Autoscaler to generate nodeTemplate during scaling a nodeGroup from zero.
	NodeTemplate *extensionsv1alpha1.NodeTemplate
}

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

	// 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.
	MachineImages []MachineImage
}

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.

Directories

Path Synopsis
Package v1alpha1 contains the GCP provider API resources.
Package v1alpha1 contains the GCP provider API resources.

Jump to

Keyboard shortcuts

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