Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_gcp_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *gcp.CloudControllerManagerConfig, out *CloudControllerManagerConfig, ...) error
- func Convert_gcp_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *gcp.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error
- func Convert_gcp_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *gcp.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error
- func Convert_gcp_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *gcp.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error
- func Convert_gcp_NetworkConfig_To_v1alpha1_NetworkConfig(in *gcp.NetworkConfig, out *NetworkConfig, s conversion.Scope) error
- func Convert_gcp_NetworkStatus_To_v1alpha1_NetworkStatus(in *gcp.NetworkStatus, out *NetworkStatus, s conversion.Scope) error
- func Convert_gcp_Subnet_To_v1alpha1_Subnet(in *gcp.Subnet, out *Subnet, s conversion.Scope) error
- func Convert_gcp_VPC_To_v1alpha1_VPC(in *gcp.VPC, out *VPC, s conversion.Scope) error
- func Convert_v1alpha1_CloudControllerManagerConfig_To_gcp_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *gcp.CloudControllerManagerConfig, ...) error
- func Convert_v1alpha1_ControlPlaneConfig_To_gcp_ControlPlaneConfig(in *ControlPlaneConfig, out *gcp.ControlPlaneConfig, s conversion.Scope) error
- func Convert_v1alpha1_InfrastructureConfig_To_gcp_InfrastructureConfig(in *InfrastructureConfig, out *gcp.InfrastructureConfig, s conversion.Scope) error
- func Convert_v1alpha1_InfrastructureStatus_To_gcp_InfrastructureStatus(in *InfrastructureStatus, out *gcp.InfrastructureStatus, s conversion.Scope) error
- func Convert_v1alpha1_NetworkConfig_To_gcp_NetworkConfig(in *NetworkConfig, out *gcp.NetworkConfig, s conversion.Scope) error
- func Convert_v1alpha1_NetworkStatus_To_gcp_NetworkStatus(in *NetworkStatus, out *gcp.NetworkStatus, s conversion.Scope) error
- func Convert_v1alpha1_Subnet_To_gcp_Subnet(in *Subnet, out *gcp.Subnet, s conversion.Scope) error
- func Convert_v1alpha1_VPC_To_gcp_VPC(in *VPC, out *gcp.VPC, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type CloudControllerManagerConfig
- type ControlPlaneConfig
- type InfrastructureConfig
- type InfrastructureStatus
- type NetworkConfig
- type NetworkStatus
- type Subnet
- type SubnetPurpose
- type VPC
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 = localSchemeBuilder.AddToScheme
)
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_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_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_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_Subnet_To_v1alpha1_Subnet ¶
Convert_gcp_Subnet_To_v1alpha1_Subnet is an autogenerated conversion function.
func Convert_gcp_VPC_To_v1alpha1_VPC ¶
Convert_gcp_VPC_To_v1alpha1_VPC 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_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_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_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_Subnet_To_gcp_Subnet ¶
Convert_v1alpha1_Subnet_To_gcp_Subnet is an autogenerated conversion function.
func Convert_v1alpha1_VPC_To_gcp_VPC ¶
Convert_v1alpha1_VPC_To_gcp_VPC is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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
Types ¶
type CloudControllerManagerConfig ¶
type CloudControllerManagerConfig struct {
gardenv1beta1.KubernetesConfig `json:",inline"`
}
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 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"` }
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 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 ¶
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 `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 ¶
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 NetworkConfig ¶
type NetworkConfig struct { // VPC indicates whether to use an existing VPC or create a new one. // +optional VPC *VPC `json:"vpc,omitempty"` // Internal is a private subnet (used for internal load balancers). // +optional Internal *gardencorev1alpha1.CIDR `json:"internal,omitempty"` // Workers is the worker subnet range to create (used for the VMs). Worker gardencorev1alpha1.CIDR `json:"worker"` }
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"` }
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 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 ¶
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 `json:"name,omitempty"` }
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.