v1alpha1

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "gardenlet.gardener.landscaper.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_imports_Imports_To_v1alpha1_Imports

func Convert_imports_Imports_To_v1alpha1_Imports(in *imports.Imports, out *Imports, s conversion.Scope) error

func Convert_v1alpha1_Imports_To_imports_Imports

func Convert_v1alpha1_Imports_To_imports_Imports(in *Imports, out *imports.Imports, s conversion.Scope) error

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

func SetDefaultsComponentConfiguration

func SetDefaultsComponentConfiguration(gardenletConfig *configv1alpha1.GardenletConfiguration)

SetDefaultsComponentConfiguration sets defaults for the Gardenlet component configuration for the Landscaper imports

func SetDefaultsDeploymentConfiguration

func SetDefaultsDeploymentConfiguration(obj *seedmanagementv1alpha1.GardenletDeployment)

SetDefaultsDeploymentConfiguration sets default values for DeploymentConfiguration objects.

func SetDefaults_Imports

func SetDefaults_Imports(obj *Imports)

SetDefaults_Imports sets defaults for the configuration of the Gardenlet Landscaper.

func SetObjectDefaults_Imports

func SetObjectDefaults_Imports(in *Imports)

Types

type Imports

type Imports struct {
	metav1.TypeMeta `json:",inline"`
	// SeedCluster contains the kubeconfig for the cluster
	// - into which the Gardenlet is deployed by the landscaper
	// - that is targeted as the Seed cluster by the Gardenlet via the default in-cluster mounted service account token
	// Hence, the Gardenlet is always deployed into the Seed cluster itself.
	// Deploying the Gardenlet outside of the Seed cluster is not supported (e.g., landscaper deploys Gardenlet into
	// cluster A and the Gardenlet is configured via field .seedClientConnection.kubeconfig to target cluster B as Seed)
	SeedCluster landscaperv1alpha1.Target `json:"seedCluster"`
	// GardenCluster is the landscaper target containing the kubeconfig for the
	// Garden cluster (sometimes referred to as "virtual garden" - with Gardener API groups!)
	GardenCluster landscaperv1alpha1.Target `json:"gardenCluster"`
	// SeedBackupCredentials contains the credentials for an optional backup provider for the Seed cluster registered by the Gardenlet
	// required when the Seed is configured for Backup (configured in the Gardenlet component configuration in the field seedConfig.spec.backup).
	// Before deploying the Gardenlet, the landscaper deploys a secret containing the specified credentials into the Garden cluster
	// +optional
	SeedBackupCredentials *json.RawMessage `json:"seedBackupCredentials,omitempty"`
	// DeploymentConfiguration configures the Kubernetes deployment of the Gardenlet
	// +optional
	DeploymentConfiguration *seedmanagementv1alpha1.GardenletDeployment `json:"deploymentConfiguration,omitempty"`
	// ComponentConfiguration specifies values for the Gardenlet component configuration
	// This results in the configuration file loaded at runtime by the deployed Gardenlet
	ComponentConfiguration runtime.RawExtension `json:"componentConfiguration"`
	// ImageVectorOverwrite contains an optional image vector override.
	// +optional
	ImageVectorOverwrite *json.RawMessage `json:"imageVectorOverwrite,omitempty"`
	// ComponentImageVectorOverwrites contains an optional image vector override for components deployed by the gardenlet.
	// +optional
	ComponentImageVectorOverwrites *json.RawMessage `json:"componentImageVectorOverwrites,omitempty"`
}

Imports defines the landscaper import for the Gardenlet.

func (*Imports) DeepCopy

func (in *Imports) DeepCopy() *Imports

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

func (*Imports) DeepCopyInto

func (in *Imports) DeepCopyInto(out *Imports)

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

func (*Imports) DeepCopyObject

func (in *Imports) 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