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

func extractResourceName(a Attributes) (name string, resource schema.GroupResource, err error) {}

// NewForbidden is a utility function to return a well-formatted admission control error response
func NewForbidden(a Attributes, internalError error) error {}

// NewNotFound is a utility function to return a well-formatted admission control error response
func NewNotFound(a Attributes) error {}