Packages

c

io.k8s.api.core.v1

PodSecurityContext

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
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[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
  5. def addSysctls(newValues: Sysctl*): PodSecurityContext
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @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[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. val runAsGroup: Option[Int]
  18. val runAsNonRoot: Option[Boolean]
  19. val runAsUser: Option[Int]
  20. val seLinuxOptions: Option[SELinuxOptions]
  21. val seccompProfile: Option[SeccompProfile]
  22. val supplementalGroups: Option[Seq[Int]]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. val sysctls: Option[Seq[Sysctl]]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. val windowsOptions: Option[WindowsSecurityContextOptions]
  29. def withFsGroup(value: Int): PodSecurityContext
  30. def withFsGroupChangePolicy(value: String): PodSecurityContext
  31. def withRunAsGroup(value: Int): PodSecurityContext
  32. def withRunAsNonRoot(value: Boolean): PodSecurityContext
  33. def withRunAsUser(value: Int): PodSecurityContext
  34. def withSeLinuxOptions(value: SELinuxOptions): PodSecurityContext
  35. def withSeccompProfile(value: SeccompProfile): PodSecurityContext
  36. def withSupplementalGroups(value: Seq[Int]): PodSecurityContext
  37. def withSysctls(value: Seq[Sysctl]): PodSecurityContext
  38. def withWindowsOptions(value: WindowsSecurityContextOptions): PodSecurityContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped