Documentation
¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CloudControllerManagerConfig
- type ControlPlaneConfig
- type FloatingPoolStatus
- type InfrastructureConfig
- type InfrastructureStatus
- type LoadBalancerClass
- type MachineImage
- type NetworkStatus
- type Networks
- type NodeStatus
- type Purpose
- type Router
- type RouterStatus
- type SecurityGroup
- type Subnet
- type WorkerStatus
Constants ¶
const ( // DefaultLoadBalancerClass defines the default load balancer class. DefaultLoadBalancerClass = "default" // PrivateLoadBalancerClass defines the load balancer class used to default the private load balancers. PrivateLoadBalancerClass = "private" // VPNLoadBalancerClass defines the floating pool class used by the VPN service. VPNLoadBalancerClass = "vpn" )
const GroupName = "openstack.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
}
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 // LoadBalancerProvider is the name of the load balancer provider in the OpenStack environment. LoadBalancerProvider string // Zone is the OpenStack zone. Zone string // FloatingPoolClasses available for a dedicated Shoot. LoadBalancerClasses []LoadBalancerClass // 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 FloatingPoolStatus ¶
type FloatingPoolStatus struct { // ID is the floating pool id. ID string }
FloatingPoolStatus contains information about the floating pool.
func (*FloatingPoolStatus) DeepCopy ¶
func (in *FloatingPoolStatus) DeepCopy() *FloatingPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatingPoolStatus.
func (*FloatingPoolStatus) DeepCopyInto ¶
func (in *FloatingPoolStatus) DeepCopyInto(out *FloatingPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureConfig ¶
type InfrastructureConfig struct { metav1.TypeMeta // FloatingPoolName contains the FloatingPoolName name in which LoadBalancer FIPs should be created. FloatingPoolName string // Networks is the OpenStack specific network configuration 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 // Networks contains information about the created Networks and some related resources. Networks NetworkStatus // Node contains information about Node related resources. Node NodeStatus // SecurityGroups is a list of security groups that have been created. SecurityGroups []SecurityGroup }
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 LoadBalancerClass ¶
type LoadBalancerClass struct { // Name is the name of the LB class Name string // FloatingSubnetID is the subnetwork ID of a dedicated subnet in floating network pool. FloatingSubnetID *string // FloatingNetworkID is the network ID of the floating network pool. FloatingNetworkID *string // SubnetID is the ID of a local subnet used for LoadBalancer provisioning. Only usable if no FloatingPool // configuration is done. SubnetID *string }
LoadBalancerClass defines a restricted network setting for generic LoadBalancer classes usable in CloudProfiles.
func (*LoadBalancerClass) DeepCopy ¶
func (in *LoadBalancerClass) DeepCopy() *LoadBalancerClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerClass.
func (*LoadBalancerClass) DeepCopyInto ¶
func (in *LoadBalancerClass) DeepCopyInto(out *LoadBalancerClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 // CloudProfile is the name of the cloud profile for this image. CloudProfile string // Image is the name of the image. Image 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 NetworkStatus ¶
type NetworkStatus struct { // ID is the Network id. ID string // FloatingPool contains information about the floating pool. FloatingPool FloatingPoolStatus // Router contains information about the Router and related resources. Router RouterStatus // Subnets is a list of subnets that have been created. Subnets []Subnet }
NetworkStatus contains information about a generated Network or resources created in an existing Network.
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 Networks ¶
type Networks struct { // Router indicates whether to use an existing router or create a new one. Router *Router // Worker is a CIDRs of a worker subnet (private) to create (used for the VMs). Worker gardencorev1alpha1.CIDR }
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 NodeStatus ¶
type NodeStatus struct { // KeyName is the name of the SSH key. KeyName string }
NodeStatus contains information about Node related resources.
func (*NodeStatus) DeepCopy ¶
func (in *NodeStatus) DeepCopy() *NodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
func (*NodeStatus) DeepCopyInto ¶
func (in *NodeStatus) DeepCopyInto(out *NodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Purpose ¶
type Purpose string
Purpose is a purpose of resources.
const ( // PurposeNodes is a Purpose for node resources. PurposeNodes Purpose = "nodes" )
type Router ¶
type Router struct { // ID is the router id of an existing OpenStack router. ID string }
Router indicates whether to use an existing router or create a new one.
func (*Router) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Router.
func (*Router) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouterStatus ¶
type RouterStatus struct { // ID is the Router id. ID string }
RouterStatus contains information about a generated Router or resources attached to an existing Router.
func (*RouterStatus) DeepCopy ¶
func (in *RouterStatus) DeepCopy() *RouterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterStatus.
func (*RouterStatus) DeepCopyInto ¶
func (in *RouterStatus) DeepCopyInto(out *RouterStatus)
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 Purpose // ID is the security group id. ID string // Name is the security group name. Name string }
SecurityGroup is an OpenStack security group related to a Network.
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 Purpose // ID is the subnet id. ID string }
Subnet is an OpenStack subnet related to a Network.
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 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.