Packages

final case class PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Int] = None, supplementalGroups: Option[Seq[Int]] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, runAsNonRoot: Option[Boolean] = None) extends Product with Serializable

PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.

Source
PodSecurityContext.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PodSecurityContext
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Int] = None, supplementalGroups: Option[Seq[Int]] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, runAsNonRoot: Option[Boolean] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addSupplementalGroups(newValues: Int*): PodSecurityContext

    Appends new values to supplementalGroups

  5. def addSysctls(newValues: Sysctl*): PodSecurityContext

    Appends new values to sysctls

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. val fsGroup: Option[Int]
  11. val fsGroupChangePolicy: Option[String]
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mapFsGroup(f: (Int) => Int): PodSecurityContext

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

  15. def mapFsGroupChangePolicy(f: (String) => String): PodSecurityContext

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

  16. def mapRunAsGroup(f: (Int) => Int): PodSecurityContext

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

  17. def mapRunAsNonRoot(f: (Boolean) => Boolean): PodSecurityContext

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

  18. def mapRunAsUser(f: (Int) => Int): PodSecurityContext

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

  19. def mapSeLinuxOptions(f: (SELinuxOptions) => SELinuxOptions): PodSecurityContext

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

  20. def mapSeccompProfile(f: (SeccompProfile) => SeccompProfile): PodSecurityContext

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

  21. def mapSupplementalGroups(f: (Seq[Int]) => Seq[Int]): PodSecurityContext

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

  22. def mapSysctls(f: (Seq[Sysctl]) => Seq[Sysctl]): PodSecurityContext

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

  23. def mapWindowsOptions(f: (WindowsSecurityContextOptions) => WindowsSecurityContextOptions): PodSecurityContext

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

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. val runAsGroup: Option[Int]
  29. val runAsNonRoot: Option[Boolean]
  30. val runAsUser: Option[Int]
  31. val seLinuxOptions: Option[SELinuxOptions]
  32. val seccompProfile: Option[SeccompProfile]
  33. val supplementalGroups: Option[Seq[Int]]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val sysctls: Option[Seq[Sysctl]]
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. val windowsOptions: Option[WindowsSecurityContextOptions]
  40. def withFsGroup(value: Int): PodSecurityContext

    Returns a new data with fsGroup set to new value

  41. def withFsGroupChangePolicy(value: String): PodSecurityContext

    Returns a new data with fsGroupChangePolicy set to new value

  42. def withRunAsGroup(value: Int): PodSecurityContext

    Returns a new data with runAsGroup set to new value

  43. def withRunAsNonRoot(value: Boolean): PodSecurityContext

    Returns a new data with runAsNonRoot set to new value

  44. def withRunAsUser(value: Int): PodSecurityContext

    Returns a new data with runAsUser set to new value

  45. def withSeLinuxOptions(value: SELinuxOptions): PodSecurityContext

    Returns a new data with seLinuxOptions set to new value

  46. def withSeccompProfile(value: SeccompProfile): PodSecurityContext

    Returns a new data with seccompProfile set to new value

  47. def withSupplementalGroups(value: Seq[Int]): PodSecurityContext

    Returns a new data with supplementalGroups set to new value

  48. def withSysctls(value: Seq[Sysctl]): PodSecurityContext

    Returns a new data with sysctls set to new value

  49. def withWindowsOptions(value: WindowsSecurityContextOptions): PodSecurityContext

    Returns a new data with windowsOptions set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped