/** * ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface * @interface ResourceAttributes * @see io.k8s.api.authorization.v1.ResourceAttributes */ export interface ResourceAttributes { /** * Group is the API Group of the Resource. "*" means all. * @type string */ group?: string; /** * Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all. * @type string */ name?: string; /** * Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview * @type string */ namespace?: string; /** * Resource is one of the existing resource types. "*" means all. * @type string */ resource?: string; /** * Subresource is one of the existing resource types. "" means none. * @type string */ subresource?: string; /** * Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all. * @type string */ verb?: string; /** * Version is the API Version of the Resource. "*" means all. * @type string */ version?: string; }