v1alpha1

package
v0.6.28 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the HCloud provider API resources.

Package v1alpha1 provides hcloud.provider.extensions.gardener.cloud/v1alpha1

Package v1alpha1 provides hcloud.provider.extensions.gardener.cloud/v1alpha1

Package v1alpha1 provides hcloud.provider.extensions.gardener.cloud/v1alpha1

Package v1alpha1 provides hcloud.provider.extensions.gardener.cloud/v1alpha1

Index

Constants

View Source
const GroupName = "hcloud.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 Convert_apis_CPLoadBalancerClass_To_v1alpha1_CPLoadBalancerClass

func Convert_apis_CPLoadBalancerClass_To_v1alpha1_CPLoadBalancerClass(in *apis.CPLoadBalancerClass, out *CPLoadBalancerClass, s conversion.Scope) error

Convert_apis_CPLoadBalancerClass_To_v1alpha1_CPLoadBalancerClass is an autogenerated conversion function.

func Convert_apis_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig

func Convert_apis_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *apis.CloudControllerManagerConfig, out *CloudControllerManagerConfig, s conversion.Scope) error

Convert_apis_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_apis_CloudProfileConfig_To_v1alpha1_CloudProfileConfig

func Convert_apis_CloudProfileConfig_To_v1alpha1_CloudProfileConfig(in *apis.CloudProfileConfig, out *CloudProfileConfig, s conversion.Scope) error

Convert_apis_CloudProfileConfig_To_v1alpha1_CloudProfileConfig is an autogenerated conversion function.

func Convert_apis_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig

func Convert_apis_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *apis.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error

Convert_apis_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig is an autogenerated conversion function.

func Convert_apis_DockerDaemonOptions_To_v1alpha1_DockerDaemonOptions

func Convert_apis_DockerDaemonOptions_To_v1alpha1_DockerDaemonOptions(in *apis.DockerDaemonOptions, out *DockerDaemonOptions, s conversion.Scope) error

Convert_apis_DockerDaemonOptions_To_v1alpha1_DockerDaemonOptions is an autogenerated conversion function.

func Convert_apis_InfrastructureConfigNetworkIDs_To_v1alpha1_InfrastructureConfigNetworkIDs added in v0.4.0

func Convert_apis_InfrastructureConfigNetworkIDs_To_v1alpha1_InfrastructureConfigNetworkIDs(in *apis.InfrastructureConfigNetworkIDs, out *InfrastructureConfigNetworkIDs, s conversion.Scope) error

Convert_apis_InfrastructureConfigNetworkIDs_To_v1alpha1_InfrastructureConfigNetworkIDs is an autogenerated conversion function.

func Convert_apis_InfrastructureConfigNetwork_To_v1alpha1_InfrastructureConfigNetwork added in v0.4.0

func Convert_apis_InfrastructureConfigNetwork_To_v1alpha1_InfrastructureConfigNetwork(in *apis.InfrastructureConfigNetwork, out *InfrastructureConfigNetwork, s conversion.Scope) error

Convert_apis_InfrastructureConfigNetwork_To_v1alpha1_InfrastructureConfigNetwork is an autogenerated conversion function.

func Convert_apis_InfrastructureConfigNetworks_To_v1alpha1_InfrastructureConfigNetworks added in v0.4.0

func Convert_apis_InfrastructureConfigNetworks_To_v1alpha1_InfrastructureConfigNetworks(in *apis.InfrastructureConfigNetworks, out *InfrastructureConfigNetworks, s conversion.Scope) error

Convert_apis_InfrastructureConfigNetworks_To_v1alpha1_InfrastructureConfigNetworks is an autogenerated conversion function.

func Convert_apis_InfrastructureConfig_To_v1alpha1_InfrastructureConfig

func Convert_apis_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *apis.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error

Convert_apis_InfrastructureConfig_To_v1alpha1_InfrastructureConfig is an autogenerated conversion function.

func Convert_apis_InfrastructureStatus_To_v1alpha1_InfrastructureStatus

func Convert_apis_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *apis.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error

Convert_apis_InfrastructureStatus_To_v1alpha1_InfrastructureStatus is an autogenerated conversion function.

func Convert_apis_MachineImageVersion_To_v1alpha1_MachineImageVersion

func Convert_apis_MachineImageVersion_To_v1alpha1_MachineImageVersion(in *apis.MachineImageVersion, out *MachineImageVersion, s conversion.Scope) error

Convert_apis_MachineImageVersion_To_v1alpha1_MachineImageVersion is an autogenerated conversion function.

func Convert_apis_MachineImage_To_v1alpha1_MachineImage

func Convert_apis_MachineImage_To_v1alpha1_MachineImage(in *apis.MachineImage, out *MachineImage, s conversion.Scope) error

Convert_apis_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.

func Convert_apis_MachineImages_To_v1alpha1_MachineImages

func Convert_apis_MachineImages_To_v1alpha1_MachineImages(in *apis.MachineImages, out *MachineImages, s conversion.Scope) error

Convert_apis_MachineImages_To_v1alpha1_MachineImages is an autogenerated conversion function.

func Convert_apis_MachineTypeOptions_To_v1alpha1_MachineTypeOptions

func Convert_apis_MachineTypeOptions_To_v1alpha1_MachineTypeOptions(in *apis.MachineTypeOptions, out *MachineTypeOptions, s conversion.Scope) error

Convert_apis_MachineTypeOptions_To_v1alpha1_MachineTypeOptions is an autogenerated conversion function.

func Convert_apis_RegionSpec_To_v1alpha1_RegionSpec

func Convert_apis_RegionSpec_To_v1alpha1_RegionSpec(in *apis.RegionSpec, out *RegionSpec, s conversion.Scope) error

Convert_apis_RegionSpec_To_v1alpha1_RegionSpec is an autogenerated conversion function.

func Convert_apis_WorkerConfig_To_v1alpha1_WorkerConfig added in v0.5.3

func Convert_apis_WorkerConfig_To_v1alpha1_WorkerConfig(in *apis.WorkerConfig, out *WorkerConfig, s conversion.Scope) error

Convert_apis_WorkerConfig_To_v1alpha1_WorkerConfig is an autogenerated conversion function.

func Convert_apis_WorkerStatus_To_v1alpha1_WorkerStatus

func Convert_apis_WorkerStatus_To_v1alpha1_WorkerStatus(in *apis.WorkerStatus, out *WorkerStatus, s conversion.Scope) error

Convert_apis_WorkerStatus_To_v1alpha1_WorkerStatus is an autogenerated conversion function.

func Convert_v1alpha1_CPLoadBalancerClass_To_apis_CPLoadBalancerClass

func Convert_v1alpha1_CPLoadBalancerClass_To_apis_CPLoadBalancerClass(in *CPLoadBalancerClass, out *apis.CPLoadBalancerClass, s conversion.Scope) error

Convert_v1alpha1_CPLoadBalancerClass_To_apis_CPLoadBalancerClass is an autogenerated conversion function.

func Convert_v1alpha1_CloudControllerManagerConfig_To_apis_CloudControllerManagerConfig

func Convert_v1alpha1_CloudControllerManagerConfig_To_apis_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *apis.CloudControllerManagerConfig, s conversion.Scope) error

Convert_v1alpha1_CloudControllerManagerConfig_To_apis_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_v1alpha1_CloudProfileConfig_To_apis_CloudProfileConfig

func Convert_v1alpha1_CloudProfileConfig_To_apis_CloudProfileConfig(in *CloudProfileConfig, out *apis.CloudProfileConfig, s conversion.Scope) error

Convert_v1alpha1_CloudProfileConfig_To_apis_CloudProfileConfig is an autogenerated conversion function.

func Convert_v1alpha1_ControlPlaneConfig_To_apis_ControlPlaneConfig

func Convert_v1alpha1_ControlPlaneConfig_To_apis_ControlPlaneConfig(in *ControlPlaneConfig, out *apis.ControlPlaneConfig, s conversion.Scope) error

Convert_v1alpha1_ControlPlaneConfig_To_apis_ControlPlaneConfig is an autogenerated conversion function.

func Convert_v1alpha1_DockerDaemonOptions_To_apis_DockerDaemonOptions

func Convert_v1alpha1_DockerDaemonOptions_To_apis_DockerDaemonOptions(in *DockerDaemonOptions, out *apis.DockerDaemonOptions, s conversion.Scope) error

Convert_v1alpha1_DockerDaemonOptions_To_apis_DockerDaemonOptions is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureConfigNetworkIDs_To_apis_InfrastructureConfigNetworkIDs added in v0.4.0

