repositories

package
v0.0.0-...-5fb6966 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobRepository

type JobRepository interface {
	List(ctx context.Context) ([]*model.Job, error)
	Save(ctx context.Context, job *model.Job) (*model.Job, error)
	Delete(ctx context.Context, name string) (*model.Job, error)
	Kill(ctx context.Context, name string) error
}

func NewJobRepository

func NewJobRepository(logger *zap.Logger, client *clientv3.Client) JobRepository

Jump to

Keyboard shortcuts

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