Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CloudControllerManagerConfig
- type CloudProfileConfig
- type Constraints
- type ControlPlaneConfig
- type FloatingPool
- type FloatingPoolStatus
- type InfrastructureConfig
- type InfrastructureStatus
- type KeyStoneURL
- type LoadBalancerClass
- type LoadBalancerProvider
- type MachineImage
- type MachineImageVersion
- type MachineImages
- type NetworkStatus
- type Networks
- type NodeStatus
- type Purpose
- type RegionIDMapping
- 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 { // 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 // Constraints is an object containing constraints for certain values in the control plane config. Constraints Constraints // DNSServers is a list of IPs of DNS servers used while creating subnets. DNSServers []string // DHCPDomain is the dhcp domain of the OpenStack system configured in nova.conf. Only meaningful for // Kubernetes 1.10.1+. See https://github.com/kubernetes/kubernetes/pull/61890 for details. DHCPDomain *string // KeyStoneURL is the URL for auth{n,z} in OpenStack (pointing to KeyStone). KeyStoneURL string // KeyStoneURLs is a region-URL mapping for auth{n,z} in OpenStack (pointing to KeyStone). KeyStoneURLs []KeyStoneURL // 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 // RequestTimeout specifies the HTTP timeout against the OpenStack API. RequestTimeout *string // UseOctavia specifies whether the OpenStack Octavia network load balancing is used. UseOctavia *bool }
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 Constraints ¶
type Constraints struct { // FloatingPools contains constraints regarding allowed values of the 'floatingPoolName' block in the control plane config. FloatingPools []FloatingPool // LoadBalancerProviders contains constraints regarding allowed values of the 'loadBalancerProvider' block in the control plane config. LoadBalancerProviders []LoadBalancerProvider }
Constraints is an object containing constraints for the shoots.
func (*Constraints) DeepCopy ¶
func (in *Constraints) DeepCopy() *Constraints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Constraints.
func (*Constraints) DeepCopyInto ¶
func (in *Constraints) DeepCopyInto(out *Constraints)
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 FloatingPool ¶
type FloatingPool struct { // Name is the name of the floating pool. Name string // Region is the region name. Region *string // LoadBalancerClasses contains a list of supported labeled load balancer network settings. LoadBalancerClasses []LoadBalancerClass }
FloatingPool contains constraints regarding allowed values of the 'floatingPoolName' block in the control plane config.
func (*FloatingPool) DeepCopy ¶
func (in *FloatingPool) DeepCopy() *FloatingPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatingPool.
func (*FloatingPool) DeepCopyInto ¶
func (in *FloatingPool) DeepCopyInto(out *FloatingPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FloatingPoolStatus ¶
type FloatingPoolStatus struct { // ID is the floating pool id. ID string // Name is the floating pool name. Name 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 KeyStoneURL ¶
type KeyStoneURL struct { // Region is the name of the region. Region string // URL is the keystone URL. URL string }
KeyStoneURL is a region-URL mapping for auth{n,z} in OpenStack (pointing to KeyStone).
func (*KeyStoneURL) DeepCopy ¶
func (in *KeyStoneURL) DeepCopy() *KeyStoneURL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyStoneURL.
func (*KeyStoneURL) DeepCopyInto ¶
func (in *KeyStoneURL) DeepCopyInto(out *KeyStoneURL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
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.
func (LoadBalancerClass) String ¶ added in v1.4.0
func (in LoadBalancerClass) String() string
type LoadBalancerProvider ¶
type LoadBalancerProvider struct { // Name is the name of the load balancer provider. Name string // Region is the region name. Region *string }
LoadBalancerProvider contains constraints regarding allowed values of the 'loadBalancerProvider' block in the control plane config.
func (*LoadBalancerProvider) DeepCopy ¶
func (in *LoadBalancerProvider) DeepCopy() *LoadBalancerProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerProvider.
func (*LoadBalancerProvider) DeepCopyInto ¶
func (in *LoadBalancerProvider) DeepCopyInto(out *LoadBalancerProvider)
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 // Image is the name of the image. Image string // ID is the id of the image. (one of Image or ID must be set) 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 // Image is the name of the image. Image string // Regions is an optional mapping to the correct Image 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 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). // Deprecated - use `workers` instead. Worker string // Workers is a CIDRs of a worker subnet (private) to create (used for the VMs). Workers string }
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 RegionIDMapping ¶
type RegionIDMapping struct { // Name is the name of the region. Name string // ID is the ID for the machine image in the given region. 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 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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 contains the OpenStack provider API resources.
|
Package v1alpha1 contains the OpenStack provider API resources. |