Documentation ¶
Index ¶
- func SetupWithManager(mgr ctrl.Manager) error
- type PruneExecutor
- type PruneReconciler
- func (r *PruneReconciler) Deprovision(_ context.Context, _ *k8upv1.Prune) (controllerruntime.Result, error)
- func (r *PruneReconciler) NewObject() *k8upv1.Prune
- func (r *PruneReconciler) NewObjectList() *k8upv1.PruneList
- func (r *PruneReconciler) Provision(ctx context.Context, obj *k8upv1.Prune) (controllerruntime.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupWithManager ¶
SetupWithManager configures the reconciler.
Types ¶
type PruneExecutor ¶
PruneExecutor will execute the batch.job for Prunes.
func NewPruneExecutor ¶
func NewPruneExecutor(config job.Config) *PruneExecutor
NewPruneExecutor will return a new executor for Prune jobs.
func (*PruneExecutor) Exclusive ¶
func (p *PruneExecutor) Exclusive() bool
Exclusive should return true for jobs that can't run while other jobs run.
type PruneReconciler ¶
PruneReconciler reconciles a Prune object
func (*PruneReconciler) Deprovision ¶
func (r *PruneReconciler) Deprovision(_ context.Context, _ *k8upv1.Prune) (controllerruntime.Result, error)
func (*PruneReconciler) NewObject ¶
func (r *PruneReconciler) NewObject() *k8upv1.Prune
func (*PruneReconciler) NewObjectList ¶
func (r *PruneReconciler) NewObjectList() *k8upv1.PruneList
func (*PruneReconciler) Provision ¶
func (r *PruneReconciler) Provision(ctx context.Context, obj *k8upv1.Prune) (controllerruntime.Result, error)
Click to show internal directories.
Click to hide internal directories.