Documentation ¶
Overview ¶
+groupName=manifest.deployer.landscaper.gardener.cloud
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetObjectDefaults_Configuration(in *Configuration)
- type Configuration
- type Controller
- type ExportConfiguration
- type HPAConfiguration
- type ProviderConfiguration
- type ProviderStatus
- type UpdateStrategy
Constants ¶
const GroupName = "manifest.deployer.landscaper.gardener.cloud"
GroupName is the name of the Garden API group.
const ManagedDeployItemLabel = "manifest.deployer.landscaper.gardener.cloud/deployitem"
ManagedDeployItemLabel describes label that is added to every manifest deployer managed resource to define its source deploy item.
const ManagedInstanceLabel = "manifest.deployer.landscaper.gardener.cloud/instance"
ManagedInstanceLabel describes label that is added to every manifest deployer managed resource to define its corresponding instance.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 SetObjectDefaults_Configuration ¶
func SetObjectDefaults_Configuration(in *Configuration)
Types ¶
type Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline"` // Identity identity describes the unique identity of the deployer. // +optional Identity string `json:"identity,omitempty"` // TargetSelector describes all selectors the deployer should depend on. TargetSelector []lsv1alpha1.TargetSelector `json:"targetSelector,omitempty"` // Export defines the export configuration. Export ExportConfiguration `json:"export,omitempty"` // HPAConfiguration contains the configuration for horizontal pod autoscaling. HPAConfiguration *HPAConfiguration `json:"hpa,omitempty"` // Controller contains configuration concerning the controller framework. Controller Controller `json:"controller,omitempty"` }
Configuration is the manifest deployer configuration that configures the controller.
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Controller ¶
type Controller struct {
lsconfigv1alpha1.CommonControllerConfig
}
Controller contains configuration concerning the controller framework.
func (*Controller) DeepCopy ¶
func (in *Controller) DeepCopy() *Controller
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.
func (*Controller) DeepCopyInto ¶
func (in *Controller) DeepCopyInto(out *Controller)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExportConfiguration ¶
type ExportConfiguration struct { // DefaultTimeout configures the default timeout for all exports without a explicit export timeout defined. // +optional DefaultTimeout *lsv1alpha1.Duration `json:"defaultTimeout,omitempty"` }
ExportConfiguration defines the export configuration for the deployer.
func (*ExportConfiguration) DeepCopy ¶
func (in *ExportConfiguration) DeepCopy() *ExportConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportConfiguration.
func (*ExportConfiguration) DeepCopyInto ¶
func (in *ExportConfiguration) DeepCopyInto(out *ExportConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HPAConfiguration ¶
type HPAConfiguration struct {
MaxReplicas int32 `json:"maxReplicas,omitempty"`
}
HPAConfiguration contains the configuration for horizontal pod autoscaling.
func (*HPAConfiguration) DeepCopy ¶
func (in *HPAConfiguration) DeepCopy() *HPAConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAConfiguration.
func (*HPAConfiguration) DeepCopyInto ¶
func (in *HPAConfiguration) DeepCopyInto(out *HPAConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfiguration ¶
type ProviderConfiguration struct { metav1.TypeMeta `json:",inline"` // UpdateStrategy defines the strategy how the manifest are updated in the cluster. // +optional UpdateStrategy UpdateStrategy `json:"updateStrategy"` // ReadinessChecks configures the readiness checks. // +optional ReadinessChecks health.ReadinessCheckConfiguration `json:"readiness,omitempty"` // Manifests contains a list of manifests that should be applied in the target cluster Manifests []managedresource.Manifest `json:"manifests,omitempty"` // Exports describe the exports from the templated manifests that should be exported by the helm deployer. // +optional Exports *managedresource.Exports `json:"exports,omitempty"` // ContinuousReconcile contains the schedule for continuous reconciliation. // +optional ContinuousReconcile *cr.ContinuousReconcileSpec `json:"continuousReconcile,omitempty"` // DeletionGroups defines the order in which objects are deleted. // +optional DeletionGroups []managedresource.DeletionGroupDefinition `json:"deletionGroups,omitempty"` // DeletionGroupsDuringUpdate defines the order in which objects are deleted during an update. // +optional DeletionGroupsDuringUpdate []managedresource.DeletionGroupDefinition `json:"deletionGroupsDuringUpdate,omitempty"` }
ProviderConfiguration is the manifest deployer configuration that is expected in a DeployItem.
func (*ProviderConfiguration) DeepCopy ¶
func (in *ProviderConfiguration) DeepCopy() *ProviderConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfiguration.
func (*ProviderConfiguration) DeepCopyInto ¶
func (in *ProviderConfiguration) DeepCopyInto(out *ProviderConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderConfiguration) DeepCopyObject ¶
func (in *ProviderConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderStatus ¶
type ProviderStatus struct { metav1.TypeMeta `json:",inline"` // ManagedResources contains all kubernetes resources that are deployed by the deployer. ManagedResources managedresource.ManagedResourceStatusList `json:"managedResources,omitempty"` // AnnotateBeforeCreate defines annotations that are being set before the manifest is being created. // +optional AnnotateBeforeCreate map[string]string `json:"annotateBeforeCreate,omitempty"` // AnnotateBeforeDelete defines annotations that are being set before the manifest is being deleted. // +optional AnnotateBeforeDelete map[string]string `json:"annotateBeforeDelete,omitempty"` }
ProviderStatus is the manifest provider specific status.
func (*ProviderStatus) DeepCopy ¶
func (in *ProviderStatus) DeepCopy() *ProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStatus.
func (*ProviderStatus) DeepCopyInto ¶
func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderStatus) DeepCopyObject ¶
func (in *ProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpdateStrategy ¶
type UpdateStrategy string
UpdateStrategy defines the strategy that is used to apply resources to the cluster.
const ( UpdateStrategyUpdate UpdateStrategy = "update" UpdateStrategyPatch UpdateStrategy = "patch" UpdateStrategyMerge UpdateStrategy = "merge" UpdateStrategyMergeOverwrite UpdateStrategy = "mergeOverwrite" )
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
+groupName=manifest.deployer.landscaper.gardener.cloud
|
+groupName=manifest.deployer.landscaper.gardener.cloud |
+groupName=manifest.deployer.landscaper.gardener.cloud
|
+groupName=manifest.deployer.landscaper.gardener.cloud |