final case class ServiceAccount(imagePullSecrets: Option[Seq[LocalObjectReference]] = None, secrets: Option[Seq[ObjectReference]] = None, automountServiceAccountToken: Option[Boolean] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets
- Source
- ServiceAccount.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServiceAccount
- KObject
- Product
- Equals
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ServiceAccount(imagePullSecrets: Option[Seq[LocalObjectReference]] = None, secrets: Option[Seq[ObjectReference]] = None, automountServiceAccountToken: Option[Boolean] = None, metadata: Option[ObjectMeta] = None)
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
- val _resourceKind: ResourceKind
- Attributes
- protected
- Definition Classes
- ServiceAccount → KObject
- def addImagePullSecrets(newValues: LocalObjectReference*): ServiceAccount
Appends new values to imagePullSecrets
- def addSecrets(newValues: ObjectReference*): ServiceAccount
Appends new values to secrets
- final lazy val apiVersion: String
- Definition Classes
- KObject
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val automountServiceAccountToken: Option[Boolean]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foldTo[T](implicit arg0: Builder[T]): T
- Definition Classes
- ServiceAccount → KObject
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def group: String
- Definition Classes
- KObject
- val imagePullSecrets: Option[Seq[LocalObjectReference]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final lazy val kind: String
- Definition Classes
- KObject
- def mapAutomountServiceAccountToken(f: (Boolean) => Boolean): ServiceAccount
if automountServiceAccountToken has a value, transforms to the result of function
- def mapImagePullSecrets(f: (Seq[LocalObjectReference]) => Seq[LocalObjectReference]): ServiceAccount
if imagePullSecrets has a value, transforms to the result of function
- def mapMetadata(f: (ObjectMeta) => ObjectMeta): ServiceAccount
if metadata has a value, transforms to the result of function
- def mapSecrets(f: (Seq[ObjectReference]) => Seq[ObjectReference]): ServiceAccount
if secrets has a value, transforms to the result of function
- val metadata: Option[ObjectMeta]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val secrets: Option[Seq[ObjectReference]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final lazy val version: String
- Definition Classes
- KObject
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAutomountServiceAccountToken(value: Boolean): ServiceAccount
Returns a new data with automountServiceAccountToken set to new value
- def withImagePullSecrets(value: Seq[LocalObjectReference]): ServiceAccount
Returns a new data with imagePullSecrets set to new value
- def withMetadata(value: ObjectMeta): ServiceAccount
Returns a new data with metadata set to new value
- def withSecrets(value: Seq[ObjectReference]): ServiceAccount
Returns a new data with secrets set to new value