Versions in this module Expand all Collapse all v0 v0.2.0 Apr 11, 2019 Changes in this version + type Env struct + func NewEnv(namespace string, builder apiruntime.SchemeBuilder, crds ...string) *Env + func (te *Env) Start() *rest.Config + func (te *Env) StartClient() client.Client + func (te *Env) Stop() + func (te *Env) StopAndExit(code int) + type MockClient struct + MockCreate func(ctx context.Context, obj runtime.Object) error + MockDelete func(ctx context.Context, obj runtime.Object, opts ...client.DeleteOptionFunc) error + MockGet func(ctx context.Context, key client.ObjectKey, obj runtime.Object) error + MockList func(ctx context.Context, opts *client.ListOptions, list runtime.Object) error + MockStatusUpdate func(ctx context.Context, obj runtime.Object) error + MockUpdate func(ctx context.Context, obj runtime.Object) error + func NewMockClient() *MockClient + func (c *MockClient) Create(ctx context.Context, obj runtime.Object) error + func (c *MockClient) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOptionFunc) error + func (c *MockClient) Get(ctx context.Context, key client.ObjectKey, obj runtime.Object) error + func (c *MockClient) List(ctx context.Context, opts *client.ListOptions, list runtime.Object) error + func (c *MockClient) Status() client.StatusWriter + func (c *MockClient) Update(ctx context.Context, obj runtime.Object) error + type MockStatusWriter struct + MockUpdate func(ctx context.Context, obj runtime.Object) error + func (m *MockStatusWriter) Update(ctx context.Context, obj runtime.Object) error v0.1.0 Dec 4, 2018 Changes in this version + const DefaultNamespace + const TestAssetUseExistingCluster + var DefaultRetry = wait.Backoff + func CRDs() string + func CheckCRDFiles(crds []string) ([]string, error) + func Expand(path string) ([]string, error) + func UseExistingCluster() bool + type TestEnv struct + func NewTestEnv(namespace string, crds ...string) *TestEnv + func (te *TestEnv) Start() *rest.Config + func (te *TestEnv) Stop() + func (te *TestEnv) StopAndExit(code int)