archivecontroller

package
v2.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

type ArchiveExecutor struct {
	executor.Generic
}

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

type ArchiveReconciler struct {
	Kube client.Client
}

ArchiveReconciler reconciles Archive objects

func (*ArchiveReconciler) Deprovision

func (*ArchiveReconciler) NewObject

func (r *ArchiveReconciler) NewObject() *k8upv1.Archive

func (*ArchiveReconciler) NewObjectList

func (r *ArchiveReconciler) NewObjectList() *k8upv1.ArchiveList

func (*ArchiveReconciler) Provision

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL