Class ServicePrivileges
Security options for service containers.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServicePrivileges
Properties
CredentialSpec
Windows Only: Windows container credential specification.
Declaration
public ServiceCredentialSpec CredentialSpec { get; set; }
Property Value
Type | Description |
---|---|
ServiceCredentialSpec |
SELinuxContext
SELinux labels for the container.
Declaration
public ServiceSELinuxContext SELinuxContext { get; set; }
Property Value
Type | Description |
---|---|
ServiceSELinuxContext |
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()