Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CloudControllerManagerConfig
- type CloudProfileConfig
- type ControlPlaneConfig
- type InfrastructureConfig
- type InfrastructureStatus
- type MachineImage
- type MachineImageVersion
- type MachineImages
- type Networks
- type Purpose
- type RegionIDMapping
- type SecurityGroup
- type VPC
- type VPCStatus
- type VSwitch
- type WorkerStatus
- type Zone
Constants ¶
const GroupName = "alicloud.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 { // 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 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 ControlPlaneConfig ¶
type ControlPlaneConfig struct { metav1.TypeMeta // Zone is the Alicloud 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 InfrastructureConfig ¶
type InfrastructureConfig struct { metav1.TypeMeta // Networks specifies the networks for an infrastructure. 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 VPC VPCStatus KeyPairName string // MachineImages is a list of machine images that have been used in this infrastructure. 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 and Shoot's access to the this version is revoked, // it cannot reconcile anymore existing `Infrastructure` resources that are still using this version. Hence, it stores // the used versions in the provider status to ensure reconciliation is possible. MachineImages []MachineImage }
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 // ID is the ID of the image. ID string }
MachineImage is a mapping from logical names and versions to provider-specific machine image data.
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 // Regions is a mapping to the correct ID for the machine image in the supported regions. Regions []RegionIDMapping }
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 Networks ¶
type Networks struct { // VPC contains information about whether to create a new or use an existing VPC. VPC VPC // Zones are the network zones for an infrastructure. Zones []Zone }
Networks specifies the networks for an infrastructure.
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 RegionIDMapping ¶
type RegionIDMapping struct { // Name is the name of the region. Name string // ID is the id of the image. ID string }
RegionIDMapping is a mapping to the correct ID for the machine image in the given region.
func (*RegionIDMapping) DeepCopy ¶
func (in *RegionIDMapping) DeepCopy() *RegionIDMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegionIDMapping.
func (*RegionIDMapping) DeepCopyInto ¶
func (in *RegionIDMapping) DeepCopyInto(out *RegionIDMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroup ¶
type SecurityGroup struct { // Purpose is the purpose for which the security group was created. Purpose Purpose // ID is the id of the security group. ID string }
SecurityGroup contains information about a security group.
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 VPC ¶
type VPC struct { // ID is the ID of an existing VPC. // +optional ID *string // CIDR is the CIDR of a VPC to create. // +optional CIDR *string }
VPC contains information about whether to create a new or use an existing VPC.
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 ID of the VPC. ID string // VSwitches is a list of vswitches. VSwitches []VSwitch // SecurityGroups is a list of security groups. SecurityGroups []SecurityGroup }
VPCStatus contains output information about the 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 VSwitch ¶
type VSwitch struct { // Purpose is the purpose for which the vswitch was created. Purpose Purpose // ID is the id of the vswitch. ID string // Zone is the name of the zone. Zone string }
VSwitch contains information about a vswitch.
func (*VSwitch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSwitch.
func (*VSwitch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
type Zone ¶
type Zone struct { // Name is the name of a zone. Name string // Worker specifies the worker CIDR to use. // Deprecated - use `workers` instead. Worker string // Workers specifies the worker CIDR to use. Workers string }
Zone is a zone with a name and worker CIDR.
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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 contains the AliCloud provider API resources.
|
Package v1alpha1 contains the AliCloud provider API resources. |