TokenRequest

io.k8s.api.storage.v1.TokenRequest
See theTokenRequest companion object
final case class TokenRequest(audience: String, expirationSeconds: Option[Long])

TokenRequest contains parameters of a service account token.

Attributes

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

Members list

Value members

Concrete methods

def mapAudience(f: String => String): TokenRequest

transforms audience to result of function

transforms audience to result of function

Attributes

Source
TokenRequest.scala
def mapExpirationSeconds(f: Long => Long): TokenRequest

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

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

Attributes

Source
TokenRequest.scala
def withAudience(value: String): TokenRequest

Returns a new data with audience set to new value

Returns a new data with audience set to new value

Attributes

Source
TokenRequest.scala

Returns a new data with expirationSeconds set to new value

Returns a new data with expirationSeconds set to new value

Attributes

Source
TokenRequest.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product