e2e

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

End-to-end test

To run

$ ./hack/test-e2e.sh
$ ./hack/test-e2e.sh -run TestVersion

See ./test/e2e/env.go for required environment variables for some tests.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	BinaryPath  string
	Helm2Binary string
	Helm3Binary string
}

func BuildEnv

func BuildEnv(t *testing.T) Env

func (Env) Validate

func (e Env) Validate(t *testing.T)

type Logger

type Logger struct{}

func (Logger) Debugf

func (l Logger) Debugf(msg string, args ...interface{})

func (Logger) Section

func (l Logger) Section(msg string, f func())

type RunOpts

type RunOpts struct {
	AllowError   bool
	StderrWriter io.Writer
	StdoutWriter io.Writer
	StdinReader  io.Reader
	CancelCh     chan struct{}
	Redact       bool
	Dir          string
	Env          []string
}

type Vendir

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

func (Vendir) Run

func (k Vendir) Run(args []string) string

func (Vendir) RunWithOpts

func (k Vendir) RunWithOpts(args []string, opts RunOpts) (string, error)

Jump to

Keyboard shortcuts

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