kubernetes/test/integration/auth/node_test.go

func TestNodeAuthorizer(t *testing.T) {}

// expect executes a function a set number of times until it either returns the
// expected error or executes too many times. It returns if the retries timed
// out and the last error returned by the method.
func expect(t *testing.T, f func() error, wantErr func(error) bool) (timeout bool, lastErr error) {}

func expectForbidden(t *testing.T, f func() error) {}

func expectNotFound(t *testing.T, f func() error) {}

func expectAllowed(t *testing.T, f func() error) {}