eyevinn-dotnet-runner

Namespace

eyevinn-dotnet-runner

Description:
  • Effortlessly run your .NET apps on Open Source Cloud with dotnet-runner! Seamlessly build, deploy, and manage applications right from your repository, ensuring smooth operation on port 8080.

Author:

Methods

(async, static) createEyevinnDotnetRunnerInstance(context, body) → {EyevinnDotnetRunner}

Description:
  • Create a new .NET Runner instance

Example
import { Context } from '@osaas/client-core';
import { createEyevinnDotnetRunnerInstance } from '@osaas/client-services';

const ctx = new Context();
const body: EyevinnDotnetRunnerConfig = { name: 'myinstance', ... };
const instance = await createEyevinnDotnetRunnerInstance(ctx, body);
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

body EyevinnDotnetRunnerConfig

Service instance configuration

Returns:
  • Service instance
Type
EyevinnDotnetRunner

(async, static) getEyevinnDotnetRunnerInstance(context, name) → {EyevinnDotnetRunner}

Description:
  • Get a .NET Runner instance

Example
import { Context } from '@osaas/client-core';
import { getEyevinnDotnetRunnerInstance } from '@osaas/client-services';

const ctx = new Context();
const instance = await getEyevinnDotnetRunnerInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the dotnet-runner to be retrieved

Returns:
  • Service instance
Type
EyevinnDotnetRunner

(async, static) removeEyevinnDotnetRunnerInstance(context, name)

Description:
  • Remove a .NET Runner instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the dotnet-runner to be removed