ResourceAttributes

io.k8s.api.authorization.v1.ResourceAttributes
See theResourceAttributes companion object
final case class ResourceAttributes(name: Option[String], version: Option[String], resource: Option[String], verb: Option[String], group: Option[String], subresource: Option[String], namespace: Option[String])

ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

Attributes

Companion
object
Source
ResourceAttributes.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapGroup(f: String => String): ResourceAttributes

if group has a value, transforms to the result of function

if group has a value, transforms to the result of function

Attributes

Source
ResourceAttributes.scala
def mapName(f: String => String): ResourceAttributes

if name has a value, transforms to the result of function

if name has a value, transforms to the result of function

Attributes

Source
ResourceAttributes.scala
def mapNamespace(f: String => String): ResourceAttributes

if namespace has a value, transforms to the result of function

if namespace has a value, transforms to the result of function

Attributes

Source
ResourceAttributes.scala
def mapResource(f: String => String): ResourceAttributes

if resource has a value, transforms to the result of function

if resource has a value, transforms to the result of function

Attributes

Source
ResourceAttributes.scala
def mapSubresource(f: String => String): ResourceAttributes

if subresource has a value, transforms to the result of function

if subresource has a value, transforms to the result of function

Attributes

Source
ResourceAttributes.scala
def mapVerb(f: String => String): ResourceAttributes

if verb has a value, transforms to the result of function

if verb has a value, transforms to the result of function

Attributes

Source
ResourceAttributes.scala
def mapVersion(f: String => String): ResourceAttributes

if version has a value, transforms to the result of function

if version has a value, transforms to the result of function

Attributes

Source
ResourceAttributes.scala
def withGroup(value: String): ResourceAttributes

Returns a new data with group set to new value

Returns a new data with group set to new value

Attributes

Source
ResourceAttributes.scala
def withName(value: String): ResourceAttributes

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
ResourceAttributes.scala
def withNamespace(value: String): ResourceAttributes

Returns a new data with namespace set to new value

Returns a new data with namespace set to new value

Attributes

Source
ResourceAttributes.scala
def withResource(value: String): ResourceAttributes

Returns a new data with resource set to new value

Returns a new data with resource set to new value

Attributes

Source
ResourceAttributes.scala
def withSubresource(value: String): ResourceAttributes

Returns a new data with subresource set to new value

Returns a new data with subresource set to new value

Attributes

Source
ResourceAttributes.scala
def withVerb(value: String): ResourceAttributes

Returns a new data with verb set to new value

Returns a new data with verb set to new value

Attributes

Source
ResourceAttributes.scala
def withVersion(value: String): ResourceAttributes

Returns a new data with version set to new value

Returns a new data with version set to new value

Attributes

Source
ResourceAttributes.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product