Class DockerNode
Describes a cluster node.
Namespace: Neon.Docker
Assembly: Neon.Docker.dll
Syntax
public class DockerNode
Properties
Addr
Returns the node IP address.
Declaration
public string Addr { get; }
Property Value
Type | Description |
---|---|
string |
Architecture
Returns the node CPU architecture.
Declaration
public string Architecture { get; }
Property Value
Type | Description |
---|---|
string |
Availability
Returns the node availability.
Declaration
public string Availability { get; }
Property Value
Type | Description |
---|---|
string |
CreatedAt
Returns the time the node was created.
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
EngineVersion
Returns the Docker engine version.
Declaration
public string EngineVersion { get; }
Property Value
Type | Description |
---|---|
string |
Hostname
Returns the node hostname.
Declaration
public string Hostname { get; }
Property Value
Type | Description |
---|---|
string |
ID
Returns the node ID.
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
string |
Inner
Returns the raw
Declaration
public dynamic Inner { get; }
Property Value
Type | Description |
---|---|
dynamic |
Labels
Returns the node labels.
Declaration
public Dictionary<string, string> Labels { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
ManagerStatus
Returns management status for cluster control-plane nodes.
Declaration
public DockerNodeManagerStatus ManagerStatus { get; }
Property Value
Type | Description |
---|---|
DockerNodeManagerStatus |
MemoryBytes
Returns the bytes of available memory.
Declaration
public long MemoryBytes { get; }
Property Value
Type | Description |
---|---|
long |
NanoCPUs
Returns the available CPU capacity,
Declaration
public long NanoCPUs { get; }
Property Value
Type | Description |
---|---|
long |
OS
Returns the node operating system.
Declaration
public string OS { get; }
Property Value
Type | Description |
---|---|
string |
Role
Returns the node role (currently one of "control-plane" or "worker").
Declaration
public string Role { get; }
Property Value
Type | Description |
---|---|
string |
State
Returns the node state.
Declaration
public string State { get; }
Property Value
Type | Description |
---|---|
string |
UpdatedAt
Returns the time the node was updated.
Declaration
public DateTimeOffset UpdatedAt { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |