task

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: GPL-3.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskService

type TaskService struct {
	common.RestAPI
}

func NewTaskService

func NewTaskService(c *client.Client) *TaskService

func (*TaskService) GetTaskInfo

func (t *TaskService) GetTaskInfo(ctx context.Context, task *types.Task) (*types.TaskInfo, error)

func (*TaskService) WaitForResult

func (t *TaskService) WaitForResult(ctx context.Context, task *types.Task) (taskInfo *types.TaskInfo, err error)

Jump to

Keyboard shortcuts

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