v1alpha1

package
v0.115.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+groupName=config.landscaper.gardener.cloud

Index

Constants

View Source
const GroupName = "config.landscaper.gardener.cloud"

GroupName is the name of the Garden API group.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs)

	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_config_AdditionalDeployments_To_v1alpha1_AdditionalDeployments

func Convert_config_AdditionalDeployments_To_v1alpha1_AdditionalDeployments(in *config.AdditionalDeployments, out *AdditionalDeployments, s conversion.Scope) error

Convert_config_AdditionalDeployments_To_v1alpha1_AdditionalDeployments is an autogenerated conversion function.

func Convert_config_BlueprintStore_To_v1alpha1_BlueprintStore

func Convert_config_BlueprintStore_To_v1alpha1_BlueprintStore(in *config.BlueprintStore, out *BlueprintStore, s conversion.Scope) error

Convert_config_BlueprintStore_To_v1alpha1_BlueprintStore is an autogenerated conversion function.

func Convert_config_CommonControllerConfig_To_v1alpha1_CommonControllerConfig

func Convert_config_CommonControllerConfig_To_v1alpha1_CommonControllerConfig(in *config.CommonControllerConfig, out *CommonControllerConfig, s conversion.Scope) error

Convert_config_CommonControllerConfig_To_v1alpha1_CommonControllerConfig is an autogenerated conversion function.

func Convert_config_ContextControllerConfig_To_v1alpha1_ContextControllerConfig

func Convert_config_ContextControllerConfig_To_v1alpha1_ContextControllerConfig(in *config.ContextControllerConfig, out *ContextControllerConfig, s conversion.Scope) error

Convert_config_ContextControllerConfig_To_v1alpha1_ContextControllerConfig is an autogenerated conversion function.

func Convert_config_ContextControllerDefaultConfig_To_v1alpha1_ContextControllerDefaultConfig

func Convert_config_ContextControllerDefaultConfig_To_v1alpha1_ContextControllerDefaultConfig(in *config.ContextControllerDefaultConfig, out *ContextControllerDefaultConfig, s conversion.Scope) error

Convert_config_ContextControllerDefaultConfig_To_v1alpha1_ContextControllerDefaultConfig is an autogenerated conversion function.

func Convert_config_ContextsController_To_v1alpha1_ContextsController

func Convert_config_ContextsController_To_v1alpha1_ContextsController(in *config.ContextsController, out *ContextsController, s conversion.Scope) error

Convert_config_ContextsController_To_v1alpha1_ContextsController is an autogenerated conversion function.

func Convert_config_Controllers_To_v1alpha1_Controllers

func Convert_config_Controllers_To_v1alpha1_Controllers(in *config.Controllers, out *Controllers, s conversion.Scope) error

Convert_config_Controllers_To_v1alpha1_Controllers is an autogenerated conversion function.

func Convert_config_CrdManagementConfiguration_To_v1alpha1_CrdManagementConfiguration

func Convert_config_CrdManagementConfiguration_To_v1alpha1_CrdManagementConfiguration(in *config.CrdManagementConfiguration, out *CrdManagementConfiguration, s conversion.Scope) error

Convert_config_CrdManagementConfiguration_To_v1alpha1_CrdManagementConfiguration is an autogenerated conversion function.

func Convert_config_DeployItemTimeouts_To_v1alpha1_DeployItemTimeouts

func Convert_config_DeployItemTimeouts_To_v1alpha1_DeployItemTimeouts(in *config.DeployItemTimeouts, out *DeployItemTimeouts, s conversion.Scope) error

Convert_config_DeployItemTimeouts_To_v1alpha1_DeployItemTimeouts is an autogenerated conversion function.

func Convert_config_DeployItemsController_To_v1alpha1_DeployItemsController

func Convert_config_DeployItemsController_To_v1alpha1_DeployItemsController(in *config.DeployItemsController, out *DeployItemsController, s conversion.Scope) error

Convert_config_DeployItemsController_To_v1alpha1_DeployItemsController is an autogenerated conversion function.

func Convert_config_ExecutionsController_To_v1alpha1_ExecutionsController

func Convert_config_ExecutionsController_To_v1alpha1_ExecutionsController(in *config.ExecutionsController, out *ExecutionsController, s conversion.Scope) error

Convert_config_ExecutionsController_To_v1alpha1_ExecutionsController is an autogenerated conversion function.

func Convert_config_GarbageCollectionConfiguration_To_v1alpha1_GarbageCollectionConfiguration

func Convert_config_GarbageCollectionConfiguration_To_v1alpha1_GarbageCollectionConfiguration(in *config.GarbageCollectionConfiguration, out *GarbageCollectionConfiguration, s conversion.Scope) error

Convert_config_GarbageCollectionConfiguration_To_v1alpha1_GarbageCollectionConfiguration is an autogenerated conversion function.

func Convert_config_HPAMainConfiguration_To_v1alpha1_HPAMainConfiguration

func Convert_config_HPAMainConfiguration_To_v1alpha1_HPAMainConfiguration(in *config.HPAMainConfiguration, out *HPAMainConfiguration, s conversion.Scope) error

Convert_config_HPAMainConfiguration_To_v1alpha1_HPAMainConfiguration is an autogenerated conversion function.

func Convert_config_InstallationsController_To_v1alpha1_InstallationsController

func Convert_config_InstallationsController_To_v1alpha1_InstallationsController(in *config.InstallationsController, out *InstallationsController, s conversion.Scope) error

Convert_config_InstallationsController_To_v1alpha1_InstallationsController is an autogenerated conversion function.

func Convert_config_LandscaperConfiguration_To_v1alpha1_LandscaperConfiguration

func Convert_config_LandscaperConfiguration_To_v1alpha1_LandscaperConfiguration(in *config.LandscaperConfiguration, out *LandscaperConfiguration, s conversion.Scope) error

Convert_config_LandscaperConfiguration_To_v1alpha1_LandscaperConfiguration is an autogenerated conversion function.

func Convert_config_LocalRegistryConfiguration_To_v1alpha1_LocalRegistryConfiguration

func Convert_config_LocalRegistryConfiguration_To_v1alpha1_LocalRegistryConfiguration(in *config.LocalRegistryConfiguration, out *LocalRegistryConfiguration, s conversion.Scope) error

Convert_config_LocalRegistryConfiguration_To_v1alpha1_LocalRegistryConfiguration is an autogenerated conversion function.

func Convert_config_LsDeployments_To_v1alpha1_LsDeployments

func Convert_config_LsDeployments_To_v1alpha1_LsDeployments(in *config.LsDeployments, out *LsDeployments, s conversion.Scope) error

Convert_config_LsDeployments_To_v1alpha1_LsDeployments is an autogenerated conversion function.

func Convert_config_MetricsConfiguration_To_v1alpha1_MetricsConfiguration

func Convert_config_MetricsConfiguration_To_v1alpha1_MetricsConfiguration(in *config.MetricsConfiguration, out *MetricsConfiguration, s conversion.Scope) error

Convert_config_MetricsConfiguration_To_v1alpha1_MetricsConfiguration is an autogenerated conversion function.

func Convert_config_OCICacheConfiguration_To_v1alpha1_OCICacheConfiguration

func Convert_config_OCICacheConfiguration_To_v1alpha1_OCICacheConfiguration(in *config.OCICacheConfiguration, out *OCICacheConfiguration, s conversion.Scope) error

Convert_config_OCICacheConfiguration_To_v1alpha1_OCICacheConfiguration is an autogenerated conversion function.

func Convert_config_OCIConfiguration_To_v1alpha1_OCIConfiguration

func Convert_config_OCIConfiguration_To_v1alpha1_OCIConfiguration(in *config.OCIConfiguration, out *OCIConfiguration, s conversion.Scope) error

Convert_config_OCIConfiguration_To_v1alpha1_OCIConfiguration is an autogenerated conversion function.

func Convert_config_RegistryConfiguration_To_v1alpha1_RegistryConfiguration

func Convert_config_RegistryConfiguration_To_v1alpha1_RegistryConfiguration(in *config.RegistryConfiguration, out *RegistryConfiguration, s conversion.Scope) error

Convert_config_RegistryConfiguration_To_v1alpha1_RegistryConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_AdditionalDeployments_To_config_AdditionalDeployments

func Convert_v1alpha1_AdditionalDeployments_To_config_AdditionalDeployments(in *AdditionalDeployments, out *config.AdditionalDeployments, s conversion.Scope) error

Convert_v1alpha1_AdditionalDeployments_To_config_AdditionalDeployments is an autogenerated conversion function.

func Convert_v1alpha1_BlueprintStore_To_config_BlueprintStore

func Convert_v1alpha1_BlueprintStore_To_config_BlueprintStore(in *BlueprintStore, out *config.BlueprintStore, s conversion.Scope) error

Convert_v1alpha1_BlueprintStore_To_config_BlueprintStore is an autogenerated conversion function.

func Convert_v1alpha1_CommonControllerConfig_To_config_CommonControllerConfig

func Convert_v1alpha1_CommonControllerConfig_To_config_CommonControllerConfig(in *CommonControllerConfig, out *config.CommonControllerConfig, s conversion.Scope) error

Convert_v1alpha1_CommonControllerConfig_To_config_CommonControllerConfig is an autogenerated conversion function.

func Convert_v1alpha1_ContextControllerConfig_To_config_ContextControllerConfig

func Convert_v1alpha1_ContextControllerConfig_To_config_ContextControllerConfig(in *ContextControllerConfig, out *config.ContextControllerConfig, s conversion.Scope) error

Convert_v1alpha1_ContextControllerConfig_To_config_ContextControllerConfig is an autogenerated conversion function.

func Convert_v1alpha1_ContextControllerDefaultConfig_To_config_ContextControllerDefaultConfig

func Convert_v1alpha1_ContextControllerDefaultConfig_To_config_ContextControllerDefaultConfig(in *ContextControllerDefaultConfig, out *config.ContextControllerDefaultConfig, s conversion.Scope) error

Convert_v1alpha1_ContextControllerDefaultConfig_To_config_ContextControllerDefaultConfig is an autogenerated conversion function.

func Convert_v1alpha1_ContextsController_To_config_ContextsController

func Convert_v1alpha1_ContextsController_To_config_ContextsController(in *ContextsController, out *config.ContextsController, s conversion.Scope) error

Convert_v1alpha1_ContextsController_To_config_ContextsController is an autogenerated conversion function.

func Convert_v1alpha1_Controllers_To_config_Controllers

func Convert_v1alpha1_Controllers_To_config_Controllers(in *Controllers, out *config.Controllers, s conversion.Scope) error

Convert_v1alpha1_Controllers_To_config_Controllers is an autogenerated conversion function.

func Convert_v1alpha1_CrdManagementConfiguration_To_config_CrdManagementConfiguration

func Convert_v1alpha1_CrdManagementConfiguration_To_config_CrdManagementConfiguration(in *CrdManagementConfiguration, out *config.CrdManagementConfiguration, s conversion.Scope) error

Convert_v1alpha1_CrdManagementConfiguration_To_config_CrdManagementConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_DeployItemTimeouts_To_config_DeployItemTimeouts

func Convert_v1alpha1_DeployItemTimeouts_To_config_DeployItemTimeouts(in *DeployItemTimeouts, out *config.DeployItemTimeouts, s conversion.Scope) error

Convert_v1alpha1_DeployItemTimeouts_To_config_DeployItemTimeouts is an autogenerated conversion function.

func Convert_v1alpha1_DeployItemsController_To_config_DeployItemsController

func Convert_v1alpha1_DeployItemsController_To_config_DeployItemsController(in *DeployItemsController, out *config.DeployItemsController, s conversion.Scope) error

Convert_v1alpha1_DeployItemsController_To_config_DeployItemsController is an autogenerated conversion function.

func Convert_v1alpha1_ExecutionsController_To_config_ExecutionsController

func Convert_v1alpha1_ExecutionsController_To_config_ExecutionsController(in *ExecutionsController, out *config.ExecutionsController, s conversion.Scope) error

Convert_v1alpha1_ExecutionsController_To_config_ExecutionsController is an autogenerated conversion function.

func Convert_v1alpha1_GarbageCollectionConfiguration_To_config_GarbageCollectionConfiguration

func Convert_v1alpha1_GarbageCollectionConfiguration_To_config_GarbageCollectionConfiguration(in *GarbageCollectionConfiguration, out *config.GarbageCollectionConfiguration, s conversion.Scope) error

Convert_v1alpha1_GarbageCollectionConfiguration_To_config_GarbageCollectionConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_HPAMainConfiguration_To_config_HPAMainConfiguration

func Convert_v1alpha1_HPAMainConfiguration_To_config_HPAMainConfiguration(in *HPAMainConfiguration, out *config.HPAMainConfiguration, s conversion.Scope) error

Convert_v1alpha1_HPAMainConfiguration_To_config_HPAMainConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_InstallationsController_To_config_InstallationsController

func Convert_v1alpha1_InstallationsController_To_config_InstallationsController(in *InstallationsController, out *config.InstallationsController, s conversion.Scope) error

Convert_v1alpha1_InstallationsController_To_config_InstallationsController is an autogenerated conversion function.

func Convert_v1alpha1_LandscaperConfiguration_To_config_LandscaperConfiguration

func Convert_v1alpha1_LandscaperConfiguration_To_config_LandscaperConfiguration(in *LandscaperConfiguration, out *config.LandscaperConfiguration, s conversion.Scope) error

Convert_v1alpha1_LandscaperConfiguration_To_config_LandscaperConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_LocalRegistryConfiguration_To_config_LocalRegistryConfiguration

func Convert_v1alpha1_LocalRegistryConfiguration_To_config_LocalRegistryConfiguration(in *LocalRegistryConfiguration, out *config.LocalRegistryConfiguration, s conversion.Scope) error

Convert_v1alpha1_LocalRegistryConfiguration_To_config_LocalRegistryConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_LsDeployments_To_config_LsDeployments

func Convert_v1alpha1_LsDeployments_To_config_LsDeployments(in *LsDeployments, out *config.LsDeployments, s conversion.Scope) error

Convert_v1alpha1_LsDeployments_To_config_LsDeployments is an autogenerated conversion function.

func Convert_v1alpha1_MetricsConfiguration_To_config_MetricsConfiguration

func Convert_v1alpha1_MetricsConfiguration_To_config_MetricsConfiguration(in *MetricsConfiguration, out *config.MetricsConfiguration, s conversion.Scope) error

Convert_v1alpha1_MetricsConfiguration_To_config_MetricsConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_OCICacheConfiguration_To_config_OCICacheConfiguration

func Convert_v1alpha1_OCICacheConfiguration_To_config_OCICacheConfiguration(in *OCICacheConfiguration, out *config.OCICacheConfiguration, s conversion.Scope) error

Convert_v1alpha1_OCICacheConfiguration_To_config_OCICacheConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_OCIConfiguration_To_config_OCIConfiguration

func Convert_v1alpha1_OCIConfiguration_To_config_OCIConfiguration(in *OCIConfiguration, out *config.OCIConfiguration, s conversion.Scope) error

Convert_v1alpha1_OCIConfiguration_To_config_OCIConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_RegistryConfiguration_To_config_RegistryConfiguration

func Convert_v1alpha1_RegistryConfiguration_To_config_RegistryConfiguration(in *RegistryConfiguration, out *config.RegistryConfiguration, s conversion.Scope) error

Convert_v1alpha1_RegistryConfiguration_To_config_RegistryConfiguration is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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 SetDefaults_BlueprintStore

func SetDefaults_BlueprintStore(obj *BlueprintStore)

SetDefaults_BlueprintStore sets the defaults for the landscaper blueprint store configuration.

func SetDefaults_CommonControllerConfig

func SetDefaults_CommonControllerConfig(obj *CommonControllerConfig)

SetDefaults_CommonControllerConfig sets the defaults for the CommonControllerConfig.

func SetDefaults_CrdManagementConfiguration

func SetDefaults_CrdManagementConfiguration(obj *CrdManagementConfiguration)

SetDefaults_CrdManagementConfiguration sets the defaults for the crd management configuration.

func SetDefaults_LandscaperConfiguration

func SetDefaults_LandscaperConfiguration(obj *LandscaperConfiguration)

SetDefaults_LandscaperConfiguration sets the defaults for the landscaper configuration.

func SetObjectDefaults_LandscaperConfiguration

func SetObjectDefaults_LandscaperConfiguration(in *LandscaperConfiguration)

Types

type AdditionalDeployments

type AdditionalDeployments struct {
	// Deployments is the list of deployments that shall be watched.
	Deployments []string `json:"deployments"`
}

AdditionalDeployments is the definition of additional deployments that shall be watched.

func (*AdditionalDeployments) DeepCopy

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

func (*AdditionalDeployments) DeepCopyInto

