v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const GroupName = "onmetal.provider.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// 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_onmetal_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig

func Convert_onmetal_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *onmetal.CloudControllerManagerConfig, out *CloudControllerManagerConfig, s conversion.Scope) error

Convert_onmetal_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_onmetal_CloudProfileConfig_To_v1alpha1_CloudProfileConfig

func Convert_onmetal_CloudProfileConfig_To_v1alpha1_CloudProfileConfig(in *onmetal.CloudProfileConfig, out *CloudProfileConfig, s conversion.Scope) error

Convert_onmetal_CloudProfileConfig_To_v1alpha1_CloudProfileConfig is an autogenerated conversion function.

func Convert_onmetal_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig

func Convert_onmetal_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *onmetal.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error

Convert_onmetal_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig is an autogenerated conversion function.

func Convert_onmetal_InfrastructureConfig_To_v1alpha1_InfrastructureConfig

func Convert_onmetal_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *onmetal.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error

Convert_onmetal_InfrastructureConfig_To_v1alpha1_InfrastructureConfig is an autogenerated conversion function.

func Convert_onmetal_InfrastructureStatus_To_v1alpha1_InfrastructureStatus

func Convert_onmetal_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *onmetal.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error

Convert_onmetal_InfrastructureStatus_To_v1alpha1_InfrastructureStatus is an autogenerated conversion function.

func Convert_onmetal_MachineImageVersion_To_v1alpha1_MachineImageVersion

func Convert_onmetal_MachineImageVersion_To_v1alpha1_MachineImageVersion(in *onmetal.MachineImageVersion, out *MachineImageVersion, s conversion.Scope) error

Convert_onmetal_MachineImageVersion_To_v1alpha1_MachineImageVersion is an autogenerated conversion function.

func Convert_onmetal_MachineImage_To_v1alpha1_MachineImage

func Convert_onmetal_MachineImage_To_v1alpha1_MachineImage(in *onmetal.MachineImage, out *MachineImage, s conversion.Scope) error

Convert_onmetal_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.

func Convert_onmetal_MachineImages_To_v1alpha1_MachineImages

func Convert_onmetal_MachineImages_To_v1alpha1_MachineImages(in *onmetal.MachineImages, out *MachineImages, s conversion.Scope) error

Convert_onmetal_MachineImages_To_v1alpha1_MachineImages is an autogenerated conversion function.

func Convert_onmetal_RegionConfig_To_v1alpha1_RegionConfig

func Convert_onmetal_RegionConfig_To_v1alpha1_RegionConfig(in *onmetal.RegionConfig, out *RegionConfig, s conversion.Scope) error

Convert_onmetal_RegionConfig_To_v1alpha1_RegionConfig is an autogenerated conversion function.

func Convert_onmetal_StorageClass_To_v1alpha1_StorageClass added in v0.1.3

func Convert_onmetal_StorageClass_To_v1alpha1_StorageClass(in *onmetal.StorageClass, out *StorageClass, s conversion.Scope) error

Convert_onmetal_StorageClass_To_v1alpha1_StorageClass is an autogenerated conversion function.

func Convert_onmetal_StorageClasses_To_v1alpha1_StorageClasses added in v0.1.3

func Convert_onmetal_StorageClasses_To_v1alpha1_StorageClasses(in *onmetal.StorageClasses, out *StorageClasses, s conversion.Scope) error

Convert_onmetal_StorageClasses_To_v1alpha1_StorageClasses is an autogenerated conversion function.

func Convert_onmetal_WorkerStatus_To_v1alpha1_WorkerStatus

func Convert_onmetal_WorkerStatus_To_v1alpha1_WorkerStatus(in *onmetal.WorkerStatus, out *WorkerStatus, s conversion.Scope) error

Convert_onmetal_WorkerStatus_To_v1alpha1_WorkerStatus is an autogenerated conversion function.

func Convert_v1alpha1_CloudControllerManagerConfig_To_onmetal_CloudControllerManagerConfig

func Convert_v1alpha1_CloudControllerManagerConfig_To_onmetal_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *onmetal.CloudControllerManagerConfig, s conversion.Scope) error

Convert_v1alpha1_CloudControllerManagerConfig_To_onmetal_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_v1alpha1_CloudProfileConfig_To_onmetal_CloudProfileConfig

func Convert_v1alpha1_CloudProfileConfig_To_onmetal_CloudProfileConfig(in *CloudProfileConfig, out *onmetal.CloudProfileConfig, s conversion.Scope) error

Convert_v1alpha1_CloudProfileConfig_To_onmetal_CloudProfileConfig is an autogenerated conversion function.

func Convert_v1alpha1_ControlPlaneConfig_To_onmetal_ControlPlaneConfig

func Convert_v1alpha1_ControlPlaneConfig_To_onmetal_ControlPlaneConfig(in *ControlPlaneConfig, out *onmetal.ControlPlaneConfig, s conversion.Scope) error

Convert_v1alpha1_ControlPlaneConfig_To_onmetal_ControlPlaneConfig is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureConfig_To_onmetal_InfrastructureConfig

func Convert_v1alpha1_InfrastructureConfig_To_onmetal_InfrastructureConfig(in *InfrastructureConfig, out *onmetal.InfrastructureConfig, s conversion.Scope) error

Convert_v1alpha1_InfrastructureConfig_To_onmetal_InfrastructureConfig is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureStatus_To_onmetal_InfrastructureStatus

func Convert_v1alpha1_InfrastructureStatus_To_onmetal_InfrastructureStatus(in *InfrastructureStatus, out *onmetal.InfrastructureStatus, s conversion.Scope) error

Convert_v1alpha1_InfrastructureStatus_To_onmetal_InfrastructureStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachineImageVersion_To_onmetal_MachineImageVersion

func Convert_v1alpha1_MachineImageVersion_To_onmetal_MachineImageVersion(in *MachineImageVersion, out *onmetal.MachineImageVersion, s conversion.Scope) error

Convert_v1alpha1_MachineImageVersion_To_onmetal_MachineImageVersion is an autogenerated conversion function.

func Convert_v1alpha1_MachineImage_To_onmetal_MachineImage

func Convert_v1alpha1_MachineImage_To_onmetal_MachineImage(in *MachineImage, out *onmetal.MachineImage, s conversion.Scope) error

Convert_v1alpha1_MachineImage_To_onmetal_MachineImage is an autogenerated conversion function.

func Convert_v1alpha1_MachineImages_To_onmetal_MachineImages

func Convert_v1alpha1_MachineImages_To_onmetal_MachineImages(in *MachineImages, out *onmetal.MachineImages, s conversion.Scope) error

Convert_v1alpha1_MachineImages_To_onmetal_MachineImages is an autogenerated conversion function.

func Convert_v1alpha1_RegionConfig_To_onmetal_RegionConfig

func Convert_v1alpha1_RegionConfig_To_onmetal_RegionConfig(in *RegionConfig, out *onmetal.RegionConfig, s conversion.Scope) error

Convert_v1alpha1_RegionConfig_To_onmetal_RegionConfig is an autogenerated conversion function.

func Convert_v1alpha1_StorageClass_To_onmetal_StorageClass added in v0.1.3

func Convert_v1alpha1_StorageClass_To_onmetal_StorageClass(in *StorageClass, out *onmetal.StorageClass, s conversion.Scope) error

Convert_v1alpha1_StorageClass_To_onmetal_StorageClass is an autogenerated conversion function.

func Convert_v1alpha1_StorageClasses_To_onmetal_StorageClasses added in v0.1.3

func Convert_v1alpha1_StorageClasses_To_onmetal_StorageClasses(in *StorageClasses, out *onmetal.StorageClasses, s conversion.Scope) error

Convert_v1alpha1_StorageClasses_To_onmetal_StorageClasses is an autogenerated conversion function.

func Convert_v1alpha1_WorkerStatus_To_onmetal_WorkerStatus

func Convert_v1alpha1_WorkerStatus_To_onmetal_WorkerStatus(in *WorkerStatus, out *onmetal.WorkerStatus, s conversion.Scope) error

Convert_v1alpha1_WorkerStatus_To_onmetal_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

Types

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"`
	// 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"`
	// RegionConfigs is the list of supported regions.
	RegionConfigs []RegionConfig `json:"regionConfigs,omitempty"`
	// StorageClasses defines the DefaultStrorageClass and AdditionalStoreClasses for the shoot
	// +optional
	StorageClasses StorageClasses `json:"storageClasses,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"`

	// CloudControllerManager contains configuration settings for the cloud-controller-manager.
	// +optional
	CloudControllerManager *CloudControllerManagerConfig `json:"cloudControllerManager,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 InfrastructureConfig

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

	// NetworkRef references the network to use for the Shoot creation.
	NetworkRef *corev1.LocalObjectReference `json:"networkRef,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 InfrastructureStatus

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

	// NetworkRef is the reference to the networked used
	NetworkRef commonv1alpha1.LocalUIDReference `json:"networkRef,omitempty"`
	// NATGatewayRef is the reference to the NAT gateway used
	NATGatewayRef commonv1alpha1.LocalUIDReference `json:"natGatewayRef,omitempty"`
	// PrefixRef is the reference to the Prefix used
	PrefixRef commonv1alpha1.LocalUIDReference `json:"prefixRef,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"`
	// Image is the path to the image.
	Image string `json:"image"`
	// 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 onmetal-specific identifiers.

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 path to the image.
	Image string `json:"image"`
	// Architecture is the CPU architecture of the machine image.
	// +optional
	Architecture *string `json:"architecture,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 RegionConfig

type RegionConfig struct {
	// Name is the name of a region.
	Name string `json:"name"`
	// Server is the server endpoint of this region.
	Server string `json:"server"`
	// CertificateAuthorityData is the CA data of the region server.
	CertificateAuthorityData []byte `json:"certificateAuthorityData"`
}

RegionConfig is the definition of a region.

func (*RegionConfig) DeepCopy

func (in *RegionConfig) DeepCopy() *RegionConfig

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

func (*RegionConfig) DeepCopyInto

func (in *RegionConfig) DeepCopyInto(out *RegionConfig)

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

type StorageClass added in v0.1.3

type StorageClass struct {
	// Name is the name of the storageclass
	Name string `json:"name"`
	// Type is referring to the VolumeClass to use for this StorageClass
	Type string `json:"type"`
}

StorageClass is a definition of a storageClass

func (*StorageClass) DeepCopy added in v0.1.3

func (in *StorageClass) DeepCopy() *StorageClass

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

func (*StorageClass) DeepCopyInto added in v0.1.3

func (in *StorageClass) DeepCopyInto(out *StorageClass)

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

type StorageClasses added in v0.1.3

type StorageClasses struct {
	// Default defines the default storage class for the shoot
	// +optional
	Default *StorageClass `json:"default,omitempty"`
	// Additional defines the additional storage classes for the shoot
	// +optional
	Additional []StorageClass `json:"additional,omitempty"`
}

StorageClasses is a definition of a storageClasses

func (*StorageClasses) DeepCopy added in v0.1.3

func (in *StorageClasses) DeepCopy() *StorageClasses

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

func (*StorageClasses) DeepCopyInto added in v0.1.3

func (in *StorageClasses) DeepCopyInto(out *StorageClasses)

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

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

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