job

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DbInitMaxJobFailedLoadLimit = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupReconciler

type BackupReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Config controllerconfigv1.ProjectConfig
	Clock
}

BackupReconciler reconciles a Backup object

func (*BackupReconciler) Reconcile

func (r *BackupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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 (*BackupReconciler) SetupWithManager

func (r *BackupReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type Clock

type Clock interface {
	Now() time.Time
}

type DbInitJobReconciler

type DbInitJobReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Config controllerconfigv1.ProjectConfig
}

DbInitJobReconciler reconciles a DbInitJob object

func (*DbInitJobReconciler) Reconcile

func (r *DbInitJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, 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.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*DbInitJobReconciler) SetupWithManager

func (r *DbInitJobReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DbMigrationJobReconciler

type DbMigrationJobReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Config controllerconfigv1.ProjectConfig
}

DbMigrationJobReconciler reconciles a DbMigrationJob object

func (*DbMigrationJobReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*DbMigrationJobReconciler) SetupWithManager

func (r *DbMigrationJobReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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