Documentation ¶
Index ¶
Constants ¶
View Source
const ( RED = "\033[31m" RESET = "\033[0m" )
Variables ¶
View Source
var ( // Glooctl points to the newly created binary Glooctl string )
Functions ¶
func BootstrapOpts ¶
BootstrapOpts returns the options used to represent the storage used
func ExpectOutput ¶
ExpectOutput compares the output of the interaction with expected Taken from generated code from autoplay
func TearDownStorage ¶
func TearDownStorage()
TearDownStorage - cleans up file based storage used for testing
Types ¶
type Args ¶
type Args struct {
Opts []string
}
func RunWithArgs ¶
RunWithArgs setups glooctl to run with given CLI parameters
func (*Args) ExpectExitCode ¶
ExpectExitCode runs glooctl and expects the given exit code
func (*Args) ExpectExitCodeAndOutput ¶
ExpectExitCodeAndOutput runs glooctl and expects the given exit code and output message
Click to show internal directories.
Click to hide internal directories.