KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Base class for all cluster system migrations More...
Public Member Functions | |
IEnumerable< ResourceId > | GetMigratableResources () |
Gets the list of cluster resources that this migrator can migrate More... | |
string | GetCurrentPoint (ResourceId resourceId) |
Gets the current configuration migration point for specified resource More... | |
IEnumerable< string > | Migrate (ResourceId resourceId, string pointToMigrate) |
Performs the migration procedure More... | |
IEnumerable< string > | GetAllPoints () |
Gets all possible migration points defined in this assembly More... | |
Properties | |
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... | |
Base class for all cluster system migrations
Definition at line 17 of file IMigrator.cs.
IEnumerable<string> KlusterKite.NodeManager.Migrator.IMigrator.GetAllPoints | ( | ) |
Gets all possible migration points defined in this assembly
Implemented in KlusterKite.NodeManager.Migrator.EF.BaseDatabaseMigrator< TContext >, KlusterKite.NodeManager.Tests.Migrations.TestMigrator, and KlusterKite.NodeManager.Mock.MockResourceMigrator.
string KlusterKite.NodeManager.Migrator.IMigrator.GetCurrentPoint | ( | ResourceId | resourceId | ) |
Gets the current configuration migration point for specified resource
resourceId | The resource id |
Implemented in KlusterKite.NodeManager.Tests.Migrations.TestMigrator, KlusterKite.NodeManager.Migrator.EF.BaseDatabaseMigrator< TContext >, and KlusterKite.NodeManager.Mock.MockResourceMigrator.
IEnumerable<ResourceId> KlusterKite.NodeManager.Migrator.IMigrator.GetMigratableResources | ( | ) |
Gets the list of cluster resources that this migrator can migrate
Implemented in KlusterKite.NodeManager.Tests.Migrations.TestMigrator, KlusterKite.NodeManager.Mock.MockResourceMigrator, and KlusterKite.NodeManager.Migrator.EF.BaseDatabaseMigrator< TContext >.
IEnumerable<string> KlusterKite.NodeManager.Migrator.IMigrator.Migrate | ( | ResourceId | resourceId, |
string | pointToMigrate | ||
) |
Performs the migration procedure
resourceId | The resource id. |
pointToMigrate | The point to migrate. |
Implemented in KlusterKite.NodeManager.Tests.Migrations.TestMigrator, KlusterKite.NodeManager.Mock.MockResourceMigrator, and KlusterKite.NodeManager.Migrator.EF.BaseDatabaseMigrator< TContext >.
|
get |
Gets the type of resource dependency
Definition at line 32 of file IMigrator.cs.
|
get |
Gets the latest known migration point identification for this assembly
Definition at line 22 of file IMigrator.cs.
|
get |
Gets the human-readable migrator name
Definition at line 27 of file IMigrator.cs.
|
get |
Gets the priority of execution. In case of migration, the migrators will be run in order of priority from largest to lowest
Definition at line 37 of file IMigrator.cs.