scheduler

package
v0.0.0-...-5222202 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Put(ctx context.Context, scheduler *goqmodel.Scheduler) (*goqmodel.Scheduler, error)
	Get(ctx context.Context, id string) (*goqmodel.Scheduler, error)
	Delete(ctx context.Context, id string) error
	List(ctx context.Context, body *goqmodel.ListSchedulersRequest) (*goqmodel.ListSchedulersResponse, error)
}

type Runner

type Runner interface {
	Run(ctx context.Context) error
	Update(ctx context.Context, id string)
}

func NewRunner

func NewRunner(schedulerRepo Repository, jobRepo job.Repository, errChan chan<- error) Runner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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