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

The dependence resource More...

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

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< 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.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...
 

Detailed Description

The dependence resource

Definition at line 149 of file TestMigrator.cs.

Constructor & Destructor Documentation

◆ Dependence()

Initializes a new instance of the TestMigrator.Dependence class.

Parameters
configThe config.

Definition at line 157 of file TestMigrator.cs.

Member Data Documentation

◆ DefinedMigrationPoints

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

Definition at line 169 of file TestMigrator.cs.

◆ DependencyType

override EnResourceDependencyType KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependence.DependencyType => EnResourceDependencyType.CodeDependsOnResource

Definition at line 163 of file TestMigrator.cs.

◆ Name

override string KlusterKite.NodeManager.Tests.Migrations.TestMigrator.Dependence.Name => "Test dependence resource"

Definition at line 166 of file TestMigrator.cs.

◆ Resources

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

Definition at line 173 of file TestMigrator.cs.


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