eyevinn-golang-runner

Namespace

eyevinn-golang-runner

Description:
  • Elevate your Go projects effortlessly with Golang-Runner. Deploy apps as "My Apps" on the Eyevinn Open Source Cloud, simplifying builds and integrations. Secure and customizable for all your cloud needs!

Author:

Methods

(async, static) createEyevinnGolangRunnerInstance(context, body) → {EyevinnGolangRunner}

Description:
  • Create a new Golang Runner instance

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

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

Open Source Cloud configuration context

body EyevinnGolangRunnerConfig

Service instance configuration

Returns:
  • Service instance
Type
EyevinnGolangRunner

(async, static) getEyevinnGolangRunnerInstance(context, name) → {EyevinnGolangRunner}

Description:
  • Get a Golang Runner instance

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

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

Open Source Cloud configuration context

name string

Name of the golang-runner to be retrieved

Returns:
  • Service instance
Type
EyevinnGolangRunner

(async, static) removeEyevinnGolangRunnerInstance(context, name)

Description:
  • Remove a Golang Runner instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the golang-runner to be removed