KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The node manager api More...
Public Member Functions | |
NodeManagerApi (ActorSystem actorSystem, IPackageRepository packageRepository) | |
Initializes a new instance of the NodeManagerApi class. More... | |
async Task< List< NodeDescription > > | GetActiveNodeDescriptions () |
Gets current cluster active nodes descriptions More... | |
async Task< TemplatesUsageStatistics > | GetTemplateStatistics () |
Gets current cluster node template usage for debug purposes More... | |
MigrationConnection | Migrations (RequestContext context) |
Gets the history of migrations More... | |
ConfigurationConnection | Configurations (RequestContext context) |
The connection to the Role More... | |
RolesConnection | Roles (RequestContext context) |
The connection to the Role More... | |
async Task< MutationResult< bool > > | UpgradeNode (string address) |
Manual node upgrade request More... | |
UsersConnection | Users (RequestContext context) |
The connection to the User More... | |
Public Attributes | |
List< PrivilegeDescription > | DefinedPrivilegeDescriptions => Utils.DefinedPrivileges.ToList() |
Gets the list of defined system privileges More... | |
NugetPackagesConnection | NugetPackages => new NugetPackagesConnection(this.packageRepository) |
Gets the list of packages in the nuget repository More... | |
Properties | |
ClusterManagement | ClusterManagement [get] |
Gets the cluster management More... | |
The node manager api
Definition at line 37 of file NodeManagerApi.cs.
KlusterKite.NodeManager.WebApi.NodeManagerApi.NodeManagerApi | ( | ActorSystem | actorSystem, |
IPackageRepository | packageRepository | ||
) |
Initializes a new instance of the NodeManagerApi class.
actorSystem | The actor system. |
packageRepository | The package repository |
Definition at line 56 of file NodeManagerApi.cs.
ConfigurationConnection KlusterKite.NodeManager.WebApi.NodeManagerApi.Configurations | ( | RequestContext | context | ) |
The connection to the Role
context | The request context |
Definition at line 172 of file NodeManagerApi.cs.
async Task<List<NodeDescription> > KlusterKite.NodeManager.WebApi.NodeManagerApi.GetActiveNodeDescriptions | ( | ) |
Gets current cluster active nodes descriptions
Definition at line 105 of file NodeManagerApi.cs.
async Task<TemplatesUsageStatistics> KlusterKite.NodeManager.WebApi.NodeManagerApi.GetTemplateStatistics | ( | ) |
Gets current cluster node template usage for debug purposes
Definition at line 127 of file NodeManagerApi.cs.
MigrationConnection KlusterKite.NodeManager.WebApi.NodeManagerApi.Migrations | ( | RequestContext | context | ) |
Gets the history of migrations
context | The request context |
Definition at line 146 of file NodeManagerApi.cs.
RolesConnection KlusterKite.NodeManager.WebApi.NodeManagerApi.Roles | ( | RequestContext | context | ) |
The connection to the Role
context | The request context |
Definition at line 190 of file NodeManagerApi.cs.
async Task<MutationResult<bool> > KlusterKite.NodeManager.WebApi.NodeManagerApi.UpgradeNode | ( | string | address | ) |
Manual node upgrade request
address | Address of node to upgrade |
Definition at line 206 of file NodeManagerApi.cs.
UsersConnection KlusterKite.NodeManager.WebApi.NodeManagerApi.Users | ( | RequestContext | context | ) |
The connection to the User
context | The request context |
Definition at line 226 of file NodeManagerApi.cs.
List<PrivilegeDescription> KlusterKite.NodeManager.WebApi.NodeManagerApi.DefinedPrivilegeDescriptions => Utils.DefinedPrivileges.ToList() |
Gets the list of defined system privileges
Definition at line 72 of file NodeManagerApi.cs.
NugetPackagesConnection KlusterKite.NodeManager.WebApi.NodeManagerApi.NugetPackages => new NugetPackagesConnection(this.packageRepository) |
Gets the list of packages in the nuget repository
Definition at line 89 of file NodeManagerApi.cs.
|
get |
Gets the cluster management
Definition at line 79 of file NodeManagerApi.cs.