Class ServiceFile
Configuration information for a Docker secret or config that is mapped into a service container.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class ServiceFile
Properties
GID
Identifies the group that owns the file.
Declaration
public string GID { get; set; }
Property Value
Type | Description |
---|---|
string |
Mode
The Linux file mode for the file.
note
This value is encoded as decimal. You'll need to convert to octal to see what it looks like as standard Linux permissions.
Declaration
public int Mode { get; set; }
Property Value
Type | Description |
---|---|
int |
Name
Path to the target file within the container.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
UID
Identifies the user that owns the file.
Declaration
public string UID { 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()