KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Client.ORM Namespace Reference

Classes

class  CompatibleTemplate
 The compatible node template More...
 
class  Configuration
 The cluster configuration with all program modules versions, node templates and configurations More...
 
class  ConfigurationSettings
 The configuration settings description More...
 
interface  ITemplate
 The union for MigratorTemplate and NodeTemplate More...
 
class  Migration
 The history record describing cluster migration More...
 
class  MigrationLogRecord
 The base class for migration log records More...
 
class  MigratorTemplate
 A cluster migrator template definition More...
 
class  NodeTemplate
 A cluster node template description More...
 
class  Role
 The amount of privileges assigned to the user More...
 
class  RoleUser
 Role to user link More...
 
class  SeedAddress
 The address of fixed cluster seed for new node configuration More...
 
class  User
 The web ui user More...
 
class  UserDescription
 The short public user description More...
 

Enumerations

enum  EnClusterMigrationOperationState {
  EnClusterMigrationOperationState.Waiting = 1, EnClusterMigrationOperationState.InProgress = 2, EnClusterMigrationOperationState.Completed = 3, EnClusterMigrationOperationState.Faulted = 4,
  EnClusterMigrationOperationState.Aborted = 5
}
 The list of operation states More...
 
enum  EnConfigurationState {
  EnConfigurationState.Draft, EnConfigurationState.Ready, EnConfigurationState.Active, EnConfigurationState.Faulted,
  EnConfigurationState.Obsolete, EnConfigurationState.Archived
}
 The list of configuration states More...
 
enum  EnMigrationDirection { EnMigrationDirection.Upgrade, EnMigrationDirection.Downgrade, EnMigrationDirection.Stay, EnMigrationDirection.Undefined }
 The direction of cluster migration More...
 
enum  EnMigrationLogRecordType {
  EnMigrationLogRecordType.Operation = 1, EnMigrationLogRecordType.Error = 2, EnMigrationLogRecordType.OperationError = 3, EnMigrationLogRecordType.StartedFromConfiguration = 4,
  EnMigrationLogRecordType.FinishedFromConfiguration = 5, EnMigrationLogRecordType.CanceledFromConfiguration = 6, EnMigrationLogRecordType.StartedToConfiguration = 7, EnMigrationLogRecordType.FinishedToConfiguration = 8,
  EnMigrationLogRecordType.CanceledToConfiguration = 9
}
 The types of migration log records More...
 
enum  EnMigrationState {
  EnMigrationState.Preparing, EnMigrationState.Ready, EnMigrationState.Failed, EnMigrationState.Completed,
  EnMigrationState.Rollbacked
}
 The list of Migration states More...
 
enum  EnMigrationSteps {
  EnMigrationSteps.Start, EnMigrationSteps.PreNodesResourcesUpdating, EnMigrationSteps.PreNodeResourcesUpdated, EnMigrationSteps.NodesUpdating,
  EnMigrationSteps.NodesUpdated, EnMigrationSteps.PostNodesResourcesUpdating, EnMigrationSteps.Finish, EnMigrationSteps.Broken,
  EnMigrationSteps.Recovery
}
 The list of migration procedure steps More...
 

Enumeration Type Documentation

◆ EnClusterMigrationOperationState

The list of operation states

Enumerator
Waiting 

The operation waits for launch

InProgress 

The operation is running

Completed 

The operation successfully completed

Faulted 

The operation failed

Aborted 

The operation was aborted

Definition at line 18 of file EnClusterMigrationOperationState.cs.

◆ EnConfigurationState

The list of configuration states

Enumerator
Draft 

This is the draft of configuration and can be edited

Ready 

This is the new configuration, ready to be applied

Active 

This is the current active configuration

Faulted 

This configuration was faulted and cluster roll-backed to the latest stable configuration (or some other)

Obsolete 

This configuration is obsolete

Archived 

This configuration was once published, but now is replaced with the new one

Definition at line 18 of file EnConfigurationState.cs.

◆ EnMigrationDirection

The direction of cluster migration

Enumerator
Upgrade 

The cluster is upgrading

Downgrade 

The cluster is downgrading

Stay 

The cluster resources don't need upgrade. They are up to date.

Undefined 

The migration direction can-not be evaluated. The migration is corrupted.

Definition at line 18 of file EnMigrationDirection.cs.

◆ EnMigrationLogRecordType

The types of migration log records

Enumerator
Operation 

The successful operation

Error 

Some error

OperationError 

The faulted operation

StartedFromConfiguration 

The new migration from this configuration was started

FinishedFromConfiguration 

The migration from this configuration was finished

CanceledFromConfiguration 

The migration from this configuration was canceled

StartedToConfiguration 

The new migration to this configuration was started

FinishedToConfiguration 

The migration to this configuration was finished

CanceledToConfiguration 

The migration to this configuration was canceled

Definition at line 18 of file EnMigrationLogRecordType.cs.

◆ EnMigrationState

The list of Migration states

Enumerator
Preparing 

The migration is in preparing state. The configuration compatibility check is in process

Ready 

The migration is ready to run

Failed 

The migration failed

Completed 

The migration is completed

Rollbacked 

The migration is rollbacked

TODO: this

Definition at line 18 of file EnMigrationState.cs.

◆ EnMigrationSteps

The list of migration procedure steps

Enumerator
Start 

The initial migration position, nothing is done

PreNodesResourcesUpdating 

The resources are in the update stage

PreNodeResourcesUpdated 

The resources were successfully updated

NodesUpdating 

The nodes are in the update state

NodesUpdated 

The nodes were successfully updated

PostNodesResourcesUpdating 

The resources are in the update stage

Finish 

The migration is finished

Broken 

The migration is broken

Recovery 

The migration is broken, but can be recovered

Definition at line 18 of file EnMigrationSteps.cs.