KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Web.NginxConfigurator.HostConfiguration Class Reference

Nginx description of host configuration More...

Inheritance diagram for KlusterKite.Web.NginxConfigurator.HostConfiguration:

Public Member Functions

 HostConfiguration (string hostName)
 Initializes a new instance of the HostConfiguration class. More...
 
void Flush ()
 Removes from cache services without active nodes More...
 
IEnumerator< ServiceConfigurationGetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 

Public Attributes

int Count => this.services.Count
 Gets the configured services count More...
 

Properties

string Config [get, set]
 Gets or sets the additional configuration More...
 
string HostName [get]
 Gets the virtual hostname of group services More...
 
ServiceConfiguration this[string serviceName] [get]
 Gets the service description More...
 

Detailed Description

Nginx description of host configuration

Definition at line 19 of file HostConfiguration.cs.

Constructor & Destructor Documentation

◆ HostConfiguration()

KlusterKite.Web.NginxConfigurator.HostConfiguration.HostConfiguration ( string  hostName)

Initializes a new instance of the HostConfiguration class.

Parameters
hostNameThe virtual hostname to group services

Definition at line 30 of file HostConfiguration.cs.

Member Function Documentation

◆ Flush()

void KlusterKite.Web.NginxConfigurator.HostConfiguration.Flush ( )

Removes from cache services without active nodes

Definition at line 71 of file HostConfiguration.cs.

◆ GetEnumerator()

IEnumerator<ServiceConfiguration> KlusterKite.Web.NginxConfigurator.HostConfiguration.GetEnumerator ( )

Returns an enumerator that iterates through the collection.

Returns
An enumerator that can be used to iterate through the collection.

Definition at line 81 of file HostConfiguration.cs.

Member Data Documentation

◆ Count

int KlusterKite.Web.NginxConfigurator.HostConfiguration.Count => this.services.Count

Gets the configured services count

Definition at line 43 of file HostConfiguration.cs.

Property Documentation

◆ Config

string KlusterKite.Web.NginxConfigurator.HostConfiguration.Config
getset

Gets or sets the additional configuration

Definition at line 38 of file HostConfiguration.cs.

◆ HostName

string KlusterKite.Web.NginxConfigurator.HostConfiguration.HostName
get

Gets the virtual hostname of group services

Definition at line 48 of file HostConfiguration.cs.

◆ this[string serviceName]

ServiceConfiguration KlusterKite.Web.NginxConfigurator.HostConfiguration.this[string serviceName]
get

Gets the service description

Parameters
serviceNameThe service name
Returns
The service description

Definition at line 56 of file HostConfiguration.cs.


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