testing

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitDir string

Functions

func GetCurrentVaultTarget

func GetCurrentVaultTarget(homeDir string) string

func Test

func Test(e Environment)

Types

type Cmd

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

func NewCmd

func NewCmd(c string, arg []string, env []string, logger *log.Logger) *Cmd

func (*Cmd) Run

func (c *Cmd) Run(matcher gtypes.GomegaMatcher) []byte

func (*Cmd) RunWithoutMatcher

func (c *Cmd) RunWithoutMatcher() ([]byte, int)

type Environment

type Environment struct {
	Name           string
	CloudConfig    string
	RuntimeConfig  string
	CredhubVars    string
	Exodus         string
	CPI            string
	Ops            []string
	Focus          bool
	OutputMatchers OutputMatchers
}

type OutputMatchers

type OutputMatchers struct {
	GenesisAddSecrets gtypes.GomegaMatcher
	GenesisCheck      gtypes.GomegaMatcher
	GenesisManifest   gtypes.GomegaMatcher
}

Jump to

Keyboard shortcuts

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