KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.ConfigurationSource.ConfigurationExtensions Class Reference

Extending the work with Configuration More...

Static Public Member Functions

static async Task< List< ErrorDescription > > CheckAll (this Configuration configuration, ConfigurationContext context, IPackageRepository nugetRepository, List< string > supportedFrameworks)
 Creates full configuration check and fills it values with actual data More...
 
static IEnumerable< ErrorDescriptionCheckTemplatesConfigurations (this Configuration configuration)
 Checks configuration node templates for correct configuration sections More...
 
static IEnumerable< CompatibleTemplateGetCompatibleTemplates (this Configuration configuration, ConfigurationContext context)
 Gets the list of compatible templates More...
 
static async Task< List< ErrorDescription > > SetPackagesDescriptionsForTemplates (this Configuration configuration, IPackageRepository nugetRepository, List< string > supportedFrameworks)
 Checks the Configuration data and sets the NodeTemplate.PackagesToInstall More...
 

Detailed Description

Extending the work with Configuration

Definition at line 35 of file ConfigurationExtensions.cs.

Member Function Documentation

◆ CheckAll()

static async Task<List<ErrorDescription> > KlusterKite.NodeManager.ConfigurationSource.ConfigurationExtensions.CheckAll ( this Configuration  configuration,
ConfigurationContext  context,
IPackageRepository  nugetRepository,
List< string >  supportedFrameworks 
)
static

Creates full configuration check and fills it values with actual data

Parameters
configurationThe configuration
contextThe data context
nugetRepositoryThe access to the nuget repository
supportedFrameworksThe list of supported frameworks
Returns
The list of possible errors

Definition at line 45 of file ConfigurationExtensions.cs.

◆ CheckTemplatesConfigurations()

static IEnumerable<ErrorDescription> KlusterKite.NodeManager.ConfigurationSource.ConfigurationExtensions.CheckTemplatesConfigurations ( this Configuration  configuration)
static

Checks configuration node templates for correct configuration sections

Parameters
configurationThe configuration
Returns
The list of errors

Definition at line 63 of file ConfigurationExtensions.cs.

◆ GetCompatibleTemplates()

static IEnumerable<CompatibleTemplate> KlusterKite.NodeManager.ConfigurationSource.ConfigurationExtensions.GetCompatibleTemplates ( this Configuration  configuration,
ConfigurationContext  context 
)
static

Gets the list of compatible templates

Parameters
configurationThe configuration to check
contextThe configuration data context
Returns
The list of compatible templates

Definition at line 121 of file ConfigurationExtensions.cs.

◆ SetPackagesDescriptionsForTemplates()

static async Task<List<ErrorDescription> > KlusterKite.NodeManager.ConfigurationSource.ConfigurationExtensions.SetPackagesDescriptionsForTemplates ( this Configuration  configuration,
IPackageRepository  nugetRepository,
List< string >  supportedFrameworks 
)
static

Checks the Configuration data and sets the NodeTemplate.PackagesToInstall

Parameters
configurationThe object to update
nugetRepositoryThe nuget repository.
supportedFrameworksThe list of supported Frameworks.
Returns
The list of possible errors

Definition at line 218 of file ConfigurationExtensions.cs.


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