case class TokenRequest(audience: String, expirationSeconds: Optional[Long] = Optional.Absent) extends Product with Serializable

TokenRequest contains parameters of a service account token.

audience

Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.

expirationSeconds

ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TokenRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TokenRequest(audience: String, expirationSeconds: Optional[Long] = Optional.Absent)

    audience

    Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.

    expirationSeconds

    ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".

Value Members

  1. val audience: String
  2. val expirationSeconds: Optional[Long]
  3. def getAudience: IO[K8sFailure, String]

    Audience is the intended audience of the token in "TokenRequestSpec".

    Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.

    This effect always succeeds, it is safe to use the field audience directly.

  4. def getExpirationSeconds: IO[K8sFailure, Long]

    ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec".

    ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.