environment

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TknRunner

type TknRunner struct {
	Path string
}

TknRunner contains information about the current test execution tkn binary path under test

func NewTknRunner

func NewTknRunner() (*TknRunner, error)

NewTknRunner returns details about the testing environment

func (*TknRunner) Prepare

func (e *TknRunner) Prepare(t *testing.T) func(args ...string) icmd.Cmd

Prepare will help you create tkn cmd that can be executable with a timeout

func (*TknRunner) TknBinary

func (e *TknRunner) TknBinary() string

TknBinary returns the tkn binary for this testing environment

Jump to

Keyboard shortcuts

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