kubernetes/staging/src/k8s.io/apiserver/pkg/admission/chain_test.go

type FakeHandler

func (h *FakeHandler) Admit(ctx context.Context, a Attributes, o ObjectInterfaces) (err error) {}

func (h *FakeHandler) Validate(ctx context.Context, a Attributes, o ObjectInterfaces) (err error) {}

func makeHandler(name string, accept bool, ops ...Operation) *FakeHandler {}

func TestAdmitAndValidate(t *testing.T) {}

func TestHandles(t *testing.T) {}