type fakeAuthorizer …
func (fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { … }
func newGCPermissionsEnforcement() (*gcPermissionsEnforcement, error) { … }
type neverReturningRESTMapper …
var _ …
func (r *neverReturningRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) { … }
func (r *neverReturningRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error) { … }
func (r *neverReturningRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error) { … }
func (r *neverReturningRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error) { … }
func (r *neverReturningRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error) { … }
func (r *neverReturningRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error) { … }
func (r *neverReturningRESTMapper) ResourceSingularizer(resource string) (singular string, err error) { … }
func TestGCAdmission(t *testing.T) { … }
func TestBlockOwnerDeletionAdmission(t *testing.T) { … }