func Convert_v1alpha1_InfrastructureConfigNetworkIDs_To_apis_InfrastructureConfigNetworkIDs(in *InfrastructureConfigNetworkIDs, out *apis.InfrastructureConfigNetworkIDs, s conversion.Scope) error

Convert_v1alpha1_InfrastructureConfigNetworkIDs_To_apis_InfrastructureConfigNetworkIDs is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureConfigNetwork_To_apis_InfrastructureConfigNetwork added in v0.4.0

func Convert_v1alpha1_InfrastructureConfigNetwork_To_apis_InfrastructureConfigNetwork(in *InfrastructureConfigNetwork, out *apis.InfrastructureConfigNetwork, s conversion.Scope) error

Convert_v1alpha1_InfrastructureConfigNetwork_To_apis_InfrastructureConfigNetwork is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureConfigNetworks_To_apis_InfrastructureConfigNetworks added in v0.4.0

func Convert_v1alpha1_InfrastructureConfigNetworks_To_apis_InfrastructureConfigNetworks(in *InfrastructureConfigNetworks, out *apis.InfrastructureConfigNetworks, s conversion.Scope) error

Convert_v1alpha1_InfrastructureConfigNetworks_To_apis_InfrastructureConfigNetworks is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureConfig_To_apis_InfrastructureConfig

func Convert_v1alpha1_InfrastructureConfig_To_apis_InfrastructureConfig(in *InfrastructureConfig, out *apis.InfrastructureConfig, s conversion.Scope) error

Convert_v1alpha1_InfrastructureConfig_To_apis_InfrastructureConfig is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureStatus_To_apis_InfrastructureStatus

func Convert_v1alpha1_InfrastructureStatus_To_apis_InfrastructureStatus(in *InfrastructureStatus, out *apis.InfrastructureStatus, s conversion.Scope) error

Convert_v1alpha1_InfrastructureStatus_To_apis_InfrastructureStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachineImageVersion_To_apis_MachineImageVersion

func Convert_v1alpha1_MachineImageVersion_To_apis_MachineImageVersion(in *MachineImageVersion, out *apis.MachineImageVersion, s conversion.Scope) error

Convert_v1alpha1_MachineImageVersion_To_apis_MachineImageVersion is an autogenerated conversion function.

func Convert_v1alpha1_MachineImage_To_apis_MachineImage

func Convert_v1alpha1_MachineImage_To_apis_MachineImage(in *MachineImage, out *apis.MachineImage, s conversion.Scope) error

Convert_v1alpha1_MachineImage_To_apis_MachineImage is an autogenerated conversion function.

func Convert_v1alpha1_MachineImages_To_apis_MachineImages

func Convert_v1alpha1_MachineImages_To_apis_MachineImages(in *MachineImages, out *apis.MachineImages, s conversion.Scope) error

Convert_v1alpha1_MachineImages_To_apis_MachineImages is an autogenerated conversion function.

func Convert_v1alpha1_MachineTypeOptions_To_apis_MachineTypeOptions

func Convert_v1alpha1_MachineTypeOptions_To_apis_MachineTypeOptions(in *MachineTypeOptions, out *apis.MachineTypeOptions, s conversion.Scope) error

Convert_v1alpha1_MachineTypeOptions_To_apis_MachineTypeOptions is an autogenerated conversion function.

func Convert_v1alpha1_RegionSpec_To_apis_RegionSpec

func Convert_v1alpha1_RegionSpec_To_apis_RegionSpec(in *RegionSpec, out *apis.RegionSpec, s conversion.Scope) error

Convert_v1alpha1_RegionSpec_To_apis_RegionSpec is an autogenerated conversion function.

func Convert_v1alpha1_WorkerConfig_To_apis_WorkerConfig added in v0.5.3

func Convert_v1alpha1_WorkerConfig_To_apis_WorkerConfig(in *WorkerConfig, out *apis.WorkerConfig, s conversion.Scope) error

Convert_v1alpha1_WorkerConfig_To_apis_WorkerConfig is an autogenerated conversion function.

func Convert_v1alpha1_WorkerStatus_To_apis_WorkerStatus

func Convert_v1alpha1_WorkerStatus_To_apis_WorkerStatus(in *WorkerStatus, out *apis.WorkerStatus, s conversion.Scope) error

Convert_v1alpha1_WorkerStatus_To_apis_WorkerStatus is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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

PARAMETERS resource string Unqualified resource

Types

type CPLoadBalancerClass

type CPLoadBalancerClass struct {
	Name string `json:"name"`
	// IPPoolName is the name of the NSX-T IP pool.
	// +optional
	IPPoolName *string `json:"ipPoolName,omitempty"`
	// TCPAppProfileName is the profile name of the load balaner profile for TCP
	// +optional
	TCPAppProfileName *string `json:"tcpAppProfileName,omitempty"`
	// UDPAppProfileName is the profile name of the load balaner profile for UDP
	// +optional
	UDPAppProfileName *string `json:"udpAppProfileName,omitempty"`
}

CPLoadBalancerClass provides the name of a load balancer

func (*CPLoadBalancerClass) DeepCopy

func (in *CPLoadBalancerClass) DeepCopy() *CPLoadBalancerClass

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

func (*CPLoadBalancerClass) DeepCopyInto

func (in *CPLoadBalancerClass) DeepCopyInto(out *CPLoadBalancerClass)

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"`
}

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"`

	// Regions is the specification of regions and zones topology
	Regions []RegionSpec `json:"regions"`
	// 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"`
	// DefaultStorageFsType is the filesystem type of the HCloud storage to use
	DefaultStorageFsType string `json:"defaultStorageFsType"`
	// MachineTypeOptions is the list of machine type options to set additional options for individual machine types.
	// +optional
	MachineTypeOptions []MachineTypeOptions `json:"machineTypeOptions,omitempty"`
	// DockerDaemonOptions contains configuration options for docker daemon service
	// +optional
	DockerDaemonOptions *DockerDaemonOptions `json:"dockerDaemonOptions,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 ControlPlaneConfig

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

	// Zone is the HCloud zone.
	Zone string `json:"zone"`

	// CloudControllerManager contains configuration settings for the cloud-controller-manager.
	// +optional
	CloudControllerManager *CloudControllerManagerConfig `json:"cloudControllerManager,omitempty"`
	// LoadBalancerClasses lists the load balancer classes to be used.
	// +optional
	LoadBalancerClasses []CPLoadBalancerClass `json:"loadBalancerClasses,omitempty"`
	// LoadBalancerSize can override the default of the NSX-T load balancer size ("SMALL", "MEDIUM", or "LARGE") defined in the cloud profile.
	// +optional
	LoadBalancerSize *string `json:"loadBalancerSize,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 DockerDaemonOptions

type DockerDaemonOptions struct {
	// HTTPProxyConf contains HTTP/HTTPS proxy configuration for Docker daemon
	// +optional
	HTTPProxyConf *string `json:"httpProxyConf,omitempty"`
	// InsecureRegistries adds the given registries to Docker on the worker nodes
	// (see https://docs.docker.com/registry/insecure/)
	// +optional
	InsecureRegistries []string `json:"insecureRegistries,omitempty"`
}

DockerDaemonOptions contains configuration options for Docker daemon service

func (*DockerDaemonOptions) DeepCopy

func (in *DockerDaemonOptions) DeepCopy() *DockerDaemonOptions

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

func (*DockerDaemonOptions) DeepCopyInto

func (in *DockerDaemonOptions) DeepCopyInto(out *DockerDaemonOptions)

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.
	// +optional
	FloatingPoolName string `json:"floatingPoolName,omitempty"`
	// Networks is the HCloud specific network configuration
	// +optional
	Networks *InfrastructureConfigNetworks `json:"networks,omitempty"`
}

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 InfrastructureConfigNetwork added in v0.4.0

type InfrastructureConfigNetwork struct {
	// Workers is a CIDRs of a worker subnet (private) to create (used for the VMs).
	Cidr string `json:"cidr"`
	// Workers is a CIDRs of a worker subnet (private) to create (used for the VMs).
	Zone hcloud.NetworkZone `json:"zone,omitempty"`
}

InfrastructureConfig holds information about the Kubernetes and infrastructure network.

func (*InfrastructureConfigNetwork) DeepCopy added in v0.4.0

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

func (*InfrastructureConfigNetwork) DeepCopyInto added in v0.4.0

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

type InfrastructureConfigNetworkIDs added in v0.4.0

type InfrastructureConfigNetworkIDs struct {
	// Workers is the HCloud network ID created.
	Workers string `json:"workers"`
}

Networks holds information about the Kubernetes and infrastructure networks.

func (*InfrastructureConfigNetworkIDs) DeepCopy added in v0.4.0

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

func (*InfrastructureConfigNetworkIDs) DeepCopyInto added in v0.4.0

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

type InfrastructureConfigNetworks added in v0.4.0

type InfrastructureConfigNetworks struct {
	// WorkersNetwork is a struct of a worker subnet (private) configuration to create (used for the VMs).
	WorkersConfiguration *InfrastructureConfigNetwork `json:"workersConfiguration"`
	// Workers is a CIDRs of a worker subnet (private) to create (used for the VMs).
	Workers string `json:"workers,omitempty"`
}

Networks holds information about the Kubernetes and infrastructure networks.

func (*InfrastructureConfigNetworks) DeepCopy added in v0.4.0

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

func (*InfrastructureConfigNetworks) DeepCopyInto added in v0.4.0

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

type InfrastructureStatus

type InfrastructureStatus struct {
	metav1.TypeMeta `json:",inline"`
	// SSHFingerprint contains the SSH fingerprint.
	SSHFingerprint string `json:"sshFingerprint"`

	// PlacementGroupIDs contains the placement group IDs.
	PlacementGroupIDs map[string]string `json:"placementGroupIDs,omitempty"`
	// PlacementGroupID contains the placement group ID.
	PlacementGroupID string `json:"placementGroupID,omitempty"`
	// FloatingPoolName contains the FloatingPoolName name in which LoadBalancer FIPs should be created.
	// +optional
	FloatingPoolName string `json:"floatingPoolName,omitempty"`
	// Networks is the HCloud specific network configuration
	// +optional
	NetworkIDs *InfrastructureConfigNetworkIDs `json:"networkIDs,omitempty"`
}

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 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"`
}

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"`

	// ImageName is the Hetzner Cloud image name if not matching name + "-" + version.
	// +optional
	ImageName string `json:"imageName,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 MachineTypeOptions

type MachineTypeOptions struct {
	// Name is the name of the machine type
	Name string `json:"name"`

	// ExtraConfig allows to specify additional VM options.
	// e.g. sched.swap.vmxSwapEnabled=false to disable the VMX process swap file
	// +optional
	ExtraConfig map[string]string `json:"extraConfig,omitempty"`
}

MachineTypeOptions defines additional VM options for an machine type given by name

func (*MachineTypeOptions) DeepCopy

func (in *MachineTypeOptions) DeepCopy() *MachineTypeOptions

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

func (*MachineTypeOptions) DeepCopyInto

func (in *MachineTypeOptions) DeepCopyInto(out *MachineTypeOptions)

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

type RegionSpec

type RegionSpec struct {
	// Name is the name of the region
	Name string `json:"name"`

	// MachineImages is the list of machine images that are understood by the controller. If provided, it overwrites the global
	// MachineImages of the CloudProfileConfig
	// +optional
	MachineImages []MachineImages `json:"machineImages,omitempty"`
}

RegionSpec specifies the topology of a region and its zones. A region consists of a Vcenter host, transport zone and optionally a data center. A zone in a region consists of a data center (if not specified in the region), a computer cluster, and optionally a resource zone or host system.

func (*RegionSpec) DeepCopy

func (in *RegionSpec) DeepCopy() *RegionSpec

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

func (*RegionSpec) DeepCopyInto

func (in *RegionSpec) DeepCopyInto(out *RegionSpec)

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

type WorkerConfig added in v0.5.3

type WorkerConfig struct {
	metav1.TypeMeta

	// type of the placementgroup for current worker pool. Note that hetzner currently only supports type "spread"
	// moreover a placementgroup cannot hold more than 10 machines on hetzner
	PlacementGroupType string `json:"placementGroupType"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object WorkerConfig

func (*WorkerConfig) DeepCopy added in v0.5.3

func (in *WorkerConfig) DeepCopy() *WorkerConfig

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

func (*WorkerConfig) DeepCopyInto added in v0.5.3

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 v0.5.3

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"`
	PlacementGroupIDs map[string]int `json:"placementGroupIds,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