Documentation
¶
Index ¶
- func CopyFile(sourceFile string, destinationFile string) error
- func SetupExistingCLI() (string, func(), error)
- type E2eCLI
- func (c *E2eCLI) DesktopSocket() string
- func (c *E2eCLI) NewCmd(command string, args ...string) icmd.Cmd
- func (c *E2eCLI) NewComposeCmd(args ...string) icmd.Cmd
- func (c *E2eCLI) PathEnvVar() string
- func (c *E2eCLI) RunCmd(args ...string) *icmd.Result
- func (c *E2eCLI) RunNewComposeCmd(args ...string) *icmd.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFile ¶
CopyFile copies a file from a sourceFile to a destinationFile setting permissions to 0755
func SetupExistingCLI ¶
SetupExistingCLI copies the existing CLI in a temporary directory so that the new CLI can be configured to use it
Types ¶
type E2eCLI ¶
E2eCLI is used to wrap the CLI for end to end testing nolint stutter
func (*E2eCLI) DesktopSocket ¶
DesktopSocket get the path where test metrics will be sent
func (*E2eCLI) NewComposeCmd ¶
NewComposeCmd creates a docker-compose cmd without running it
func (*E2eCLI) PathEnvVar ¶
PathEnvVar returns path (os sensitive) for running test
Click to show internal directories.
Click to hide internal directories.