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
Click to show internal directories.
Click to hide internal directories.