task

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Get(taskUri string) (*Task, error)
}

func NewManager

func NewManager(client client.FusionComputeClient, siteUri string) Manager

type Task

type Task struct {
	Urn        string `json:"urn"`
	Uri        string `json:"uri"`
	Type       string `json:"type"`
	EntityUrn  string `json:"entityUrn"`
	EntityName string `json:"entityName"`
	StartTime  string `json:"startTime"`
	FinishTime string `json:"finishTime"`
	User       string `json:"user"`
	Status     string `json:"status"`
	Progress   int    `json:"progress"`
	Reason     string `json:"reason"`
	ReasonDes  string `json:"reasonDes"`
}

Jump to

Keyboard shortcuts

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