Documentation
¶
Index ¶
- Constants
- Variables
- func Convert_aws_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *aws.CloudControllerManagerConfig, out *CloudControllerManagerConfig, ...) error
- func Convert_aws_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *aws.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error
- func Convert_aws_EC2_To_v1alpha1_EC2(in *aws.EC2, out *EC2, s conversion.Scope) error
- func Convert_aws_IAM_To_v1alpha1_IAM(in *aws.IAM, out *IAM, s conversion.Scope) error
- func Convert_aws_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *aws.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error
- func Convert_aws_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *aws.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error
- func Convert_aws_InstanceProfile_To_v1alpha1_InstanceProfile(in *aws.InstanceProfile, out *InstanceProfile, s conversion.Scope) error
- func Convert_aws_Networks_To_v1alpha1_Networks(in *aws.Networks, out *Networks, s conversion.Scope) error
- func Convert_aws_Role_To_v1alpha1_Role(in *aws.Role, out *Role, s conversion.Scope) error
- func Convert_aws_SecurityGroup_To_v1alpha1_SecurityGroup(in *aws.SecurityGroup, out *SecurityGroup, s conversion.Scope) error
- func Convert_aws_Subnet_To_v1alpha1_Subnet(in *aws.Subnet, out *Subnet, s conversion.Scope) error
- func Convert_aws_VPCStatus_To_v1alpha1_VPCStatus(in *aws.VPCStatus, out *VPCStatus, s conversion.Scope) error
- func Convert_aws_VPC_To_v1alpha1_VPC(in *aws.VPC, out *VPC, s conversion.Scope) error
- func Convert_aws_Zone_To_v1alpha1_Zone(in *aws.Zone, out *Zone, s conversion.Scope) error
- func Convert_v1alpha1_CloudControllerManagerConfig_To_aws_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *aws.CloudControllerManagerConfig, ...) error
- func Convert_v1alpha1_ControlPlaneConfig_To_aws_ControlPlaneConfig(in *ControlPlaneConfig, out *aws.ControlPlaneConfig, s conversion.Scope) error
- func Convert_v1alpha1_EC2_To_aws_EC2(in *EC2, out *aws.EC2, s conversion.Scope) error
- func Convert_v1alpha1_IAM_To_aws_IAM(in *IAM, out *aws.IAM, s conversion.Scope) error
- func Convert_v1alpha1_InfrastructureConfig_To_aws_InfrastructureConfig(in *InfrastructureConfig, out *aws.InfrastructureConfig, s conversion.Scope) error
- func Convert_v1alpha1_InfrastructureStatus_To_aws_InfrastructureStatus(in *InfrastructureStatus, out *aws.InfrastructureStatus, s conversion.Scope) error
- func Convert_v1alpha1_InstanceProfile_To_aws_InstanceProfile(in *InstanceProfile, out *aws.InstanceProfile, s conversion.Scope) error
- func Convert_v1alpha1_Networks_To_aws_Networks(in *Networks, out *aws.Networks, s conversion.Scope) error
- func Convert_v1alpha1_Role_To_aws_Role(in *Role, out *aws.Role, s conversion.Scope) error
- func Convert_v1alpha1_SecurityGroup_To_aws_SecurityGroup(in *SecurityGroup, out *aws.SecurityGroup, s conversion.Scope) error
- func Convert_v1alpha1_Subnet_To_aws_Subnet(in *Subnet, out *aws.Subnet, s conversion.Scope) error
- func Convert_v1alpha1_VPCStatus_To_aws_VPCStatus(in *VPCStatus, out *aws.VPCStatus, s conversion.Scope) error
- func Convert_v1alpha1_VPC_To_aws_VPC(in *VPC, out *aws.VPC, s conversion.Scope) error
- func Convert_v1alpha1_Zone_To_aws_Zone(in *Zone, out *aws.Zone, 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 EC2
- type IAM
- type InfrastructureConfig
- type InfrastructureStatus
- type InstanceProfile
- type Networks
- type Role
- type SecurityGroup
- type Subnet
- type VPC
- type VPCStatus
- type Zone
Constants ¶
const ( // PurposeNodes is a constant describing that the respective resource is used for nodes. PurposeNodes string = "nodes" // PurposePublic is a constant describing that the respective resource is used for public load balancers. PurposePublic string = "public" // PurposeInternal is a constant describing that the respective resource is used for internal load balancers. PurposeInternal string = "internal" )
const GroupName = "aws.provider.extensions.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // 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_aws_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig ¶
func Convert_aws_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *aws.CloudControllerManagerConfig, out *CloudControllerManagerConfig, s conversion.Scope) error
Convert_aws_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig is an autogenerated conversion function.
func Convert_aws_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig ¶
func Convert_aws_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *aws.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error
Convert_aws_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig is an autogenerated conversion function.
func Convert_aws_EC2_To_v1alpha1_EC2 ¶
Convert_aws_EC2_To_v1alpha1_EC2 is an autogenerated conversion function.
func Convert_aws_IAM_To_v1alpha1_IAM ¶
Convert_aws_IAM_To_v1alpha1_IAM is an autogenerated conversion function.
func Convert_aws_InfrastructureConfig_To_v1alpha1_InfrastructureConfig ¶
func Convert_aws_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *aws.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error
Convert_aws_InfrastructureConfig_To_v1alpha1_InfrastructureConfig is an autogenerated conversion function.
func Convert_aws_InfrastructureStatus_To_v1alpha1_InfrastructureStatus ¶
func Convert_aws_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *aws.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error
Convert_aws_InfrastructureStatus_To_v1alpha1_InfrastructureStatus is an autogenerated conversion function.
func Convert_aws_InstanceProfile_To_v1alpha1_InstanceProfile ¶
func Convert_aws_InstanceProfile_To_v1alpha1_InstanceProfile(in *aws.InstanceProfile, out *InstanceProfile, s conversion.Scope) error
Convert_aws_InstanceProfile_To_v1alpha1_InstanceProfile is an autogenerated conversion function.
func Convert_aws_Networks_To_v1alpha1_Networks ¶
func Convert_aws_Networks_To_v1alpha1_Networks(in *aws.Networks, out *Networks, s conversion.Scope) error
Convert_aws_Networks_To_v1alpha1_Networks is an autogenerated conversion function.
func Convert_aws_Role_To_v1alpha1_Role ¶
Convert_aws_Role_To_v1alpha1_Role is an autogenerated conversion function.
func Convert_aws_SecurityGroup_To_v1alpha1_SecurityGroup ¶
func Convert_aws_SecurityGroup_To_v1alpha1_SecurityGroup(in *aws.SecurityGroup, out *SecurityGroup, s conversion.Scope) error
Convert_aws_SecurityGroup_To_v1alpha1_SecurityGroup is an autogenerated conversion function.
func Convert_aws_Subnet_To_v1alpha1_Subnet ¶
Convert_aws_Subnet_To_v1alpha1_Subnet is an autogenerated conversion function.
func Convert_aws_VPCStatus_To_v1alpha1_VPCStatus ¶
func Convert_aws_VPCStatus_To_v1alpha1_VPCStatus(in *aws.VPCStatus, out *VPCStatus, s conversion.Scope) error
Convert_aws_VPCStatus_To_v1alpha1_VPCStatus is an autogenerated conversion function.
func Convert_aws_VPC_To_v1alpha1_VPC ¶
Convert_aws_VPC_To_v1alpha1_VPC is an autogenerated conversion function.
func Convert_aws_Zone_To_v1alpha1_Zone ¶
Convert_aws_Zone_To_v1alpha1_Zone is an autogenerated conversion function.
func Convert_v1alpha1_CloudControllerManagerConfig_To_aws_CloudControllerManagerConfig ¶
func Convert_v1alpha1_CloudControllerManagerConfig_To_aws_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *aws.CloudControllerManagerConfig, s conversion.Scope) error
Convert_v1alpha1_CloudControllerManagerConfig_To_aws_CloudControllerManagerConfig is an autogenerated conversion function.
func Convert_v1alpha1_ControlPlaneConfig_To_aws_ControlPlaneConfig ¶
func Convert_v1alpha1_ControlPlaneConfig_To_aws_ControlPlaneConfig(in *ControlPlaneConfig, out *aws.ControlPlaneConfig, s conversion.Scope) error
Convert_v1alpha1_ControlPlaneConfig_To_aws_ControlPlaneConfig is an autogenerated conversion function.
func Convert_v1alpha1_EC2_To_aws_EC2 ¶
Convert_v1alpha1_EC2_To_aws_EC2 is an autogenerated conversion function.
func Convert_v1alpha1_IAM_To_aws_IAM ¶
Convert_v1alpha1_IAM_To_aws_IAM is an autogenerated conversion function.
func Convert_v1alpha1_InfrastructureConfig_To_aws_InfrastructureConfig ¶
func Convert_v1alpha1_InfrastructureConfig_To_aws_InfrastructureConfig(in *InfrastructureConfig, out *aws.InfrastructureConfig, s conversion.Scope) error
Convert_v1alpha1_InfrastructureConfig_To_aws_InfrastructureConfig is an autogenerated conversion function.
func Convert_v1alpha1_InfrastructureStatus_To_aws_InfrastructureStatus ¶
func Convert_v1alpha1_InfrastructureStatus_To_aws_InfrastructureStatus(in *InfrastructureStatus, out *aws.InfrastructureStatus, s conversion.Scope) error
Convert_v1alpha1_InfrastructureStatus_To_aws_InfrastructureStatus is an autogenerated conversion function.
func Convert_v1alpha1_InstanceProfile_To_aws_InstanceProfile ¶
func Convert_v1alpha1_InstanceProfile_To_aws_InstanceProfile(in *InstanceProfile, out *aws.InstanceProfile, s conversion.Scope) error
Convert_v1alpha1_InstanceProfile_To_aws_InstanceProfile is an autogenerated conversion function.
func Convert_v1alpha1_Networks_To_aws_Networks ¶
func Convert_v1alpha1_Networks_To_aws_Networks(in *Networks, out *aws.Networks, s conversion.Scope) error
Convert_v1alpha1_Networks_To_aws_Networks is an autogenerated conversion function.
func Convert_v1alpha1_Role_To_aws_Role ¶
Convert_v1alpha1_Role_To_aws_Role is an autogenerated conversion function.
func Convert_v1alpha1_SecurityGroup_To_aws_SecurityGroup ¶
func Convert_v1alpha1_SecurityGroup_To_aws_SecurityGroup(in *SecurityGroup, out *aws.SecurityGroup, s conversion.Scope) error
Convert_v1alpha1_SecurityGroup_To_aws_SecurityGroup is an autogenerated conversion function.
func Convert_v1alpha1_Subnet_To_aws_Subnet ¶
Convert_v1alpha1_Subnet_To_aws_Subnet is an autogenerated conversion function.
func Convert_v1alpha1_VPCStatus_To_aws_VPCStatus ¶
func Convert_v1alpha1_VPCStatus_To_aws_VPCStatus(in *VPCStatus, out *aws.VPCStatus, s conversion.Scope) error
Convert_v1alpha1_VPCStatus_To_aws_VPCStatus is an autogenerated conversion function.
func Convert_v1alpha1_VPC_To_aws_VPC ¶
Convert_v1alpha1_VPC_To_aws_VPC is an autogenerated conversion function.
func Convert_v1alpha1_Zone_To_aws_Zone ¶
Convert_v1alpha1_Zone_To_aws_Zone 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"`
// 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 EC2 ¶
type EC2 struct {
// KeyName is the name of the SSH key.
KeyName string `json:"keyName"`
}
EC2 contains information about the AWS EC2 resources.
func (*EC2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2.
func (*EC2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IAM ¶
type IAM struct {
// InstanceProfiles is a list of AWS IAM instance profiles.
InstanceProfiles []InstanceProfile `json:"instanceProfiles"`
// Roles is a list of AWS IAM roles.
Roles []Role `json:"roles"`
}
IAM contains information about the AWS IAM resources.
func (*IAM) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAM.
func (*IAM) DeepCopyInto ¶
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 AWS specific network configuration (VPC, subnets, etc.)
Networks Networks `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"`
// EC2 contains information about the created AWS EC2 resources.
EC2 EC2 `json:"ec2"`
// IAM contains information about the created AWS IAM resources.
IAM IAM `json:"iam"`
// VPC contains information about the created AWS VPC and some related resources.
VPC VPCStatus `json:"vpc"`
}
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 InstanceProfile ¶
type InstanceProfile struct {
// Purpose is a logical description of the instance profile.
Purpose string `json:"purpose"`
// Name is the name for this instance profile.
Name string `json:"name"`
}
InstanceProfile is an AWS IAM instance profile.
func (*InstanceProfile) DeepCopy ¶
func (in *InstanceProfile) DeepCopy() *InstanceProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceProfile.
func (*InstanceProfile) DeepCopyInto ¶
func (in *InstanceProfile) DeepCopyInto(out *InstanceProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Networks ¶
type Networks struct {
// VPC indicates whether to use an existing VPC or create a new one.
VPC VPC `json:"vpc"`
// Zones belonging to the same region
Zones []Zone `json:"zones"`
}
Networks holds information about the Kubernetes and infrastructure networks.
func (*Networks) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networks.
func (*Networks) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Role ¶
type Role struct {
// Purpose is a logical description of the role.
Purpose string `json:"purpose"`
// ARN is the AWS Resource Name for this role.
ARN string `json:"arn"`
}
Role is an AWS IAM role.
func (*Role) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroup ¶
type SecurityGroup struct {
// Purpose is a logical description of the security group.
Purpose string `json:"purpose"`
// ID is the subnet id.
ID string `json:"id"`
}
SecurityGroup is an AWS security group related to a VPC.
func (*SecurityGroup) DeepCopy ¶
func (in *SecurityGroup) DeepCopy() *SecurityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
func (*SecurityGroup) DeepCopyInto ¶
func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct {
// Purpose is a logical description of the subnet.
Purpose string `json:"purpose"`
// ID is the subnet id.
ID string `json:"id"`
// Zone is the availability zone into which the subnet has been created.
Zone string `json:"zone"`
}
Subnet is an AWS subnet related to a VPC.
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 VPC ¶
type VPC struct {
// ID is the VPC id.
// +optional
ID *string `json:"id,omitempty"`
// gardencorev1alpha1.CIDR is the VPC gardencorev1alpha1.CIDR
// +optional
CIDR *gardencorev1alpha1.CIDR `json:"cidr,omitempty"`
}
VPC contains information about the AWS 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 VPCStatus ¶
type VPCStatus struct {
// ID is the VPC id.
ID string `json:"id"`
// Subnets is a list of subnets that have been created.
Subnets []Subnet `json:"subnets"`
// SecurityGroups is a list of security groups that have been created.
SecurityGroups []SecurityGroup `json:"securityGroups"`
}
VPCStatus contains information about a generated VPC or resources inside an existing VPC.
func (*VPCStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCStatus.
func (*VPCStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Zone ¶
type Zone struct {
// Name is the name for this zone.
Name string `json:"name"`
// Internal is the private subnet range to create (used for internal load balancers).
Internal gardencorev1alpha1.CIDR `json:"internal"`
// Public is the public subnet range to create (used for bastion and load balancers).
Public gardencorev1alpha1.CIDR `json:"public"`
// Workers is the workers subnet range to create (used for the VMs).
Workers gardencorev1alpha1.CIDR `json:"workers"`
}
Zone describes the properties of a zone
func (*Zone) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zone.
func (*Zone) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.