Class ServiceSELinuxContext
SELinux labels for the container.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceSELinuxContext
Properties
Disable
Disable SELinux.
Declaration
public bool Disable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Level
SELinux level label.
Declaration
public string Level { get; set; }
Property Value
Type | Description |
---|---|
string |
Role
SELinux role label.
Declaration
public string Role { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
SELinux type label.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
User
SELinux user label.
Declaration
public string User { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Normalize()
Recursively ensures ensures that any null class or list related properties are replaced with instances with default values or empty lists.
Declaration
public void Normalize()