openstack

package
v1.31.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const GroupName = "openstack.provider.extensions.gardener.cloud"

GroupName is the group name use in this package

View Source
const (
	// ServerGroupPolicyAffinity is a server group policy that hints the Nova scheduler to co-locate nodes in the same hypervisor.
	ServerGroupPolicyAffinity string = "affinity"
)

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudControllerManagerConfig.

func (*CloudControllerManagerConfig) DeepCopyInto

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 *metav1.Duration
	// RescanBlockStorageOnResize specifies whether the storage plugin scans and checks new block device size before it resizes
	// the filesystem.
	RescanBlockStorageOnResize *bool
	// IgnoreVolumeAZ specifies whether the volumes AZ should be ignored when scheduling to nodes,
	// to allow for differences between volume and compute zone naming. Only works with kubernetes 1.20.x and newer.
	IgnoreVolumeAZ *bool
	// NodeVolumeAttachLimit specifies how many volumes can be attached to a node.
	NodeVolumeAttachLimit *int32
	// UseOctavia specifies whether the OpenStack Octavia network load balancing is used.
	UseOctavia *bool
	// UseSNAT specifies whether S-NAT is supposed to be used for the Gardener managed OpenStack router.
	UseSNAT *bool
	// ServerGroupPolicies specify the allowed server group policies for worker groups.
	ServerGroupPolicies []string
	// ResolvConfOptions specifies options to be added to /etc/resolv.conf on workers
	ResolvConfOptions []string
	// StorageClasses defines storageclasses for the shoot
	// +optional
	StorageClasses []StorageClassDefinition
}

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

	// CloudControllerManager contains configuration settings for the cloud-controller-manager.
	CloudControllerManager *CloudControllerManagerConfig
	// LoadBalancerClasses available for a dedicated Shoot.
	LoadBalancerClasses []LoadBalancerClass
	// LoadBalancerProvider is the name of the load balancer provider in the OpenStack environment.
	LoadBalancerProvider string
	// Zone is the OpenStack zone.
	// Deprecated: Don't use anymore. Will be removed in a future version.
	Zone *string
}

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
	// Domain is the domain name.
	Domain *string
	// DefaultFloatingSubnet is the default floating subnet for the floating pool.
	DefaultFloatingSubnet *string
	// NonConstraining specifies whether this floating pool is not constraining, that means additionally available independent of other FP constraints.
	NonConstraining *bool
	// 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
	// FloatingPoolSubnetName contains the fixed name of subnet or matching name pattern for subnet
	// in the Floating IP Pool where the router should be attached to.
	FloatingPoolSubnetName *string
	// Networks is the OpenStack specific network configuration
	Networks Networks
}

InfrastructureConfig infrastructure configuration resource

func (*InfrastructureConfig) DeepCopy

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

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
	// Purpose is reflecting if the loadbalancer class has a special purpose e.g. default, internal.
	Purpose *string
	// FloatingSubnetID is the subnetwork ID of a dedicated subnet in floating network pool.
	FloatingSubnetID *string
	// FloatingSubnetTags is a list of tags which can be used to select subnets in the floating network pool.
	FloatingSubnetTags *string
	// FloatingSubnetName is can either be a name or a name pattern of a subnet in the floating network pool.
	FloatingSubnetName *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) IsSemanticallyEqual added in v1.21.0

func (l LoadBalancerClass) IsSemanticallyEqual(e LoadBalancerClass) bool

IsSemanticallyEqual checks if the load balancer class is semantically equal to another given load balancer class. Name and Purpose fields are allowed to be different.

func (LoadBalancerClass) String added in v1.4.0

func (l 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

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
	// Name is the Network name.
	Name 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
	// ID is the ID of an existing private network.
	ID *string
}

Networks holds information about the Kubernetes and infrastructure networks.

func (*Networks) DeepCopy

func (in *Networks) DeepCopy() *Networks

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networks.

func (*Networks) DeepCopyInto

func (in *Networks) DeepCopyInto(out *Networks)

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

func (in *Router) DeepCopy() *Router

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Router.

func (*Router) DeepCopyInto

func (in *Router) DeepCopyInto(out *Router)

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
	// IP is the router ip.
	IP 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 ServerGroup added in v1.14.0

type ServerGroup struct {
	// Policy describes the kind of affinity policy for instances of the server group.
	// https://docs.openstack.org/python-openstackclient/ussuri/cli/command-objects/server-group.html
	Policy string
}

ServerGroup contains configuration data for setting up a server group.

func (*ServerGroup) DeepCopy added in v1.14.0

func (in *ServerGroup) DeepCopy() *ServerGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerGroup.

func (*ServerGroup) DeepCopyInto added in v1.14.0

func (in *ServerGroup) DeepCopyInto(out *ServerGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerGroupDependency added in v1.14.0

type ServerGroupDependency struct {
	// PoolName identifies the worker pool that this dependency belongs
	PoolName string
	// ID is the provider's generated ID for a server group
	ID string
	// Name is the name of the server group
	Name string
}

ServerGroupDependency is a reference to an external machine dependency of openstack server groups.

func (*ServerGroupDependency) DeepCopy added in v1.14.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerGroupDependency.

func (*ServerGroupDependency) DeepCopyInto added in v1.14.0

func (in *ServerGroupDependency) DeepCopyInto(out *ServerGroupDependency)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StorageClassDefinition added in v1.31.0

type StorageClassDefinition struct {
	// Name is the name of the storageclass
	Name string
	// Default set the storageclass to the default one
	// +optional
	Default *bool
	// Provisioner set the Provisioner inside the storageclass
	// +optional
	Provisioner *string
	// Parameters adds parameters to the storageclass (storageclass.parameters)
	// +optional
	Parameters map[string]string
	// Annotations sets annotations for the storageclass
	// +optional
	Annotations map[string]string
	// Labels sets labels for the storageclass
	// +optional
	Labels map[string]string
	// ReclaimPolicy sets reclaimPolicy for the storageclass
	// +optional
	ReclaimPolicy *string
	// VolumeBindingMode sets bindingMode for the storageclass
	// +optional
	VolumeBindingMode *string
}

StorageClassDefinition is a definition of a storageClass

func (*StorageClassDefinition) DeepCopy added in v1.31.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassDefinition.

func (*StorageClassDefinition) DeepCopyInto added in v1.31.0

func (in *StorageClassDefinition) DeepCopyInto(out *StorageClassDefinition)

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

func (in *Subnet) DeepCopy() *Subnet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkerConfig added in v1.14.0

type WorkerConfig struct {
	metav1.TypeMeta

	// ServerGroup contains configuration data for the worker pool's server group. If this object is present,
	// OpenStack provider extension will try to create a new server group for instances of this worker pool.
	ServerGroup *ServerGroup
}

WorkerConfig contains configuration data for a worker pool.

func (*WorkerConfig) DeepCopy added in v1.14.0

func (in *WorkerConfig) DeepCopy() *WorkerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerConfig.

func (*WorkerConfig) DeepCopyInto added in v1.14.0

func (in *WorkerConfig) DeepCopyInto(out *WorkerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkerConfig) DeepCopyObject added in v1.14.0

func (in *WorkerConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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

	// ServerGroupDependencies is a list of external machine dependencies.
	ServerGroupDependencies []ServerGroupDependency
}

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.

Directories

Path Synopsis
Package v1alpha1 contains the OpenStack provider API resources.
Package v1alpha1 contains the OpenStack provider API resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL