run

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DESTROY = iota
	CREATE
)

Variables

View Source
var PollingIntervalSeconds time.Duration = 5

overridden in tests to speed them up

View Source
var RunCmd = &cobra.Command{
	Use:           "run",
	Aliases:       []string{"r"},
	Short:         "Commands for interacting with Runs",
	SilenceErrors: true,
}

Functions

func FormatRunUrl

func FormatRunUrl(address, org, workspace, runId string) (string, error)

Types

type RunTimeSorter

type RunTimeSorter []*tfe.Run

func (RunTimeSorter) Len

func (rts RunTimeSorter) Len() int

func (RunTimeSorter) Less

func (rts RunTimeSorter) Less(i, j int) bool

func (RunTimeSorter) Swap

func (rts RunTimeSorter) Swap(i, j int)

Jump to

Keyboard shortcuts

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