struct

Kubernetes::SELinuxOptions

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

SELinuxOptions are the labels to be applied to the container

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

level

Level is SELinux level label that applies to the container.

Source
level=(level : String | Nil)

Level is SELinux level label that applies to the container.

Source
role

Role is a SELinux role label that applies to the container.

Source
role=(role : String | Nil)

Role is a SELinux role label that applies to the container.

Source
type

Type is a SELinux type label that applies to the container.

Source
type=(type : String | Nil)

Type is a SELinux type label that applies to the container.

Source
user

User is a SELinux user label that applies to the container.

Source
user=(user : String | Nil)

User is a SELinux user label that applies to the container.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source