KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent Class Reference

The dependent resource More...

Inheritance diagram for KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent:
KlusterKite.NodeManager.Tests.Migrations.TestMigrator KlusterKite.NodeManager.Migrator.IMigrator

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< ResourceIdGetMigratableResources ()
 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...
 

Detailed Description

The dependent resource

Definition at line 179 of file TestMigrator.cs.

Constructor & Destructor Documentation

◆ Dependent()

Initializes a new instance of the TestMigrator.Dependent class.

Parameters
configThe config.

Definition at line 187 of file TestMigrator.cs.

Member Data Documentation

◆ DefinedMigrationPoints

override List<string> KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent.DefinedMigrationPoints
protected
Initial value:
=> this.Config
.GetStringList("TestMigrator.Dependent.DefinedMigrationPoints").ToList()

Definition at line 199 of file TestMigrator.cs.

◆ DependencyType

override EnResourceDependencyType KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent.DependencyType => EnResourceDependencyType.ResourceDependsOnCode

Definition at line 193 of file TestMigrator.cs.

◆ Name

override string KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent.Name => "Test dependent resource"

Definition at line 196 of file TestMigrator.cs.

◆ Resources

override List<string> KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependent.Resources => this.Config.GetStringList("TestMigrator.Dependent.Resources").ToList()
protected

Definition at line 203 of file TestMigrator.cs.


The documentation for this class was generated from the following file: