Class SetupNodeStatus
Describes the current state of a node during cluster setup.
Inherited Members
Namespace: Neon.Kube.Setup
Assembly: Neon.Kube.dll
Syntax
public class SetupNodeStatus : NotifyPropertyChanged
Constructors
SetupNodeStatus()
Default constructor used by Clone() as well as for UX design mode.
Declaration
public SetupNodeStatus()
SetupNodeStatus(LinuxSshProxy, object)
Constructor.
Declaration
public SetupNodeStatus(LinuxSshProxy nodeOrHost, object metadata)
Parameters
Type | Name | Description |
---|---|---|
LinuxSshProxy | nodeOrHost | The source node or vm host. |
object | metadata | The node metadata or |
Properties
Metadata
The node metadata as an object. The actual type can be determined by examining NodeMetadataType.
Declaration
[JsonIgnore]
public object Metadata { get; set; }
Property Value
Type | Description |
---|---|
object |
Name
The node name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Role
The node role. This will be one of the NodeRole values.
Declaration
public string Role { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
The node status string.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
StepState
Indicates the setup step state for the node.
Declaration
public SetupStepState StepState { get; set; }
Property Value
Type | Description |
---|---|
SetupStepState |
Methods
Clone()
Returns a clone of the instance.
Declaration
public SetupNodeStatus Clone()
Returns
Type | Description |
---|---|
SetupNodeStatus | The clone. |
UpdateFrom(SetupNodeStatus)
Copies the properties from the source status to this instance, raising INotifyPropertyChanged related events as required.
Declaration
public void UpdateFrom(SetupNodeStatus source)
Parameters
Type | Name | Description |
---|---|---|
SetupNodeStatus | source | The source instance. |