const PluginName …
func Register(plugins *admission.Plugins) { … }
type gcPermissionsEnforcement …
var _ …
type whiteListItem …
func (a *gcPermissionsEnforcement) isWhiteListed(groupResource schema.GroupResource, subresource string) bool { … }
func (a *gcPermissionsEnforcement) Validate(ctx context.Context, attributes admission.Attributes, o admission.ObjectInterfaces) (err error) { … }
func isChangingOwnerReference(newObj, oldObj runtime.Object) bool { … }
func finalizeAnythingRecord(userInfo user.Info) authorizer.AttributesRecord { … }
func (a *gcPermissionsEnforcement) ownerRefToDeleteAttributeRecords(ref metav1.OwnerReference, attributes admission.Attributes) ([]authorizer.AttributesRecord, error) { … }
func blockingOwnerRefs(refs []metav1.OwnerReference) []metav1.OwnerReference { … }
func indexByUID(refs []metav1.OwnerReference) map[types.UID]metav1.OwnerReference { … }
func newBlockingOwnerDeletionRefs(newObj, oldObj runtime.Object) []metav1.OwnerReference { … }
func (a *gcPermissionsEnforcement) SetAuthorizer(authorizer authorizer.Authorizer) { … }
func (a *gcPermissionsEnforcement) SetRESTMapper(restMapper meta.RESTMapper) { … }
func (a *gcPermissionsEnforcement) ValidateInitialization() error { … }