api

package
v0.0.0-...-1fa5987 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const StatusFailure = "failure"
View Source
const StatusPending = "pending"
View Source
const StatusRunning = "running"
View Source
const StatusSuccess = "success"

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTaskInput

type CreateTaskInput struct {
	ParentID *string `json:"parentId"`
	Name     string  `json:"name"`
}

type CreateTaskOutput

type CreateTaskOutput struct {
	ID    string `json:"id"`
	JobID string `json:"jobId"`
}

type DescribeTasksInput

type DescribeTasksInput struct {

	// If supplied, filters tasks by job.
	JobIDs []string `json:"jobIds"`
}

type DescribeTasksOutput

type DescribeTasksOutput struct {
	Tasks []TaskDescription `json:"tasks"`
}

type EvictTasksInput

type EvictTasksInput struct {
}

type EvictTasksOutput

type EvictTasksOutput struct {
}

type TaskDescription

type TaskDescription struct {
	ID string `json:"id"`
	// ID of root task in this tree.
	JobID    string        `json:"jobId"`
	ParentID *string       `json:"parentId"`
	Name     string        `json:"name"`
	Status   string        `json:"status"`
	Message  string        `json:"message"`
	Created  string        `json:"created"`
	Updated  string        `json:"updated"`
	Started  *string       `json:"started"`
	Finished *string       `json:"finished"`
	Progress *TaskProgress `json:"progress"`
}

type TaskProgress

type TaskProgress struct {
	Current int `json:"current"`
	Total   int `json:"total"`
}

type UpdateTaskInput

type UpdateTaskInput struct {
	ID       string        `json:"id"`
	Status   *string       `json:"status"`
	Message  *string       `json:"message"`
	Started  *string       `json:"started"`
	Finished *string       `json:"finished"`
	Progress *TaskProgress `json:"progress"`
}

type UpdateTaskOutput

type UpdateTaskOutput struct {
}

Jump to

Keyboard shortcuts

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