Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_imports_Imports_To_v1alpha1_Imports(in *imports.Imports, out *Imports, s conversion.Scope) error
- func Convert_seedmanagement_GardenletDeployment_To_v1alpha1_GardenletDeployment(in *seedmanagement.GardenletDeployment, ...) error
- func Convert_v1alpha1_GardenletDeployment_To_seedmanagement_GardenletDeployment(in *seedmanagementv1alpha1.GardenletDeployment, ...) error
- func Convert_v1alpha1_Imports_To_imports_Imports(in *Imports, out *imports.Imports, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaultsComponentConfiguration(gardenletConfig *configv1alpha1.GardenletConfiguration)
- func SetDefaultsDeploymentConfiguration(obj *seedmanagementv1alpha1.GardenletDeployment)
- func SetDefaults_Imports(obj *Imports)
- func SetObjectDefaults_Imports(in *Imports)
- type Imports
Constants ¶
const GroupName = "gardenlet.gardener.landscaper.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_seedmanagement_GardenletDeployment_To_v1alpha1_GardenletDeployment ¶
func Convert_seedmanagement_GardenletDeployment_To_v1alpha1_GardenletDeployment(in *seedmanagement.GardenletDeployment, out *seedmanagementv1alpha1.GardenletDeployment, s conversion.Scope) error
func Convert_v1alpha1_GardenletDeployment_To_seedmanagement_GardenletDeployment ¶
func Convert_v1alpha1_GardenletDeployment_To_seedmanagement_GardenletDeployment(in *seedmanagementv1alpha1.GardenletDeployment, out *seedmanagement.GardenletDeployment, s conversion.Scope) error
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Imports.
func (*Imports) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Imports) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.