func (in *AdditionalDeployments) DeepCopyInto(out *AdditionalDeployments)

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

type BlueprintStore

type BlueprintStore struct {
	// Path defines the root path where the blueprints are cached.
	Path string `json:"path"`
	// DisableCache disables the cache and always fetches the blob from the registry.
	// The blueprint is still stored on the filesystem.
	DisableCache bool `json:"disableCache"`
	// IndexMethod describes the method that should be used to index blueprints in the store.
	// If component descriptors and blueprint are immutable (blueprints cannot be updated) use ComponentDescriptorIdentityMethod
	// otherwise use the BlueprintDigestIndex to index by the content hash.
	// Defaults to ComponentDescriptorIdentityMethod
	// +optional
	IndexMethod IndexMethod `json:"indexMethod"`
	GarbageCollectionConfiguration
}

BlueprintStore contains the configuration for the blueprint store.

func (*BlueprintStore) DeepCopy

func (in *BlueprintStore) DeepCopy() *BlueprintStore

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

func (*BlueprintStore) DeepCopyInto

func (in *BlueprintStore) DeepCopyInto(out *BlueprintStore)

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

type CommonControllerConfig

type CommonControllerConfig struct {
	// Workers is the maximum number of concurrent Reconciles which can be run.
	// Defaults to 1.
	Workers int `json:"workers"`

	// CacheSyncTimeout refers to the time limit set to wait for syncing the kubernetes resource caches.
	// Defaults to 2 minutes if not set.
	CacheSyncTimeout *metav1.Duration `json:"cacheSyncTimeout"`
}

CommonControllerConfig describes common controller configuration that can be included in the specific controller configurations.

func (*CommonControllerConfig) DeepCopy

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

func (*CommonControllerConfig) DeepCopyInto

func (in *CommonControllerConfig) DeepCopyInto(out *CommonControllerConfig)

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

type ContextControllerConfig

type ContextControllerConfig struct {
	Default ContextControllerDefaultConfig `json:"default"`
}

ContextControllerConfig contains the context specific configuration.

func (*ContextControllerConfig) DeepCopy

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

func (*ContextControllerConfig) DeepCopyInto

func (in *ContextControllerConfig) DeepCopyInto(out *ContextControllerConfig)

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

type ContextControllerDefaultConfig

type ContextControllerDefaultConfig struct {
	// Disable disables the default controller.
	// If disabled no default contexts are created.
	Disable bool `json:"disable"`
	// ExcludedNamespaces defines a list of namespaces where no default context should be created.
	// +optional
	ExcludedNamespaces []string `json:"excludedNamespaces"`
	// RepositoryContext defines the default repository context that should be used to resolve component descriptors.
	// +optional
	RepositoryContext *cdv2.UnstructuredTypedObject `json:"repositoryContext,omitempty"`
}

ContextControllerDefaultConfig contains the configuration for the context defaults.

func (*ContextControllerDefaultConfig) DeepCopy

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

func (*ContextControllerDefaultConfig) DeepCopyInto

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

type ContextsController

type ContextsController struct {
	CommonControllerConfig
	Config ContextControllerConfig `json:"config"`
}

ContextsController contains all configuration for the context controller.

func (*ContextsController) DeepCopy

func (in *ContextsController) DeepCopy() *ContextsController

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

func (*ContextsController) DeepCopyInto

func (in *ContextsController) DeepCopyInto(out *ContextsController)

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

type Controllers

type Controllers struct {
	// SyncPeriod determines the minimum frequency at which watched resources are
	// reconciled. A lower period will correct entropy more quickly, but reduce
	// responsiveness to change if there are many watched resources. Change this
	// value only if you know what you are doing. Defaults to 10 hours if unset.
	// there will a 10 percent jitter between the SyncPeriod of all controllers
	// so that all controllers will not send list requests simultaneously.
	//
	// This applies to all controllers.
	//
	// A period sync happens for two reasons:
	// 1. To insure against a bug in the controller that causes an object to not
	// be requeued, when it otherwise should be requeued.
	// 2. To insure against an unknown bug in controller-runtime, or its dependencies,
	// that causes an object to not be requeued, when it otherwise should be
	// requeued, or to be removed from the queue, when it otherwise should not
	// be removed.
	SyncPeriod *metav1.Duration `json:"syncPeriod"`
	// Installations contains the controller config that reconciles installations.
	Installations InstallationsController `json:"installations"`
	// Installations contains the controller config that reconciles executions.
	Executions ExecutionsController `json:"executions"`
	// DeployItems contains the controller config that reconciles deploy items.
	DeployItems DeployItemsController `json:"deployItems"`
	// Contexts contains the controller config that reconciles context objects.
	Contexts ContextsController `json:"contexts"`
}

Controllers contains all configuration for the specific controllers

func (*Controllers) DeepCopy

func (in *Controllers) DeepCopy() *Controllers

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

func (*Controllers) DeepCopyInto

func (in *Controllers) DeepCopyInto(out *Controllers)

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

type CrdManagementConfiguration

type CrdManagementConfiguration struct {
	// DeployCustomResourceDefinitions specifies if CRDs should be deployed
	DeployCustomResourceDefinitions *bool `json:"deployCrd"`

	// ForceUpdate specifies whether existing CRDs should be updated
	// +optional
	ForceUpdate *bool `json:"forceUpdate,omitempty"`
}

CrdManagementConfiguration contains the configuration of the CRD management

func (*CrdManagementConfiguration) DeepCopy

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

func (*CrdManagementConfiguration) DeepCopyInto

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

type DeployItemTimeouts

type DeployItemTimeouts struct {
	// PickupTimeout defines how long a deployer can take to react on changes to a deploy item before the landscaper will mark it as failed.
	// Allowed values are 'none' (to disable pickup timeout detection) and anything that is understood by golang's time.ParseDuration method.
	// Defaults to five minutes if not specified.
	// +optional
	Pickup *lsv1alpha1.Duration `json:"pickup,omitempty"`
	// Abort specifies how long the deployer may take to abort handling a deploy item after getting the abort annotation.
	// Allowed values are 'none' (to disable abort timeout detection) and anything that is understood by golang's time.ParseDuration method.
	// Defaults to five minutes if not specified.
	// +optional
	Abort *lsv1alpha1.Duration `json:"abort,omitempty"`
}

DeployItemTimeouts contains multiple timeout configurations for deploy items

func (*DeployItemTimeouts) DeepCopy

func (in *DeployItemTimeouts) DeepCopy() *DeployItemTimeouts

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

func (*DeployItemTimeouts) DeepCopyInto

func (in *DeployItemTimeouts) DeepCopyInto(out *DeployItemTimeouts)

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

type DeployItemsController

type DeployItemsController struct {
	CommonControllerConfig
}

DeployItemsController contains the controller config that reconciles deploy items.

func (*DeployItemsController) DeepCopy

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

func (*DeployItemsController) DeepCopyInto

func (in *DeployItemsController) DeepCopyInto(out *DeployItemsController)

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

type ExecutionsController

type ExecutionsController struct {
	CommonControllerConfig
}

ExecutionsController contains the controller config that reconciles executions.

func (*ExecutionsController) DeepCopy

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

func (*ExecutionsController) DeepCopyInto

func (in *ExecutionsController) DeepCopyInto(out *ExecutionsController)

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

type GarbageCollectionConfiguration

type GarbageCollectionConfiguration struct {
	// Size is the size of the filesystem.
	// If the value is 0 there is no limit and no garbage collection will happen.
	// See the kubernetes quantity docs for detailed description of the format
	// https://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go
	Size string `json:"size,omitempty"`
	// GCHighThreshold defines the percent of disk usage which triggers files garbage collection.
	GCHighThreshold float64 `json:"gcHighThreshold,omitempty"`
	// GCLowThreshold defines the percent of disk usage to which files garbage collection attempts to free.
	GCLowThreshold float64 `json:"gcLowThreshold"`
	// ResetInterval defines the interval when the hit reset should run.
	ResetInterval *metav1.Duration `json:"resetInterval,omitempty"`
	// PreservedHitsProportion defines the percent of hits that should be preserved.
	PreservedHitsProportion float64 `json:"preservedHitsProportion,omitempty"`
}

GarbageCollectionConfiguration contains all options for the cache garbage collection.

func (*GarbageCollectionConfiguration) DeepCopy

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

func (*GarbageCollectionConfiguration) DeepCopyInto

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

type HPAMainConfiguration

type HPAMainConfiguration struct {
	MaxReplicas int32 `json:"maxReplicas,omitempty"`
}

