e2e

package
v0.2.0-alpha.19 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerClient

func GetDockerClient(ctx context.Context) docker.Client

func ResetEnvdApp

func ResetEnvdApp()

Types

type Example

type Example struct {
	Tag              string
	BuildContextPath string
	// Name is the filepath.Base(BuildContextPath).
	Name string
	// contains filtered or unexported fields
}

func NewExample

func NewExample(path string, testcaseAbbr string) *Example

func (*Example) BuildImage

func (e *Example) BuildImage(force bool) func()

func (*Example) DestroyContainer

func (e *Example) DestroyContainer() func()

func (*Example) Exec

func (e *Example) Exec(cmd string) (string, error)

func (*Example) ExecRuntimeCommand

func (e *Example) ExecRuntimeCommand(cmd string) (string, error)

func (*Example) RemoveImage

func (e *Example) RemoveImage() func()

func (*Example) RunContainer

func (e *Example) RunContainer() func()

Jump to

Keyboard shortcuts

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