AppArmorProfile

io.k8s.api.core.v1.AppArmorProfile
See theAppArmorProfile companion object
final case class AppArmorProfile(`type`: String, localhostProfile: Option[String])

AppArmorProfile defines a pod or container's AppArmor settings.

Attributes

Companion
object
Source
AppArmorProfile.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapLocalhostProfile(f: String => String): AppArmorProfile

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

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

Attributes

Source
AppArmorProfile.scala
def mapType(f: String => String): AppArmorProfile

transforms type to result of function

transforms type to result of function

Attributes

Source
AppArmorProfile.scala

Returns a new data with localhostProfile set to new value

Returns a new data with localhostProfile set to new value

Attributes

Source
AppArmorProfile.scala
def withType(value: String): AppArmorProfile

Returns a new data with type set to new value

Returns a new data with type set to new value

Attributes

Source
AppArmorProfile.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product