HPAMainConfiguration contains the HPA configuration (horizontal pod autoscaling) for the main controllers (Installation and Execution controller).

func (*HPAMainConfiguration) DeepCopy

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

func (*HPAMainConfiguration) DeepCopyInto

func (in *HPAMainConfiguration) DeepCopyInto(out *HPAMainConfiguration)

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

type IndexMethod

type IndexMethod string

IndexMethod describes the blueprint store index method

const (
	// BlueprintDigestIndex describes a IndexMethod that uses the digest of the blueprint.
	// This is useful if blueprints and component descriptors are not immutable (e.g. during development)
	BlueprintDigestIndex IndexMethod = "BlueprintDigestIndex"
	// ComponentDescriptorIdentityMethod describes a IndexMethod that uses the component descriptor identity.
	// This means that the blueprint is uniquely identified using the component-descriptors repository, name and version
	// with the blueprint resource identity.
	ComponentDescriptorIdentityMethod IndexMethod = "ComponentDescriptorIdentityMethod"
)

type InstallationsController

type InstallationsController struct {
	CommonControllerConfig
}

InstallationsController contains the controller config that reconciles installations.

func (*InstallationsController) DeepCopy

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

func (*InstallationsController) DeepCopyInto

func (in *InstallationsController) DeepCopyInto(out *InstallationsController)

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

type LandscaperConfiguration

type LandscaperConfiguration struct {
	metav1.TypeMeta `json:",inline"`
	// Controllers contains all controller specific configuration.
	Controllers Controllers `json:"controllers"`
	// RepositoryContext defines the default repository context that should be used to resolve component descriptors.
	// DEPRECATED: use controllers.context.config.default.repositoryContext instead.
	// +optional
	RepositoryContext *cdv2.UnstructuredTypedObject `json:"repositoryContext,omitempty"`
	// Registry configures the landscaper registry to resolve component descriptors, blueprints and other artifacts.
	Registry RegistryConfiguration `json:"registry"`
	// BlueprintStore contains the configuration for the blueprint cache.
	BlueprintStore BlueprintStore `json:"blueprintStore"`
	// Metrics allows to configure how metrics are exposed
	//+optional
	Metrics *MetricsConfiguration `json:"metrics,omitempty"`
	// CrdManagement configures whether the landscaper controller should deploy the CRDs it needs into the cluster
	// +optional
	CrdManagement CrdManagementConfiguration `json:"crdManagement,omitempty"`
	// DeployItemTimeouts contains configuration for multiple deploy item timeouts
	// +optional
	DeployItemTimeouts *DeployItemTimeouts `json:"deployItemTimeouts,omitempty"`
	// LsDeployments contains the names of the landscaper deployments
	// +optional
	LsDeployments *LsDeployments `json:"lsDeployments,omitempty"`
	// HPAMainConfiguration contains the HPA configuration (horizontal pod autoscaling)
	// for the main controllers (Installation and Execution controller).
	// +optional
	HPAMainConfiguration *HPAMainConfiguration `json:"hpaMain,omitempty"`
	// SignatureVerificationEnforcementPolicy defines how the landscaper handles signature verification.
	SignatureVerificationEnforcementPolicy SignatureVerificationEnforcementPolicy `json:"signatureVerificationEnforcementPolicy,omitempty"`
}

LandscaperConfiguration contains all configuration for the landscaper controllers

func (*LandscaperConfiguration) DeepCopy

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

func (*LandscaperConfiguration) DeepCopyInto

func (in *LandscaperConfiguration) DeepCopyInto(out *LandscaperConfiguration)

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

func (*LandscaperConfiguration) DeepCopyObject

