Documentation
¶
Index ¶
- type ProductDeploymentGeneratorReconciler
- type ProductDeploymentPipelineReconciler
- type ProductDeploymentPipelineScheduler
- func (r *ProductDeploymentPipelineScheduler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
- func (r *ProductDeploymentPipelineScheduler) SelectTarget(ctx context.Context, role v1alpha1.TargetRole, namespace string) (v1alpha1.Target, error)
- func (r *ProductDeploymentPipelineScheduler) SetupWithManager(mgr ctrl.Manager) error
- type ProductDeploymentReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductDeploymentGeneratorReconciler ¶
type ProductDeploymentGeneratorReconciler struct { client.Client Scheme *runtime.Scheme OCMClient mpasocm.Contract SnapshotWriter snapshot.Writer MpasSystemNamespace string }
ProductDeploymentGeneratorReconciler reconciles a ProductDeploymentGenerator object
func (*ProductDeploymentGeneratorReconciler) Reconcile ¶
func (r *ProductDeploymentGeneratorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ProductDeploymentGeneratorReconciler) SetupWithManager ¶
func (r *ProductDeploymentGeneratorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ProductDeploymentPipelineReconciler ¶
type ProductDeploymentPipelineReconciler struct { client.Client Scheme *runtime.Scheme MpasSystemNamespace string }
ProductDeploymentPipelineReconciler reconciles a ProductDeploymentPipeline object.
func (*ProductDeploymentPipelineReconciler) Reconcile ¶
func (r *ProductDeploymentPipelineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ProductDeploymentPipelineReconciler) SetupWithManager ¶
func (r *ProductDeploymentPipelineReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ProductDeploymentPipelineScheduler ¶
type ProductDeploymentPipelineScheduler struct { client.Client Scheme *runtime.Scheme MpasSystemNamespace string Deployer deployers.Deployer }
ProductDeploymentPipelineScheduler reconciles a ProductDeploymentPipeline object and schedules them.
func (*ProductDeploymentPipelineScheduler) Reconcile ¶
func (r *ProductDeploymentPipelineScheduler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ProductDeploymentPipelineScheduler) SelectTarget ¶
func (r *ProductDeploymentPipelineScheduler) SelectTarget(ctx context.Context, role v1alpha1.TargetRole, namespace string) (v1alpha1.Target, error)
SelectTarget selects a target based on the provided filtering options.
func (*ProductDeploymentPipelineScheduler) SetupWithManager ¶
func (r *ProductDeploymentPipelineScheduler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ProductDeploymentReconciler ¶
ProductDeploymentReconciler reconciles a ProductDeployment object
func (*ProductDeploymentReconciler) Reconcile ¶
func (r *ProductDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Named return values: It's used for improving readability when dealing with the defer patch statement.
func (*ProductDeploymentReconciler) SetupWithManager ¶
func (r *ProductDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.