Documentation ¶
Index ¶
- type Datastore
- func (db *Datastore) Close()
- func (d *Datastore) GetTask(ctx context.Context, req *tes.GetTaskRequest) (*tes.Task, error)
- func (db *Datastore) Init() error
- func (d *Datastore) ListTasks(ctx context.Context, req *tes.ListTasksRequest) (*tes.ListTasksResponse, error)
- func (d *Datastore) WriteEvent(ctx context.Context, e *events.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
Datastore provides a task database on Google Cloud Datastore.
func NewDatastore ¶
NewDatastore returns a new Datastore instance with the given config.
func (*Datastore) ListTasks ¶
func (d *Datastore) ListTasks(ctx context.Context, req *tes.ListTasksRequest) (*tes.ListTasksResponse, error)
ListTasks implements the TES ListTasks interface.
Click to show internal directories.
Click to hide internal directories.