func (in *LandscaperConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LocalRegistryConfiguration

type LocalRegistryConfiguration struct {
	// RootPath configures the root path of a local registry.
	// This path is used to search for components locally.
	RootPath string `json:"rootPath"`
}

LocalRegistryConfiguration contains the configuration for a local registry

func (*LocalRegistryConfiguration) DeepCopy

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

func (*LocalRegistryConfiguration) DeepCopyInto

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

type LsDeployments

type LsDeployments struct {
	// LsController is the name of the Landscaper controller deployment.
	LsController string `json:"lsController"`
	// LsMainController is the name of the main Landscaper controller deployment.
	// +optional
	LsMainController string `json:"lsMainController,omitempty"`
	// LsController is the name of the Landscaper webhook server deployment.
	WebHook string `json:"webHook"`
	// DeploymentsNamespace is the namespace in which the deployments are located.
	DeploymentsNamespace string `json:"deploymentsNamespace"`
	// LsHealthCheckName is the name of the LsHealthCheck object.
	LsHealthCheckName string `json:"lsHealthCheckName"`
	// AdditionalDeployments is the definition of additional deployments that shall be watched.
	// +optional
	AdditionalDeployments *AdditionalDeployments `json:"additionalDeployments,omitempty"`
}

LsDeployments contains the names of the landscaper deployments.

func (*LsDeployments) DeepCopy

func (in *LsDeployments) DeepCopy() *LsDeployments

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

func (*LsDeployments) DeepCopyInto

func (in *LsDeployments) DeepCopyInto(out *LsDeployments)

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

type MetricsConfiguration

type MetricsConfiguration struct {
	// Port specifies the port on which metrics are published
	Port int32 `json:"port"`
}

MetricsConfiguration allows to configure how metrics are exposed

func (*MetricsConfiguration) DeepCopy

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

func (*MetricsConfiguration) DeepCopyInto

func (in *MetricsConfiguration) DeepCopyInto(out *MetricsConfiguration)

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

type OCICacheConfiguration

type OCICacheConfiguration struct {
	// UseInMemoryOverlay enables an additional in memory overlay cache of oci images
	// +optional
	UseInMemoryOverlay bool `json:"useInMemoryOverlay,omitempty"`

	// Path specifies the path to the oci cache on the filesystem.
	// Defaults to /tmp/ocicache
	// +optional
	Path string `json:"path"`
}

OCICacheConfiguration contains the configuration for the oci cache

func (*OCICacheConfiguration) DeepCopy

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

func (*OCICacheConfiguration) DeepCopyInto

func (in *OCICacheConfiguration) DeepCopyInto(out *OCICacheConfiguration)

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

type OCIConfiguration

type OCIConfiguration struct {
	// ConfigFiles path to additional docker configuration files
	// +optional
	ConfigFiles []string `json:"configFiles,omitempty"`

	// Cache holds configuration for the oci cache
	// +optional
	Cache *OCICacheConfiguration `json:"cache,omitempty"`

	// AllowPlainHttp allows the fallback to http if https is not supported by the registry.
	AllowPlainHttp bool `json:"allowPlainHttp"`
	// InsecureSkipVerify skips the certificate validation of the oci registry
	InsecureSkipVerify bool `json:"insecureSkipVerify"`
}

OCIConfiguration holds configuration for the oci registry

func (*OCIConfiguration) DeepCopy

func (in *OCIConfiguration) DeepCopy() *OCIConfiguration

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

func (*OCIConfiguration) DeepCopyInto

func (in *OCIConfiguration) DeepCopyInto(out *OCIConfiguration)

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

type RegistryConfiguration

type RegistryConfiguration struct {
	// Local defines a local registry to use for definitions
	// +optional
	Local *LocalRegistryConfiguration `json:"local,omitempty"`

	// OCI defines a oci registry to use for definitions
	// +optional
	OCI *OCIConfiguration `json:"oci,omitempty"`
}

RegistryConfiguration contains the configuration for the used definition registry

func (*RegistryConfiguration) DeepCopy

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

func (*RegistryConfiguration) DeepCopyInto

func (in *RegistryConfiguration) DeepCopyInto(out *RegistryConfiguration)

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

type SignatureVerificationEnforcementPolicy added in v0.104.0

type SignatureVerificationEnforcementPolicy string

SignatureVerificationEnforcementPolicy describes the policy for signature verification +enum

const (
	// Enforce will enforce all instalations to have valid signatures before being worked on. Disabling the verification on installation level has no impact.
	Enforce SignatureVerificationEnforcementPolicy = "Enforce"
	// DoNotEnforce does not enforce a global policy. Signature verification can be enabled in the installation if desired. [DEFAULT]
	DoNotEnforce SignatureVerificationEnforcementPolicy = "DoNotEnforce"
	// Disabled explcitly disables signature verification. Enabling the verification on installation level will not have an effect and the verification will still be disabled.
	Disabled SignatureVerificationEnforcementPolicy = "Disabled"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL