jobs

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobManager

type JobManager struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewJobManager

func NewJobManager(reconcileChan chan event.GenericEvent, logr *zap.SugaredLogger) *JobManager

func (*JobManager) Exists

func (j *JobManager) Exists(name string) bool

func (*JobManager) IsRunning

func (j *JobManager) IsRunning(name string) bool

func (*JobManager) RemoveJob

func (j *JobManager) RemoveJob(name string) error

func (*JobManager) Run

func (j *JobManager) Run(name string, notifyObj client.Object, f func() error) error

Jump to

Keyboard shortcuts

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