testutils

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupContext

func SetupContext() context.Context

Types

type DelegatingContext

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

func NewDelegatingContext

func NewDelegatingContext(ctx context.Context) *DelegatingContext

func (*DelegatingContext) Deadline

func (d *DelegatingContext) Deadline() (deadline time.Time, ok bool)

func (*DelegatingContext) Done

func (d *DelegatingContext) Done() <-chan struct{}

func (*DelegatingContext) Err

func (d *DelegatingContext) Err() error

func (*DelegatingContext) Fulfill

func (d *DelegatingContext) Fulfill(ctx context.Context)

func (*DelegatingContext) Value

func (d *DelegatingContext) Value(key interface{}) interface{}

Directories

Path Synopsis
Package apiserverbin is a test-only package that provides the path to a compiled binary of the onmetal-api API server.
Package apiserverbin is a test-only package that provides the path to a compiled binary of the onmetal-api API server.

Jump to

Keyboard shortcuts

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