final case class ResourceAttributes(name: Option[String] = None, version: Option[String] = None, resource: Option[String] = None, verb: Option[String] = None, group: Option[String] = None, subresource: Option[String] = None, namespace: Option[String] = None) extends Product with Serializable
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
- Source
- ResourceAttributes.scala
- Alphabetic
- By Inheritance
- ResourceAttributes
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val group: Option[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapGroup(f: (String) ⇒ String): ResourceAttributes
if group has a value, transforms to the result of function
-
def
mapName(f: (String) ⇒ String): ResourceAttributes
if name has a value, transforms to the result of function
-
def
mapNamespace(f: (String) ⇒ String): ResourceAttributes
if namespace has a value, transforms to the result of function
-
def
mapResource(f: (String) ⇒ String): ResourceAttributes
if resource has a value, transforms to the result of function
-
def
mapSubresource(f: (String) ⇒ String): ResourceAttributes
if subresource has a value, transforms to the result of function
-
def
mapVerb(f: (String) ⇒ String): ResourceAttributes
if verb has a value, transforms to the result of function
-
def
mapVersion(f: (String) ⇒ String): ResourceAttributes
if version has a value, transforms to the result of function
- val name: Option[String]
- val namespace: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val resource: Option[String]
- val subresource: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val verb: Option[String]
- val version: Option[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withGroup(value: String): ResourceAttributes
Returns a new data with group set to new value
-
def
withName(value: String): ResourceAttributes
Returns a new data with name set to new value
-
def
withNamespace(value: String): ResourceAttributes
Returns a new data with namespace set to new value
-
def
withResource(value: String): ResourceAttributes
Returns a new data with resource set to new value
-
def
withSubresource(value: String): ResourceAttributes
Returns a new data with subresource set to new value
-
def
withVerb(value: String): ResourceAttributes
Returns a new data with verb set to new value
-
def
withVersion(value: String): ResourceAttributes
Returns a new data with version set to new value