v1alpha1

package
v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const GroupName = "local.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_local_CloudProfileConfig_To_v1alpha1_CloudProfileConfig

func Convert_local_CloudProfileConfig_To_v1alpha1_CloudProfileConfig(in *local.CloudProfileConfig, out *CloudProfileConfig, s conversion.Scope) error

Convert_local_CloudProfileConfig_To_v1alpha1_CloudProfileConfig is an autogenerated conversion function.

func Convert_local_MachineImageVersion_To_v1alpha1_MachineImageVersion

func Convert_local_MachineImageVersion_To_v1alpha1_MachineImageVersion(in *local.MachineImageVersion, out *MachineImageVersion, s conversion.Scope) error

Convert_local_MachineImageVersion_To_v1alpha1_MachineImageVersion is an autogenerated conversion function.

func Convert_local_MachineImage_To_v1alpha1_MachineImage

func Convert_local_MachineImage_To_v1alpha1_MachineImage(in *local.MachineImage, out *MachineImage, s conversion.Scope) error

Convert_local_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.

func Convert_local_MachineImages_To_v1alpha1_MachineImages

func Convert_local_MachineImages_To_v1alpha1_MachineImages(in *local.MachineImages, out *MachineImages, s conversion.Scope) error

Convert_local_MachineImages_To_v1alpha1_MachineImages is an autogenerated conversion function.

func Convert_local_WorkerStatus_To_v1alpha1_WorkerStatus

func Convert_local_WorkerStatus_To_v1alpha1_WorkerStatus(in *local.WorkerStatus, out *WorkerStatus, s conversion.Scope) error

Convert_local_WorkerStatus_To_v1alpha1_WorkerStatus is an autogenerated conversion function.

func Convert_v1alpha1_CloudProfileConfig_To_local_CloudProfileConfig

func Convert_v1alpha1_CloudProfileConfig_To_local_CloudProfileConfig(in *CloudProfileConfig, out *local.CloudProfileConfig, s conversion.Scope) error

Convert_v1alpha1_CloudProfileConfig_To_local_CloudProfileConfig is an autogenerated conversion function.

func Convert_v1alpha1_MachineImageVersion_To_local_MachineImageVersion

func Convert_v1alpha1_MachineImageVersion_To_local_MachineImageVersion(in *MachineImageVersion, out *local.MachineImageVersion, s conversion.Scope) error

Convert_v1alpha1_MachineImageVersion_To_local_MachineImageVersion is an autogenerated conversion function.

func Convert_v1alpha1_MachineImage_To_local_MachineImage

func Convert_v1alpha1_MachineImage_To_local_MachineImage(in *MachineImage, out *local.MachineImage, s conversion.Scope) error

Convert_v1alpha1_MachineImage_To_local_MachineImage is an autogenerated conversion function.

func Convert_v1alpha1_MachineImages_To_local_MachineImages

func Convert_v1alpha1_MachineImages_To_local_MachineImages(in *MachineImages, out *local.MachineImages, s conversion.Scope) error

Convert_v1alpha1_MachineImages_To_local_MachineImages is an autogenerated conversion function.

func Convert_v1alpha1_WorkerStatus_To_local_WorkerStatus

func Convert_v1alpha1_WorkerStatus_To_local_WorkerStatus(in *WorkerStatus, out *local.WorkerStatus, s conversion.Scope) error

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

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 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 image for the machine image.
	Image string `json:"image"`
}

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 image for the machine image.
	Image string `json:"image"`
}

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 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 from the CloudProfile. 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