test_utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PushSpinner

func PushSpinner(appName string, instances int)

func PushSpinnerWithCert

func PushSpinnerWithCert(appName string, instances int, certFile string)

func Spin

func Spin(appURL string, spinSeconds int)

func SpinFor

func SpinFor(appURL string, duration time.Duration)

func Unspin

func Unspin(appURL string)

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func Cmd

func Cmd(cmd string, args ...string) Command

func (Command) Run

func (c Command) Run() *gexec.Session

func (Command) WithDir

func (c Command) WithDir(dir string) Command

func (Command) WithEnv

func (c Command) WithEnv(key, val string) Command

func (Command) WithTimeout

func (c Command) WithTimeout(timeout string) Command

Jump to

Keyboard shortcuts

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