KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The dependence resource More...
Public Member Functions | |
Dependence (Config config) | |
Initializes a new instance of the TestMigrator.Dependence class. More... | |
Public Member Functions inherited from KlusterKite.NodeManager.Tests.Migrations.TestMigrator | |
TestMigrator (Config config) | |
IEnumerable< string > | GetAllPoints () |
Gets all possible migration points defined in this assembly More... | |
string | GetCurrentPoint (ResourceId resourceId) |
Gets the current configuration migration point for specified resource More... | |
IEnumerable< ResourceId > | GetMigratableResources () |
Gets the list of cluster resources that this migrator can migrate More... | |
IEnumerable< string > | Migrate (ResourceId resourceId, string pointToMigrate) |
Performs the migration procedure More... | |
Public Attributes | |
override EnResourceDependencyType | DependencyType => EnResourceDependencyType.CodeDependsOnResource |
override string | Name => "Test dependence resource" |
Public Attributes inherited from KlusterKite.NodeManager.Tests.Migrations.TestMigrator | |
string | LatestPoint => this.DefinedMigrationPoints?.LastOrDefault() |
decimal | Priority => 1M |
Protected Attributes | |
override List< string > | DefinedMigrationPoints |
override List< string > | Resources => this.Config.GetStringList("TestMigrator.Dependence.Resources").ToList() |
Additional Inherited Members | |
Static Public Member Functions inherited from KlusterKite.NodeManager.Tests.Migrations.TestMigrator | |
static void | SetMigrationPoint (string connectionString, string point) |
Sets the current migration point for the resource More... | |
Properties inherited from KlusterKite.NodeManager.Tests.Migrations.TestMigrator | |
abstract EnResourceDependencyType | DependencyType [get] |
abstract string | Name [get] |
Config | Config [get] |
Gets the migrator config More... | |
abstract List< string > | DefinedMigrationPoints [get] |
Gets the list of defined migration points More... | |
abstract List< string > | Resources [get] |
Gets the list of defined migration resources More... | |
Properties inherited from KlusterKite.NodeManager.Migrator.IMigrator | |
string | LatestPoint [get] |
Gets the latest known migration point identification for this assembly More... | |
string | Name [get] |
Gets the human-readable migrator name More... | |
EnResourceDependencyType | DependencyType [get] |
Gets the type of resource dependency More... | |
decimal | Priority [get] |
Gets the priority of execution. In case of migration, the migrators will be run in order of priority from largest to lowest More... | |
The dependence resource
Definition at line 149 of file TestMigrator.cs.
Initializes a new instance of the TestMigrator.Dependence class.
config | The config. |
Definition at line 157 of file TestMigrator.cs.
|
protected |
Definition at line 169 of file TestMigrator.cs.
override EnResourceDependencyType KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependence.DependencyType => EnResourceDependencyType.CodeDependsOnResource |
Definition at line 163 of file TestMigrator.cs.
override string KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependence.Name => "Test dependence resource" |
Definition at line 166 of file TestMigrator.cs.
|
protected |
Definition at line 173 of file TestMigrator.cs.