tester

package
v0.20.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tester

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

func New

func New(t *testing.T, storage *genericregistry.Store) *Tester

func (*Tester) AllowCreateOnUpdate

func (t *Tester) AllowCreateOnUpdate() *Tester

func (*Tester) ClusterScope

func (t *Tester) ClusterScope() *Tester

func (*Tester) GeneratesName

func (t *Tester) GeneratesName() *Tester

func (*Tester) Namer

func (t *Tester) Namer(namer func(int) string) *Tester

func (*Tester) ReturnDeletedObject

func (t *Tester) ReturnDeletedObject() *Tester

func (*Tester) TestCreate

func (t *Tester) TestCreate(valid runtime.Object, invalid ...runtime.Object)

func (*Tester) TestDelete

func (t *Tester) TestDelete(valid runtime.Object)

func (*Tester) TestDeleteGraceful

func (t *Tester) TestDeleteGraceful(valid runtime.Object, expectedGrace int64)

func (*Tester) TestGet

func (t *Tester) TestGet(valid runtime.Object)

func (*Tester) TestList

func (t *Tester) TestList(valid runtime.Object)

func (*Tester) TestNamespace

func (t *Tester) TestNamespace() string

func (*Tester) TestUpdate

func (t *Tester) TestUpdate(valid runtime.Object, validUpdateFunc UpdateFunc, invalidUpdateFunc ...UpdateFunc)

func (*Tester) TestWatch

func (t *Tester) TestWatch(valid runtime.Object, labelsPass, labelsFail []labels.Set, fieldsPass, fieldsFail []fields.Set)

type UpdateFunc

type UpdateFunc func(runtime.Object) runtime.Object

Jump to

Keyboard shortcuts

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