apiserver: k8s.io/apiserver/pkg/registry/generic/testing Index | Files

package tester

import "k8s.io/apiserver/pkg/registry/generic/testing"

Index

Package Files

tester.go

type Tester Uses

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

func New Uses

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

func (*Tester) AllowCreateOnUpdate Uses

func (t *Tester) AllowCreateOnUpdate() *Tester

func (*Tester) ClusterScope Uses

func (t *Tester) ClusterScope() *Tester

func (*Tester) GeneratesName Uses

func (t *Tester) GeneratesName() *Tester

func (*Tester) Namer Uses

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

func (*Tester) ReturnDeletedObject Uses

func (t *Tester) ReturnDeletedObject() *Tester

func (*Tester) TestCreate Uses

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

func (*Tester) TestDelete Uses

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

func (*Tester) TestDeleteGraceful Uses

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

func (*Tester) TestGet Uses

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

func (*Tester) TestList Uses

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

func (*Tester) TestNamespace Uses

func (t *Tester) TestNamespace() string

func (*Tester) TestUpdate Uses

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

func (*Tester) TestWatch Uses

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

type UpdateFunc Uses

type UpdateFunc func(runtime.Object) runtime.Object

Package tester imports 13 packages (graph). Updated 2019-06-06. Refresh now. Tools for package owners.