Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TaskNames = map[string]string{
"zebedee": "zebedee",
"dataset-api": "dataset-api",
}
TaskNames is list of possible tasks associated with a job
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Checker(ctx context.Context, check *health.CheckState) error Health() *healthcheck.Client PostJob(ctx context.Context, headers Headers) (*models.Job, error) PatchJob(ctx context.Context, headers Headers, jobID string, body []PatchOperation) (*RespHeaders, error) PostTask(ctx context.Context, headers Headers, jobID string, taskToCreate models.TaskToCreate) (*RespHeaders, *models.Task, error) GetTask(ctx context.Context, headers Headers, jobID, taskName string) (*RespHeaders, *models.Task, error) URL() string }
type PatchOperation ¶ added in v0.17.0
type RespHeaders ¶ added in v0.18.0
type RespHeaders struct {
ETag string
}
Click to show internal directories.
Click to hide internal directories.