NonResourceRule class
NonResourceRule holds information that describes a rule for the non-resource.
Constructors
-
NonResourceRule({List<
String> ? nonResourceURLs, required List<String> verbs}) -
Default constructor.
const
-
NonResourceRule.fromJson(Map<
String, dynamic> json) -
Creates a NonResourceRule from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nonResourceURLs
→ List<
String> ? -
NonResourceURLs is a set of partial urls that a user should have access to. s are allowed, but only as the full, final step in the path. "" means all.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
verbs
→ List<
String> -
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a NonResourceRule instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited