runtime

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

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

Instance for the test environment.

func New

func New(s *core.Settings, fn api.FactoryFn, labels label.Set) (*Instance, error)

New returns a new runtime instance.

func (*Instance) Close

func (i *Instance) Close() error

Close implements io.Closer

func (*Instance) Dump

func (i *Instance) Dump()

Dump state for all allocated resources.

func (*Instance) NewTestContext

func (i *Instance) NewTestContext(t *testing.T, parentContext *testContext, labels label.Set) *testContext

NewTestContext creates and returns a new testContext

func (*Instance) SuiteContext

func (i *Instance) SuiteContext() *suiteContext

suiteContext returns the suiteContext.

Jump to

Keyboard shortcuts

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