kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

type Tester

type UpdateFunc

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

func (t *Tester) TestNamespace() string {}

func (t *Tester) ClusterScope() *Tester {}

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

func (t *Tester) AllowCreateOnUpdate() *Tester {}

func (t *Tester) GeneratesName() *Tester {}

func (t *Tester) ReturnDeletedObject() *Tester {}

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

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

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

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

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

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

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

func (t *Tester) getObject(ctx context.Context, obj runtime.Object) (runtime.Object, error) {}

func (t *Tester) createObject(ctx context.Context, obj runtime.Object) error {}

func (t *Tester) setObjectsForList(objects []runtime.Object) []runtime.Object {}

func (t *Tester) emitObject(obj runtime.Object, action string) error {}