task

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const StatusCompleted = "COMPLETED"
View Source
const StatusFailed = "FAILED"
View Source
const StatusProcessing = "PROCESSING"

Variables

View Source
var Manager *manager

Functions

This section is empty.

Types

type Task

type Task struct {
	ID       string     `json:"id"`
	Created  time.Time  `json:"created"`
	Finished *time.Time `json:"finished"`
	Source   string     `json:"source"`
	Status   string     `json:"status"`
	Reason   string     `json:"reason"`
}

func (*Task) IsExpired

func (t *Task) IsExpired() bool

Jump to

Keyboard shortcuts

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