job

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PassProcessTaskJob

type PassProcessTaskJob struct {
	// contains filtered or unexported fields
}

func NewPassProcessTaskJob

func NewPassProcessTaskJob(svc service.Service, engineSvc engine.Service, minutes, seconds int64,
	limit int64) *PassProcessTaskJob

func (*PassProcessTaskJob) Name

func (c *PassProcessTaskJob) Name() string

func (*PassProcessTaskJob) Run

type RecoveryTaskJob added in v1.8.0

type RecoveryTaskJob struct {
	// contains filtered or unexported fields
}

func NewRecoveryTaskJob added in v1.8.0

func NewRecoveryTaskJob(svc service.Service, execSvc service.ExecService,
	cronSvc service.Cronjob, limit int64) *RecoveryTaskJob

func (*RecoveryTaskJob) Run added in v1.8.0

func (c *RecoveryTaskJob) Run(ctx context.Context) error

type StartTaskJob

type StartTaskJob struct {
	// contains filtered or unexported fields
}

func NewStartTaskJob

func NewStartTaskJob(svc service.Service, limit int64, initialInterval time.Duration,
	maxInterval time.Duration, maxRetries int32) *StartTaskJob

func (*StartTaskJob) Name

func (c *StartTaskJob) Name() string

func (*StartTaskJob) Run

func (c *StartTaskJob) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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