sv_task

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opt

type Opt func(o Opts) Opts

func Project

func Project(prj *mo_project.Project) Opt

type Opts

type Opts struct {
	Project string `url:"project,omitempty"`
}

func (Opts) Apply

func (z Opts) Apply(opts ...Opt) Opts

type Task

type Task interface {
	Resolve(gid string) (task *mo_task.Task, err error)
	List(opts ...Opt) (tasks []*mo_task.Task, err error)
}

func New

func New(ctx as_context.Context) Task

Jump to

Keyboard shortcuts

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