testenv

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

type Fake struct {
	Scheme *runtime.Scheme
}

func (*Fake) NewClient

func (f *Fake) NewClient(objects ...runtime.Object) (client.Client, error)

func (*Fake) Start

func (*Fake) Start() error

func (*Fake) Stop

func (*Fake) Stop() error

type Integration

type Integration struct {
	*integration.ControlPlane

	Scheme            *runtime.Scheme
	CRDInstallOptions envtest.CRDInstallOptions
}

func (*Integration) NewClient

func (i *Integration) NewClient(objects ...runtime.Object) (client.Client, error)

func (*Integration) Start

func (i *Integration) Start() error

type Interface

type Interface interface {
	NewClient(objects ...runtime.Object) (client.Client, error)
	Start() error
	Stop() error
}

Jump to

Keyboard shortcuts

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