e2e

package
v0.3.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContextDirWithName

func BuildContextDirWithName(name string) string

func GetEngine

func GetEngine(ctx context.Context) envd.Engine

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