Packages

c

io.k8s.api.core.v1

SecurityContext

final case class SecurityContext(capabilities: Option[Capabilities] = None, readOnlyRootFilesystem: Option[Boolean] = None, allowPrivilegeEscalation: Option[Boolean] = None, procMount: Option[String] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, privileged: Option[Boolean] = None, runAsNonRoot: Option[Boolean] = None) extends Product with Serializable

SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

Source
SecurityContext.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SecurityContext
  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 SecurityContext(capabilities: Option[Capabilities] = None, readOnlyRootFilesystem: Option[Boolean] = None, allowPrivilegeEscalation: Option[Boolean] = None, procMount: Option[String] = None, runAsGroup: Option[Int] = None, seccompProfile: Option[SeccompProfile] = None, windowsOptions: Option[WindowsSecurityContextOptions] = None, seLinuxOptions: Option[SELinuxOptions] = None, runAsUser: Option[Int] = None, privileged: Option[Boolean] = 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. val allowPrivilegeEscalation: Option[Boolean]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val capabilities: Option[Capabilities]
  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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. val privileged: Option[Boolean]
  16. val procMount: Option[String]
  17. val readOnlyRootFilesystem: Option[Boolean]
  18. val runAsGroup: Option[Int]
  19. val runAsNonRoot: Option[Boolean]
  20. val runAsUser: Option[Int]
  21. val seLinuxOptions: Option[SELinuxOptions]
  22. val seccompProfile: Option[SeccompProfile]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. val windowsOptions: Option[WindowsSecurityContextOptions]
  28. def withAllowPrivilegeEscalation(value: Boolean): SecurityContext
  29. def withCapabilities(value: Capabilities): SecurityContext
  30. def withPrivileged(value: Boolean): SecurityContext
  31. def withProcMount(value: String): SecurityContext
  32. def withReadOnlyRootFilesystem(value: Boolean): SecurityContext
  33. def withRunAsGroup(value: Int): SecurityContext
  34. def withRunAsNonRoot(value: Boolean): SecurityContext
  35. def withRunAsUser(value: Int): SecurityContext
  36. def withSeLinuxOptions(value: SELinuxOptions): SecurityContext
  37. def withSeccompProfile(value: SeccompProfile): SecurityContext
  38. def withWindowsOptions(value: WindowsSecurityContextOptions): SecurityContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped