SubjectAccessReviewSpec

io.k8s.api.authorization.v1.SubjectAccessReviewSpec
See theSubjectAccessReviewSpec companion object
final case class SubjectAccessReviewSpec(groups: Option[Seq[String]], resourceAttributes: Option[ResourceAttributes], uid: Option[String], extra: Option[Map[String, Seq[String]]], user: Option[String], nonResourceAttributes: Option[NonResourceAttributes])

SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

Attributes

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

Members list

Value members

Concrete methods

def addExtra(newValues: (String, Seq[String])*): SubjectAccessReviewSpec

Adds new values to extra

Adds new values to extra

Attributes

Source
SubjectAccessReviewSpec.scala
def addGroups(newValues: String*): SubjectAccessReviewSpec

Appends new values to groups

Appends new values to groups

Attributes

Source
SubjectAccessReviewSpec.scala
def mapExtra(f: Map[String, Seq[String]] => Map[String, Seq[String]]): SubjectAccessReviewSpec

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

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

Attributes

Source
SubjectAccessReviewSpec.scala
def mapGroups(f: Seq[String] => Seq[String]): SubjectAccessReviewSpec

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

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

Attributes

Source
SubjectAccessReviewSpec.scala

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

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

Attributes

Source
SubjectAccessReviewSpec.scala

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

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

Attributes

Source
SubjectAccessReviewSpec.scala
def mapUid(f: String => String): SubjectAccessReviewSpec

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

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

Attributes

Source
SubjectAccessReviewSpec.scala
def mapUser(f: String => String): SubjectAccessReviewSpec

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

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

Attributes

Source
SubjectAccessReviewSpec.scala
def withExtra(value: Map[String, Seq[String]]): SubjectAccessReviewSpec

Returns a new data with extra set to new value

Returns a new data with extra set to new value

Attributes

Source
SubjectAccessReviewSpec.scala
def withGroups(value: Seq[String]): SubjectAccessReviewSpec

Returns a new data with groups set to new value

Returns a new data with groups set to new value

Attributes

Source
SubjectAccessReviewSpec.scala

Returns a new data with nonResourceAttributes set to new value

Returns a new data with nonResourceAttributes set to new value

Attributes

Source
SubjectAccessReviewSpec.scala

Returns a new data with resourceAttributes set to new value

Returns a new data with resourceAttributes set to new value

Attributes

Source
SubjectAccessReviewSpec.scala
def withUid(value: String): SubjectAccessReviewSpec

Returns a new data with uid set to new value

Returns a new data with uid set to new value

Attributes

Source
SubjectAccessReviewSpec.scala
def withUser(value: String): SubjectAccessReviewSpec

Returns a new data with user set to new value

Returns a new data with user set to new value

Attributes

Source
SubjectAccessReviewSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product