Documentation ¶
Index ¶
- func SetupWithManager(mgr controllerruntime.Manager) error
- type ArchiveExecutor
- type ArchiveReconciler
- func (r *ArchiveReconciler) Deprovision(_ context.Context, _ *k8upv1.Archive) (controllerruntime.Result, error)
- func (r *ArchiveReconciler) NewObject() *k8upv1.Archive
- func (r *ArchiveReconciler) NewObjectList() *k8upv1.ArchiveList
- func (r *ArchiveReconciler) Provision(ctx context.Context, obj *k8upv1.Archive) (controllerruntime.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupWithManager ¶
func SetupWithManager(mgr controllerruntime.Manager) error
SetupWithManager configures the reconciler.
Types ¶
type ArchiveExecutor ¶
ArchiveExecutor will execute the batch.job for archive.
func NewArchiveExecutor ¶
func NewArchiveExecutor(config job.Config) *ArchiveExecutor
NewArchiveExecutor will return a new executor for archive jobs.
func (*ArchiveExecutor) Execute ¶
func (a *ArchiveExecutor) Execute(ctx context.Context) error
Execute creates the actual batch.job on the k8s api.
func (*ArchiveExecutor) GetConcurrencyLimit ¶
func (a *ArchiveExecutor) GetConcurrencyLimit() int
GetConcurrencyLimit returns the concurrent jobs limit
type ArchiveReconciler ¶
ArchiveReconciler reconciles Archive objects
func (*ArchiveReconciler) Deprovision ¶
func (r *ArchiveReconciler) Deprovision(_ context.Context, _ *k8upv1.Archive) (controllerruntime.Result, error)
func (*ArchiveReconciler) NewObject ¶
func (r *ArchiveReconciler) NewObject() *k8upv1.Archive
func (*ArchiveReconciler) NewObjectList ¶
func (r *ArchiveReconciler) NewObjectList() *k8upv1.ArchiveList
func (*ArchiveReconciler) Provision ¶
func (r *ArchiveReconciler) Provision(ctx context.Context, obj *k8upv1.Archive) (controllerruntime.Result, error)
Click to show internal directories.
Click to hide internal directories.