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

The node manager API provider More...

Inheritance diagram for KlusterKite.NodeManager.ApiProvider:
KlusterKite.API.Provider.ApiProvider

Public Member Functions

 ApiProvider (ActorSystem actorSystem, IPackageRepository packageRepository)
 Initializes a new instance of the ApiProvider class. More...
 
CurrentUserApi Me (RequestContext context)
 Gets the current user data API More...
 
- Public Member Functions inherited from KlusterKite.API.Provider.ApiProvider
virtual Task< JToken > ResolveQuery (List< ApiRequest > requests, RequestContext context, Action< Exception > onErrorCallback)
 Resolves query More...
 
virtual async Task< JObject > ResolveMutation (ApiRequest request, RequestContext context, Action< Exception > onErrorCallback)
 Resolves query More...
 

Properties

NodeManagerApi KlusterKiteNodesApi [get]
 Gets the main node manager api More...
 
- Properties inherited from KlusterKite.API.Provider.ApiProvider
ApiDescription ApiDescription [get]
 Gets the api description More...
 

Additional Inherited Members

- Public Attributes inherited from KlusterKite.API.Provider.ApiProvider
IReadOnlyList< string > GenerationErrors => this.generationErrors.AsReadOnly()
 Gets the list of warnings gathered on generation stage More...
 
- Protected Member Functions inherited from KlusterKite.API.Provider.ApiProvider
 ApiProvider ()
 Initializes a new instance of the ApiProvider class. More...
 

Detailed Description

The node manager API provider

Definition at line 25 of file ApiProvider.cs.

Constructor & Destructor Documentation

◆ ApiProvider()

KlusterKite.NodeManager.ApiProvider.ApiProvider ( ActorSystem  actorSystem,
IPackageRepository  packageRepository 
)

Initializes a new instance of the ApiProvider class.

Parameters
actorSystemThe actor system.
packageRepositoryThe package repository

Definition at line 39 of file ApiProvider.cs.

Member Function Documentation

◆ Me()

CurrentUserApi KlusterKite.NodeManager.ApiProvider.Me ( RequestContext  context)

Gets the current user data API

Parameters
contextThe request context
Returns
The current user API

Property Documentation

◆ KlusterKiteNodesApi

NodeManagerApi KlusterKite.NodeManager.ApiProvider.KlusterKiteNodesApi
get

Gets the main node manager api

Definition at line 50 of file ApiProvider.cs.


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