Interface IOrchestrationManager
Interface for orchestration manager.
Namespace: Kephas.Orchestration
Assembly: Kephas.Orchestration.dll
Syntax
[SingletonAppServiceContract]
public interface IOrchestrationManagerMethods
| Improve this Doc View SourceGetLiveAppsAsync(IContext, CancellationToken)
Gets the live apps asynchronously.
Declaration
Task<IEnumerable<IRuntimeAppInfo>> GetLiveAppsAsync(IContext context = null, CancellationToken cancellationToken = default(CancellationToken))Parameters
| Type | Name | Description | 
|---|---|---|
| IContext | context | Optional. The context. | 
| System.Threading.CancellationToken | cancellationToken | Optional. The cancellation token. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<IRuntimeAppInfo>> | An asynchronous result that yields the live apps. | 
StartAppAsync(IAppInfo, IExpando, IContext, CancellationToken)
Starts the application asynchronously.
Declaration
Task<IOperationResult> StartAppAsync(IAppInfo appInfo, IExpando arguments, IContext context = null, CancellationToken cancellationToken = default(CancellationToken))Parameters
| Type | Name | Description | 
|---|---|---|
| IAppInfo | appInfo | Information describing the application. | 
| IExpando | arguments | The arguments. | 
| IContext | context | Optional. The context. | 
| System.Threading.CancellationToken | cancellationToken | Optional. The cancellation token. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<IOperationResult> | An asynchronous result that yields an operation result. | 
StopAppAsync(IRuntimeAppInfo, IContext, CancellationToken)
Stops a running application asynchronously.
Declaration
Task<IOperationResult> StopAppAsync(IRuntimeAppInfo runtimeAppInfo, IContext context = null, CancellationToken cancellationToken = default(CancellationToken))Parameters
| Type | Name | Description | 
|---|---|---|
| IRuntimeAppInfo | runtimeAppInfo | Information describing the runtime application. | 
| IContext | context | Optional. The context. | 
| System.Threading.CancellationToken | cancellationToken | Optional. The cancellation token. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<IOperationResult> | An asynchronous result that yields an operation result. |