cmd

package
v0.0.0-...-4e78efc Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meta

type Meta struct {
	UI cli.Ui
	// contains filtered or unexported fields
}

Meta contains the meta-options and functionality that nearly every Nomad command inherits.

func (*Meta) FlagSet

func (m *Meta) FlagSet(n string) *flag.FlagSet

FlagSet returns a FlagSet with the common flags that every command implements.

func (*Meta) GitHubClient

func (m *Meta) GitHubClient() (*github.Client, error)

type ProcessedRunArtifact

type ProcessedRunArtifact struct {
	Run              *github.WorkflowRun
	TestResults      []junit.Suite
	AggregatedTotals junit.Totals
}

func (*ProcessedRunArtifact) Failed

func (p *ProcessedRunArtifact) Failed() bool

type RunCommand

type RunCommand struct {
	Meta *Meta
}

func (*RunCommand) Help

func (a *RunCommand) Help() string

func (*RunCommand) Name

func (a *RunCommand) Name() string

func (*RunCommand) Run

func (a *RunCommand) Run(args []string) int

func (*RunCommand) Synopsis

func (a *RunCommand) Synopsis() string

type TableEntry

type TableEntry struct {
	TestName          string `header:"Test Name"`
	TestPackage       string `header:"Package"`
	FailureCount      int    `header:"Failure Count"`
	RecentFailureLink string `header:"Recent Failure"`
	LastFailure       time.Time
}

Jump to

Keyboard shortcuts

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