taskgraph

package
v0.0.0-...-34dd6ab Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueHandle

type IssueHandle struct {
	*IssueRef
	Issue *github.Issue
}

type IssueRef

type IssueRef struct {
	Owner  string
	Repo   string
	Number int
}

func (*IssueRef) String

func (is *IssueRef) String() string

type TaskGraph

type TaskGraph struct {
	Refs  map[string]*IssueHandle
	Edges map[string][]string
	// contains filtered or unexported fields
}

func (*TaskGraph) Accumulate

func (tg *TaskGraph) Accumulate(ctx context.Context, client *github.Client, is ...*IssueRef) error

func (*TaskGraph) SkipClosed

func (tg *TaskGraph) SkipClosed(toggle bool) bool

func (*TaskGraph) ToMermaid

func (tg *TaskGraph) ToMermaid(writer io.Writer, dir string) error

func (*TaskGraph) Verbose

func (tg *TaskGraph) Verbose(toggle bool)

Jump to

Keyboard shortcuts

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