Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- 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.NewSchemeBuilder(addKnownTypes) // 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 {
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 }
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 // Roles is a list of AWS IAM roles. Roles []Role }
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 // Networks is the AWS specific network configuration (VPC, subnets, etc.) Networks 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 // EC2 contains information about the created AWS EC2 resources. EC2 EC2 // IAM contains information about the created AWS IAM resources. IAM IAM // VPC contains information about the created AWS VPC and some related resources. VPC VPCStatus }
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 // Name is the name for this instance profile. Name string }
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 // Zones belonging to the same region Zones []Zone }
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 // ARN is the AWS Resource Name for this role. ARN string }
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 // ID is the subnet id. ID string }
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 // ID is the subnet id. ID string // Zone is the availability zone into which the subnet has been created. Zone string }
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. ID *string // CIDR is the VPC CIDR CIDR *gardencore.CIDR }
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 // Subnets is a list of subnets that have been created. Subnets []Subnet // SecurityGroups is a list of security groups that have been created. SecurityGroups []SecurityGroup }
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 // Internal is the private subnet range to create (used for internal load balancers). Internal gardencore.CIDR // Public is the public subnet range to create (used for bastion and load balancers). Public gardencore.CIDR // Workers isis the workers subnet range to create (used for the VMs). Workers gardencore.CIDR }
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.