Documentation ¶
Overview ¶
+groupName=manifest.deployer.landscaper.gardener.cloud
Index ¶
- Constants
- Variables
- func Convert_manifest_Configuration_To_v1alpha1_Configuration(in *manifest.Configuration, out *Configuration, s conversion.Scope) error
- func Convert_manifest_Controller_To_v1alpha1_Controller(in *manifest.Controller, out *Controller, s conversion.Scope) error
- func Convert_manifest_ExportConfiguration_To_v1alpha1_ExportConfiguration(in *manifest.ExportConfiguration, out *ExportConfiguration, s conversion.Scope) error
- func Convert_manifest_HPAConfiguration_To_v1alpha1_HPAConfiguration(in *manifest.HPAConfiguration, out *HPAConfiguration, s conversion.Scope) error
- func Convert_manifest_ProviderConfiguration_To_v1alpha1_ProviderConfiguration(in *manifestcore.ProviderConfiguration, out *ProviderConfiguration, ...) error
- func Convert_manifest_ProviderStatus_To_v1alpha1_ProviderStatus(in *manifestcore.ProviderStatus, out *ProviderStatus, s conversion.Scope) error
- func Convert_v1alpha1_Configuration_To_manifest_Configuration(in *Configuration, out *manifest.Configuration, s conversion.Scope) error
- func Convert_v1alpha1_Controller_To_manifest_Controller(in *Controller, out *manifest.Controller, s conversion.Scope) error
- func Convert_v1alpha1_ExportConfiguration_To_manifest_ExportConfiguration(in *ExportConfiguration, out *manifest.ExportConfiguration, s conversion.Scope) error
- func Convert_v1alpha1_HPAConfiguration_To_manifest_HPAConfiguration(in *HPAConfiguration, out *manifest.HPAConfiguration, s conversion.Scope) error
- func Convert_v1alpha1_ProviderConfiguration_To_manifest_ProviderConfiguration(in *ProviderConfiguration, out *manifestcore.ProviderConfiguration, ...) error
- func Convert_v1alpha1_ProviderStatus_To_manifest_ProviderStatus(in *ProviderStatus, out *manifestcore.ProviderStatus, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_Configuration(obj *Configuration)
- func SetDefaults_ProviderConfiguration(obj *ProviderConfiguration)
- func SetObjectDefaults_Configuration(in *Configuration)
- func SetObjectDefaults_ProviderConfiguration(in *ProviderConfiguration)
- 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, addDefaultingFuncs) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_manifest_Configuration_To_v1alpha1_Configuration ¶
func Convert_manifest_Configuration_To_v1alpha1_Configuration(in *manifest.Configuration, out *Configuration, s conversion.Scope) error
Convert_manifest_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.
func Convert_manifest_Controller_To_v1alpha1_Controller ¶
func Convert_manifest_Controller_To_v1alpha1_Controller(in *manifest.Controller, out *Controller, s conversion.Scope) error
Convert_manifest_Controller_To_v1alpha1_Controller is an autogenerated conversion function.
func Convert_manifest_ExportConfiguration_To_v1alpha1_ExportConfiguration ¶
func Convert_manifest_ExportConfiguration_To_v1alpha1_ExportConfiguration(in *manifest.ExportConfiguration, out *ExportConfiguration, s conversion.Scope) error
Convert_manifest_ExportConfiguration_To_v1alpha1_ExportConfiguration is an autogenerated conversion function.
func Convert_manifest_HPAConfiguration_To_v1alpha1_HPAConfiguration ¶
func Convert_manifest_HPAConfiguration_To_v1alpha1_HPAConfiguration(in *manifest.HPAConfiguration, out *HPAConfiguration, s conversion.Scope) error
Convert_manifest_HPAConfiguration_To_v1alpha1_HPAConfiguration is an autogenerated conversion function.
func Convert_manifest_ProviderConfiguration_To_v1alpha1_ProviderConfiguration ¶
func Convert_manifest_ProviderConfiguration_To_v1alpha1_ProviderConfiguration(in *manifestcore.ProviderConfiguration, out *ProviderConfiguration, s conversion.Scope) error
Convert_manifest_ProviderConfiguration_To_v1alpha1_ProviderConfiguration is an manual conversion function.
func Convert_manifest_ProviderStatus_To_v1alpha1_ProviderStatus ¶
func Convert_manifest_ProviderStatus_To_v1alpha1_ProviderStatus(in *manifestcore.ProviderStatus, out *ProviderStatus, s conversion.Scope) error
Convert_manifest_ProviderStatus_To_v1alpha1_ProviderStatus is an manual conversion function.
func Convert_v1alpha1_Configuration_To_manifest_Configuration ¶
func Convert_v1alpha1_Configuration_To_manifest_Configuration(in *Configuration, out *manifest.Configuration, s conversion.Scope) error
Convert_v1alpha1_Configuration_To_manifest_Configuration is an autogenerated conversion function.
func Convert_v1alpha1_Controller_To_manifest_Controller ¶
func Convert_v1alpha1_Controller_To_manifest_Controller(in *Controller, out *manifest.Controller, s conversion.Scope) error
Convert_v1alpha1_Controller_To_manifest_Controller is an autogenerated conversion function.
func Convert_v1alpha1_ExportConfiguration_To_manifest_ExportConfiguration ¶
func Convert_v1alpha1_ExportConfiguration_To_manifest_ExportConfiguration(in *ExportConfiguration, out *manifest.ExportConfiguration, s conversion.Scope) error
Convert_v1alpha1_ExportConfiguration_To_manifest_ExportConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_HPAConfiguration_To_manifest_HPAConfiguration ¶
func Convert_v1alpha1_HPAConfiguration_To_manifest_HPAConfiguration(in *HPAConfiguration, out *manifest.HPAConfiguration, s conversion.Scope) error
Convert_v1alpha1_HPAConfiguration_To_manifest_HPAConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ProviderConfiguration_To_manifest_ProviderConfiguration ¶
func Convert_v1alpha1_ProviderConfiguration_To_manifest_ProviderConfiguration(in *ProviderConfiguration, out *manifestcore.ProviderConfiguration, s conversion.Scope) error
Convert_v1alpha1_ProviderConfiguration_To_manifest_ProviderConfiguration is an manual conversion function.
func Convert_v1alpha1_ProviderStatus_To_manifest_ProviderStatus ¶
func Convert_v1alpha1_ProviderStatus_To_manifest_ProviderStatus(in *ProviderStatus, out *manifestcore.ProviderStatus, s conversion.Scope) error
Convert_v1alpha1_ProviderStatus_To_manifest_ProviderStatus is an manual conversion function.
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 SetDefaults_Configuration ¶
func SetDefaults_Configuration(obj *Configuration)
SetDefaults_Configuration sets the defaults for the manifest deployer controller configuration.
func SetDefaults_ProviderConfiguration ¶
func SetDefaults_ProviderConfiguration(obj *ProviderConfiguration)
SetDefaults_ProviderConfiguration sets the defaults for the manifest deployer provider configuration.
func SetObjectDefaults_Configuration ¶
func SetObjectDefaults_Configuration(in *Configuration)
func SetObjectDefaults_ProviderConfiguration ¶
func SetObjectDefaults_ProviderConfiguration(in *ProviderConfiguration)
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. // Defaults to "update". // +optional UpdateStrategy UpdateStrategy `json:"updateStrategy,omitempty"` // ReadinessChecks configures the readiness checks. // +optional ReadinessChecks health.ReadinessCheckConfiguration `json:"readinessChecks,omitempty"` // Manifests contains a list of manifests that should be applied in the target cluster Manifests []*runtime.RawExtension `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"` // 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 +k8s:conversion-gen=false
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 manifest deployer. ManagedResources []lsv1alpha1.TypedObjectReference `json:"managedResources,omitempty"` }
ProviderStatus is the manifest provider specific status +k8s:conversion-gen=false
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" )