Class SetupClusterStatus
Describes the current state of cluster setup.
Inherited Members
Namespace: Neon.Kube.Setup
Assembly: Neon.Kube.dll
Syntax
public class SetupClusterStatus : NotifyPropertyChanged
Properties
CurrentStep
Returns the currently executing step status (or null
).
Declaration
public SetupStepStatus CurrentStep { get; set; }
Property Value
Type | Description |
---|---|
SetupStepStatus |
GlobalStatus
Returns any status for the overall setup operation.
Declaration
public string GlobalStatus { get; set; }
Property Value
Type | Description |
---|---|
string |
Hosts
Returns the current status for any cluster hosts.
Declaration
public List<SetupNodeStatus> Hosts { get; }
Property Value
Type | Description |
---|---|
List<SetupNodeStatus> |
IsFaulted
Indicates whether cluster setup has failed.
Declaration
public bool IsFaulted { get; set; }
Property Value
Type | Description |
---|---|
bool |
Nodes
Returns the current status for the cluster nodes.
Declaration
public List<SetupNodeStatus> Nodes { get; }
Property Value
Type | Description |
---|---|
List<SetupNodeStatus> |
Steps
Returns information about the setup steps in order of execution.
Declaration
public List<SetupStepStatus> Steps { get; }
Property Value
Type | Description |
---|---|
List<SetupStepStatus> |
Methods
Clone()
Returns a deep(ish) clone of the instance.
Declaration
public SetupClusterStatus Clone()
Returns
Type | Description |
---|---|
SetupClusterStatus | The clone. |
UpdateFrom(SetupClusterStatus)
Copies the properties from the source status to this instance, raising INotifyPropertyChanged related events as required.
Declaration
public void UpdateFrom(SetupClusterStatus source)
Parameters
Type | Name | Description |
---|---|---|
SetupClusterStatus | source | The source instance. |
WriteToConsole(int, bool, bool)
Displays the current operation status on the Console.
Declaration
public void WriteToConsole(int maxDisplayedSteps = 5, bool showNodeStatus = true, bool showRuntime = true)
Parameters
Type | Name | Description |
---|---|---|
int | maxDisplayedSteps | The maximum number of steps to be displayed. This defaults to 5. |
bool | showNodeStatus | Controls whether individual node status is displayed. This defaults to |
bool | showRuntime | Controls whether step runtime is displayed after all steps have completed. This defaults to |