v1alpha1

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains constants and types for the STACKIT provider extension. This file defines default names and controller names used throughout the STACKIT provider implementation.

Package v1alpha1 contains the STACKIT provider API resources. +groupName=stackit.provider.extensions.gardener.cloud

Index

Constants

View Source
const (
	// DefaultCSIName defines the default CSI (Container Storage Interface) name for STACKIT
	DefaultCSIName = "stackit"
	// DefaultCCMName defines the default CCM (Cloud Controller Manager) controller to use
	DefaultCCMName = "stackit"
)
View Source
const GroupName = "stackit.provider.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetDefaults_ControlPlaneConfig

func SetDefaults_ControlPlaneConfig(obj *ControlPlaneConfig)

func SetObjectDefaults_ControlPlaneConfig

func SetObjectDefaults_ControlPlaneConfig(in *ControlPlaneConfig)

Types

type APIEndpoints

type APIEndpoints struct {
	// DNS is the Endpoint of the DNS API.
	// +optional
	DNS *string `json:"dns,omitempty"`
	// LoadBalancer is the Endpoint of the LoadBalancer API.
	// +optional
	LoadBalancer *string `json:"loadBalancer,omitempty"`
	// IaaS is the Endpoint of the IaaS API.
	// +optional
	IaaS *string `json:"iaas,omitempty"`
	// ApplicationLoadBalancer is the Endpoint of the Application LoadBalancer API.
	// +optional
	ApplicationLoadBalancer *string `json:"applicationLoadBalancer,omitempty"`
	// LoadbalancerCertificate is the Endpoint of the LoadBalancerCertificate API.
	// +optional
	LoadBalancerCertificate *string `json:"loadbalancerCertificate,omitempty"`
	// TokenEndpoint is the token endpoint URL.
	// +optional
	TokenEndpoint *string `json:"tokenEndpoint,omitempty"`
}

APIEndpoints contains API endpoints for various services (e.g., "LoadBalancer", "IaaS").

func (*APIEndpoints) DeepCopy

func (in *APIEndpoints) DeepCopy() *APIEndpoints

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

func (*APIEndpoints) DeepCopyInto

func (in *APIEndpoints) DeepCopyInto(out *APIEndpoints)

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

type ApplicationLoadBalancerConfig

type ApplicationLoadBalancerConfig struct {
	Enabled bool `json:"enabled"`
}

func (*ApplicationLoadBalancerConfig) DeepCopy

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

func (*ApplicationLoadBalancerConfig) DeepCopyInto

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

type CSI

type CSI struct {
	Name string `json:"name"`
}

func (*CSI) DeepCopy

func (in *CSI) DeepCopy() *CSI

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

func (*CSI) DeepCopyInto

func (in *CSI) DeepCopyInto(out *CSI)

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

type CSIManila

type CSIManila struct {
	// Enabled is the switch to enable the CSI Manila driver support
	Enabled bool `json:"enabled"`
}

CSIManila contains configuration for CSI Manila driver (support for NFS volumes)

func (*CSIManila) DeepCopy

func (in *CSIManila) DeepCopy() *CSIManila

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

func (*CSIManila) DeepCopyInto

func (in *CSIManila) DeepCopyInto(out *CSIManila)

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

type CloudControllerManagerConfig

type CloudControllerManagerConfig struct {
	// FeatureGates contains information about enabled feature gates.
	// +optional
	FeatureGates map[string]bool `json:"featureGates,omitempty"`
	// Name contains the information of which ccm to deploy
	// +optional
	Name string `json:"name,omitempty"`
}

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 `json:",inline"`
	// Constraints is an object containing constraints for certain values in the control plane config.
	Constraints Constraints `json:"constraints"`
	// DNSServers is a list of IPs of DNS servers used while creating subnets.
	// +optional
	DNSServers []string `json:"dnsServers,omitempty"`
	// 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.
	// +optional
	DHCPDomain *string `json:"dhcpDomain,omitempty"`
	// KeyStoneURL is the URL for auth{n,z} in OpenStack (pointing to KeyStone).
	// +optional
	KeyStoneURL string `json:"keystoneURL,omitempty"`
	// KeystoneCACert is the CA Bundle for the KeyStoneURL.
	// +optional
	KeyStoneCACert *string `json:"keystoneCACert,omitempty"`
	// KeyStoneForceInsecure is a flag to control whether the OpenStack client should perform no certificate validation.
	// +optional
	KeyStoneForceInsecure bool `json:"keystoneForceInsecure,omitempty"`
	// KeyStoneURLs is a region-URL mapping for auth{n,z} in OpenStack (pointing to KeyStone).
	// +optional
	KeyStoneURLs []KeyStoneURL `json:"keystoneURLs,omitempty"`
	// 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 `json:"machineImages"`
	// RequestTimeout specifies the HTTP timeout against the OpenStack API.
	// +optional
	RequestTimeout *metav1.Duration `json:"requestTimeout,omitempty"`
	// RescanBlockStorageOnResize specifies whether the storage plugin scans and checks new block device size before it resizes
	// the filesystem.
	// +optional
	RescanBlockStorageOnResize *bool `json:"rescanBlockStorageOnResize,omitempty"`
	// IgnoreVolumeAZ specifies whether the volumes AZ should be ignored when scheduling to nodes,
	// to allow for differences between volume and compute zone naming.
	// +optional
	IgnoreVolumeAZ *bool `json:"ignoreVolumeAZ,omitempty"`
	// NodeVolumeAttachLimit specifies how many volumes can be attached to a node.
	// +optional
	NodeVolumeAttachLimit *int32 `json:"nodeVolumeAttachLimit,omitempty"`
	// UseOctavia specifies whether the OpenStack Octavia network load balancing is used.
	//
	// Deprecated: This field will be removed in future release.
	//
	// +optional
	UseOctavia *bool `json:"useOctavia,omitempty"`
	// UseSNAT specifies whether S-NAT is supposed to be used for the Gardener managed OpenStack router.
	// +optional
	UseSNAT *bool `json:"useSNAT,omitempty"`
	// ServerGroupPolicies specify the allowed server group policies for worker groups.
	// +optional
	ServerGroupPolicies []string `json:"serverGroupPolicies,omitempty"`
	// ResolvConfOptions specifies options to be added to /etc/resolv.conf on workers
	// +optional
	ResolvConfOptions []string `json:"resolvConfOptions,omitempty"`
	// StorageClasses defines storageclasses for the shoot
	// +optional
	StorageClasses []StorageClassDefinition `json:"storageClasses,omitempty"`
	// APIEndpoints contains API endpoints for various services (e.g., "LoadBalancer", "IaaS").
	// +optional
	APIEndpoints *APIEndpoints `json:"apiEndpoints,omitempty"`
	// CABundle is the CA certificate bundle for API endpoints.
	// This field is currently ignored and reserved for future use.
	// +optional
	CABundle *string `json:"caBundle,omitempty"`
}

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 `json:"floatingPools"`
}

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 `json:",inline"`

	// CloudControllerManager contains configuration settings for the cloud-controller-manager.
	// +optional
	CloudControllerManager *CloudControllerManagerConfig `json:"cloudControllerManager,omitempty"`
	// Zone is the OpenStack zone.
	//
	// Deprecated: Don't use anymore. Will be removed in a future version.
	//
	// +optional
	Zone *string `json:"zone,omitempty"`
	// Storage contains configuration for storage in the cluster.
	// +optional
	Storage *Storage `json:"storage,omitempty"`

	// ApplicationLoadBalancer holds the configuration for the ApplicationLoadBalancer controller
	// +optional
	ApplicationLoadBalancer *ApplicationLoadBalancerConfig `json:"applicationLoadBalancer,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 ControllerName

type ControllerName string
const (
	STACKIT   ControllerName = "stackit"
	OPENSTACK ControllerName = "openstack"
)

type FloatingPool

type FloatingPool struct {
	// Name is the name of the floating pool.
	Name string `json:"name"`
	// Region is the region name.
	// +optional
	Region *string `json:"region,omitempty"`
	// Domain is the domain name.
	// +optional
	Domain *string `json:"domain,omitempty"`
	// DefaultFloatingSubnet is the default floating subnet for the floating pool.
	// +optional
	DefaultFloatingSubnet *string `json:"defaultFloatingSubnet,omitempty"`
	// NonConstraining specifies whether this floating pool is not constraining, that means additionally available independent of other FP constraints.
	// +optional
	NonConstraining *bool `json:"nonConstraining,omitempty"`
}

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 `json:"id"`
	// Name is the floating pool name.
	Name string `json:"name"`
}

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 `json:",inline"`
	// FloatingPoolName contains the FloatingPoolName name in which LoadBalancer FIPs should be created.
	FloatingPoolName string `json:"floatingPoolName"`
	// 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.
	// +optional
	FloatingPoolSubnetName *string `json:"floatingPoolSubnetName,omitempty"`
	// Networks is the OpenStack specific network configuration
	Networks Networks `json:"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 InfrastructureState

type InfrastructureState struct {
	metav1.TypeMeta

	Data map[string]string `json:"data"`
}

InfrastructureState is the state which is persisted as part of the infrastructure status.

func (*InfrastructureState) DeepCopy

func (in *InfrastructureState) DeepCopy() *InfrastructureState

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

func (*InfrastructureState) DeepCopyInto

func (in *InfrastructureState) DeepCopyInto(out *InfrastructureState)

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

func (*InfrastructureState) DeepCopyObject

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

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

type InfrastructureStatus

type InfrastructureStatus struct {
	metav1.TypeMeta `json:",inline"`
	// Networks contains information about the created Networks and some related resources.
	Networks NetworkStatus `json:"networks"`
	// Node contains information about Node related resources.
	Node NodeStatus `json:"node"`
	// SecurityGroups is a list of security groups that have been created.
	SecurityGroups []SecurityGroup `json:"securityGroups"`
}

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 `json:"region"`
	// URL is the keystone URL.
	URL string `json:"url"`
	// CACert is the CA Bundle for the KeyStoneURL.
	CACert *string `json:"caCert,omitempty"`
}

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 MachineImage

type MachineImage struct {
	// Name is the logical name of the machine image.
	Name string `json:"name"`
	// Version is the logical version of the machine image.
	Version string `json:"version"`
	// Image is the name of the image.
	Image string `json:"image,omitempty"`
	// ID is the id of the image. (one of Image or ID must be set)
	ID string `json:"id,omitempty"`
	// Architecture is the CPU architecture of the machine image
	// +optional
	Architecture *string `json:"architecture,omitempty"`
}

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 `json:"version"`
	// Image is the name of the image.
	Image string `json:"image,omitempty"`
	// Regions is an optional mapping to the correct Image ID for the machine image in the supported regions.
	Regions []RegionIDMapping `json:"regions,omitempty"`
}

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 `json:"name"`
	// Versions contains versions and a provider-specific identifier.
	Versions []MachineImageVersion `json:"versions"`
}

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 MachineLabel

type MachineLabel struct {
	// Name is the machine label key
	Name string `json:"name"`
	// Value is the machine label value
	Value string `json:"value"`
	// TriggerRollingOnUpdate controls if the machines should be rolled if the value changes
	TriggerRollingOnUpdate bool `json:"triggerRollingOnUpdate,omitempty"`
}

MachineLabel define key value pair to label machines.

func (*MachineLabel) DeepCopy

func (in *MachineLabel) DeepCopy() *MachineLabel

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

func (*MachineLabel) DeepCopyInto

func (in *MachineLabel) DeepCopyInto(out *MachineLabel)

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 `json:"id"`
	// Name is the Network name.
	Name string `json:"name"`
	// FloatingPool contains information about the floating pool.
	FloatingPool FloatingPoolStatus `json:"floatingPool"`
	// Router contains information about the Router and related resources.
	Router RouterStatus `json:"router"`
	// Subnets is a list of subnets that have been created.
	Subnets []Subnet `json:"subnets"`
	// ShareNetwork contains information about a created/provided ShareNetwork
	// +optional
	ShareNetwork *ShareNetworkStatus `json:"shareNetwork,omitempty"`
}

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.
	// +optional
	Router *Router `json:"router,omitempty"`
	// Worker is a CIDRs of a worker subnet (private) to create (used for the VMs).
	//
	// Deprecated: use `workers` instead.
	Worker string `json:"worker"`
	// Workers is a CIDRs of a worker subnet (private) to create (used for the VMs).
	Workers string `json:"workers"`
	// ID is the ID of an existing private network.
	// +optional
	ID *string `json:"id,omitempty"`
	// SubnetID is the ID of an existing subnet.
	// +optional
	SubnetID *string `json:"subnetId,omitempty"`
	// ShareNetwork holds information about the share network (used for shared file systems like NFS)
	// +optional
	ShareNetwork *ShareNetwork `json:"shareNetwork,omitempty"`
	// DNSServers overrides the default dns configuration from cloud profile
	// +optional
	DNSServers *[]string `json:"dnsServers,omitempty"`
}

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 `json:"keyName"`
}

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 a resource.

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 `json:"name"`
	// ID is the ID for the machine image in the given region.
	ID string `json:"id"`
	// Architecture is the CPU architecture of the machine image
	// +optional
	Architecture *string `json:"architecture,omitempty"`
}

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 `json:"id"`
}

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 `json:"id"`
	// IP is the router ip.
	//
	// Deprecated: use ExternalFixedIPs instead.
	IP string `json:"ip"`
	// ExternalFixedIPs is the list of the router's assigned external fixed IPs.
	ExternalFixedIPs []string `json:"externalFixedIP"`
}

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 `json:"purpose"`
	// ID is the security group id.
	ID string `json:"id"`
	// Name is the security group name.
	Name string `json:"name"`
}

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 ServerGroupDependency

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

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

func (*ServerGroupDependency) DeepCopy

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

func (*ServerGroupDependency) DeepCopyInto

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

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

type ShareNetwork

type ShareNetwork struct {
	// Enabled is the switch to enable the creation of a share network
	Enabled bool `json:"enabled"`
}

ShareNetwork holds information about the share network (used for shared file systems like NFS)

func (*ShareNetwork) DeepCopy

func (in *ShareNetwork) DeepCopy() *ShareNetwork

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

func (*ShareNetwork) DeepCopyInto

func (in *ShareNetwork) DeepCopyInto(out *ShareNetwork)

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

type ShareNetworkStatus

type ShareNetworkStatus struct {
	// ID is the Network id.
	ID string `json:"id"`
	// Name is the Network name.
	Name string `json:"name"`
}

ShareNetworkStatus contains information about a generated ShareNetwork

func (*ShareNetworkStatus) DeepCopy

func (in *ShareNetworkStatus) DeepCopy() *ShareNetworkStatus

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

func (*ShareNetworkStatus) DeepCopyInto

func (in *ShareNetworkStatus) DeepCopyInto(out *ShareNetworkStatus)

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

type Storage

type Storage struct {
	// CSIManila contains configuration for CSI Manila driver (support for NFS volumes)
	// +optional
	CSIManila *CSIManila `json:"csiManila,omitempty"`
	// CSI holds the name of the CSI to use (either stackit or openstack)
	// +optional
	CSI *CSI `json:"csi,omitempty"`
}

Storage contains configuration for storage in the cluster.

func (*Storage) DeepCopy

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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

type StorageClassDefinition

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

StorageClassDefinition is a definition of a storageClass

func (*StorageClassDefinition) DeepCopy

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

func (*StorageClassDefinition) DeepCopyInto

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 `json:"purpose"`
	// ID is the subnet id.
	ID string `json:"id"`
	// DNSNameservers specifies the DNS nameservers for the subnet.
	// Nil if DNSNameservers could not be queried.
	// +optional
	DNSNameservers *[]string `json:"dnsNameservers,omitempty"`
}

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

type WorkerConfig struct {
	metav1.TypeMeta `json:",inline"`

	// NodeTemplate contains resource information of the machine which is used by Cluster Autoscaler to generate
	// nodeTemplate during scaling a nodeGroup from zero.
	NodeTemplate *extensionsv1alpha1.NodeTemplate `json:"nodeTemplate,omitempty"`

	// MachineLabels define key value pairs to add to machines.
	MachineLabels []MachineLabel `json:"machineLabels,omitempty"`
}

WorkerConfig contains configuration data for a worker pool.

func (*WorkerConfig) DeepCopy

func (in *WorkerConfig) DeepCopy() *WorkerConfig

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

func (*WorkerConfig) DeepCopyInto

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

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 `json:",inline"`

	// 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.
	// +optional
	MachineImages []MachineImage `json:"machineImages,omitempty"`

	// ServerGroupDependencies is a list of external server group dependencies.
	// +optional
	ServerGroupDependencies []ServerGroupDependency `json:"serverGroupDependencies,omitempty"`
}

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.

Jump to

Keyboard shortcuts

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