store

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: BSD-2-Clause Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	NewTaskSession() TaskSession
}

type TaskIterator added in v1.20.0

type TaskIterator interface {
	Next(tsk *task.Task) bool
	Close() error
	Error() error
}

type TaskSession added in v1.20.0

type TaskSession interface {
	io.Closer
	task.TaskAccessor

	UpdateFromState(ctx context.Context, tsk *task.Task, state string) (*task.Task, error)
	IteratePending(ctx context.Context) TaskIterator
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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