KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The dependent resource More...
Public Member Functions | |
Dependent (Config config) | |
Initializes a new instance of the TestMigrator.Dependent 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.ResourceDependsOnCode |
override string | Name => "Test dependent 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.Dependent.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 dependent resource
Definition at line 179 of file TestMigrator.cs.
Initializes a new instance of the TestMigrator.Dependent class.
config | The config. |
Definition at line 187 of file TestMigrator.cs.
|
protected |
Definition at line 199 of file TestMigrator.cs.
override EnResourceDependencyType KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent.DependencyType => EnResourceDependencyType.ResourceDependsOnCode |
Definition at line 193 of file TestMigrator.cs.
override string KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent.Name => "Test dependent resource" |
Definition at line 196 of file TestMigrator.cs.
|
protected |
Definition at line 203 of file TestMigrator.cs.