Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CloudControllerManagerConfig
- type CloudNAT
- type CloudProfileConfig
- type CloudRouter
- type ControlPlaneConfig
- type EndpointIndependentMapping
- type FlowLogs
- type GPU
- type InfrastructureConfig
- type InfrastructureStatus
- type MachineImage
- type MachineImageVersion
- type MachineImages
- type NatIP
- type NatIPName
- type NetworkConfig
- type NetworkStatus
- type ServiceAccount
- type Subnet
- type SubnetPurpose
- type VPC
- type Volume
- type WorkerConfig
- type WorkerStatus
Constants ¶
const GroupName = "gcp.provider.extensions.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var (
// AddToScheme is a pointer to schemeBuilder.AddToScheme.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
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 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 ¶
func (in *CloudControllerManagerConfig) DeepCopy() *CloudControllerManagerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudControllerManagerConfig.
func (*CloudControllerManagerConfig) DeepCopyInto ¶
func (in *CloudControllerManagerConfig) DeepCopyInto(out *CloudControllerManagerConfig)
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 // NatIPNames is a list of all names of user provided external premium ips which can be used by the nat gateway NatIPNames []NatIPName }
CloudNAT contains configuration about the the CloudNAT resource
func (*CloudNAT) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudNAT.
func (*CloudNAT) DeepCopyInto ¶
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 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 }
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 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
func (in *EndpointIndependentMapping) DeepCopy() *EndpointIndependentMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointIndependentMapping.
func (*EndpointIndependentMapping) DeepCopyInto ¶ added in v1.29.0
func (in *EndpointIndependentMapping) DeepCopyInto(out *EndpointIndependentMapping)
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 *float32 // 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowLogs.
func (*FlowLogs) DeepCopyInto ¶
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GPU.
func (*GPU) DeepCopyInto ¶ added in v1.24.0
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 ¶
func (in *InfrastructureConfig) DeepCopy() *InfrastructureConfig
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 // 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 ¶
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.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatIP.
func (*NatIP) DeepCopyInto ¶ added in v1.4.0
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatIPName.
func (*NatIPName) DeepCopyInto ¶ added in v1.4.0
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 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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPC.
func (*VPC) DeepCopyInto ¶
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 }
Volume contains configuration for the additional disks attached to VMs.
func (*Volume) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶ added in v1.6.0
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 // 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 }
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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 contains the GCP provider API resources.
|
Package v1alpha1 contains the GCP provider API resources. |