webreg

package
v0.0.0-...-8d5527e Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestQuery = "test"
)

Variables

This section is empty.

Functions

func ChainGraph

func ChainGraph(name string, chains registry.ChainByName) ([]byte, error)

func WebRegHandler

func WebRegHandler(regAgent agents.RegistryAgent, confAgent agents.ConfigAgent) http.HandlerFunc

func WorkflowGraph

func WorkflowGraph(name string, workflows registry.WorkflowByName, chains registry.ChainByName, wfType string) ([]byte, error)

Types

type Branch

type Branch struct {
	Name     string
	Tests    []string
	Variants []Variant
}

type Jobs

type Jobs struct {
	ContainsVariant bool
	Orgs            []Org
}

type Org

type Org struct {
	Name  string
	Repos []Repo
}

type Repo

type Repo struct {
	Name     string
	Branches []Branch
}

type Variant

type Variant struct {
	Name  string
	Tests []string
}

Jump to

Keyboard shortcuts

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