func clientForToken(user string, rt http.RoundTripper) *http.Client { … }
func clientsetForToken(user string, config *restclient.Config) (clientset.Interface, clientset.Interface) { … }
type testRESTOptionsGetter …
func (getter *testRESTOptionsGetter) GetRESTOptions(resource schema.GroupResource, example runtime.Object) (generic.RESTOptions, error) { … }
func newRBACAuthorizer(t *testing.T, config *controlplane.Config) (authorizer.Authorizer, func()) { … }
type bootstrapRoles …
func (b bootstrapRoles) bootstrap(client clientset.Interface) error { … }
type request …
func (r request) String() string { … }
type statusCode …
func (s statusCode) String() string { … }
var writeJobsRoleBinding …
var aJob …
var aLimitRange …
var podNamespace …
var jobNamespace …
var forbiddenNamespace …
var limitRangeNamespace …
var ruleAllowAll …
var ruleReadPods …
var ruleWriteJobs …
func TestRBAC(t *testing.T) { … }
func TestBootstrapping(t *testing.T) { … }
func TestDiscoveryUpgradeBootstrapping(t *testing.T) { … }
type authorizeRequest …
func TestRBACContextContamination(t *testing.T) { … }