job

package
v0.0.0-...-772ff9c Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: UPL-1.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateMessage        string = "successfully created Job for Coherence resource '%s'"
	FailedToPatchMessage string = "failed to patch Coherence resource %s due to error\n%s"
)

Variables

This section is empty.

Functions

func NewJobReconciler

NewJobReconciler returns a new Job reconciler.

Types

type ReconcileJob

type ReconcileJob struct {
	reconciler.ReconcileSecondaryResource
}

ReconcileJob is a reconciler for Jobs.

func (*ReconcileJob) GetReconciler

func (in *ReconcileJob) GetReconciler() reconcile.Reconciler

func (*ReconcileJob) Reconcile

func (in *ReconcileJob) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*ReconcileJob) ReconcileAllResourceOfKind

func (in *ReconcileJob) ReconcileAllResourceOfKind(ctx context.Context, request reconcile.Request, deployment coh.CoherenceResource, storage utils.Storage) (reconcile.Result, error)

ReconcileAllResourceOfKind will process the specified reconcile request for the specified deployment. The previous state being reconciled can be obtained from the storage parameter.

Jump to

Keyboard shortcuts

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