ResourceAttributes class
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface.
Constructors
- ResourceAttributes({String? group, String? name, String? namespace, String? resource, String? subresource, String? verb, String? version})
-
Default constructor.
const
-
ResourceAttributes.fromJson(Map<
String, dynamic> json) -
Creates a ResourceAttributes from JSON data.
factory
Properties
- group → String?
-
Group is the API Group of the Resource. "*" means all.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
final
- namespace → 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.
final
- resource → String?
-
Resource is one of the existing resource types. "*" means all.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subresource → String?
-
Subresource is one of the existing resource types. "" means none.
final
- verb → String?
-
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
final
- version → String?
-
Version is the API Version of the Resource. "*" means all.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a ResourceAttributes instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited