Packages

final case class PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Long] = None, supplementalGroups: Option[Seq[Long]] = None, runAsGroup: Option[Long] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Long] = 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PodSecurityContext
  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 PodSecurityContext(fsGroupChangePolicy: Option[String] = None, sysctls: Option[Seq[Sysctl]] = None, fsGroup: Option[Long] = None, supplementalGroups: Option[Seq[Long]] = None, runAsGroup: Option[Long] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Long] = 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: Long*): 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( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val fsGroup: Option[Long]
  10. val fsGroupChangePolicy: Option[String]
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mapFsGroup(f: (Long) ⇒ Long): PodSecurityContext

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

  14. def mapFsGroupChangePolicy(f: (String) ⇒ String): PodSecurityContext

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

  15. def mapRunAsGroup(f: (Long) ⇒ Long): PodSecurityContext

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

  16. def mapRunAsNonRoot(f: (Boolean) ⇒ Boolean): PodSecurityContext

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

  17. def mapRunAsUser(f: (Long) ⇒ Long): PodSecurityContext

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

  18. def mapSeLinuxOptions(f: (SELinuxOptions) ⇒ SELinuxOptions): PodSecurityContext

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

  19. def mapSeccompProfile(f: (SeccompProfile) ⇒ SeccompProfile): PodSecurityContext

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

  20. def mapSupplementalGroups(f: (Seq[Long]) ⇒ Seq[Long]): PodSecurityContext

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

  21. def mapSysctls(f: (Seq[Sysctl]) ⇒ Seq[Sysctl]): PodSecurityContext

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

  22. def mapWindowsOptions(f: (WindowsSecurityContextOptions) ⇒ WindowsSecurityContextOptions): PodSecurityContext

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

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

    Returns a new data with fsGroup set to new value

  39. def withFsGroupChangePolicy(value: String): PodSecurityContext

    Returns a new data with fsGroupChangePolicy set to new value

  40. def withRunAsGroup(value: Long): PodSecurityContext

    Returns a new data with runAsGroup set to new value

  41. def withRunAsNonRoot(value: Boolean): PodSecurityContext

    Returns a new data with runAsNonRoot set to new value

  42. def withRunAsUser(value: Long): PodSecurityContext

    Returns a new data with runAsUser set to new value

  43. def withSeLinuxOptions(value: SELinuxOptions): PodSecurityContext

    Returns a new data with seLinuxOptions set to new value

  44. def withSeccompProfile(value: SeccompProfile): PodSecurityContext

    Returns a new data with seccompProfile set to new value

  45. def withSupplementalGroups(value: Seq[Long]): PodSecurityContext

    Returns a new data with supplementalGroups set to new value

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

    Returns a new data with sysctls set to new value

  47. def withWindowsOptions(value: WindowsSecurityContextOptions): PodSecurityContext

    Returns a new data with windowsOptions set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped