go-gitea-gitea
- Description:
Discover Gitea, your lightweight, self-hosted Git solution designed for speed and simplicity. Cross-platform and scalable, Gitea empowers seamless code collaboration for teams of all sizes. Try it today!
- Copyright:
- 2026 Eyevinn Technology AB
Methods
(async, static) createGoGiteaGiteaInstance(context, body) → {GoGiteaGitea}
- Description:
Create a new Gitea instance
Example
import { Context } from '@osaas/client-core';
import { createGoGiteaGiteaInstance } from '@osaas/client-services';
const ctx = new Context();
const body: GoGiteaGiteaConfig = { name: 'myinstance', ... };
const instance = await createGoGiteaGiteaInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
GoGiteaGiteaConfig | Service instance configuration |
Returns:
- Service instance
- Type
- GoGiteaGitea
(async, static) getGoGiteaGiteaInstance(context, name) → {GoGiteaGitea}
- Description:
Get a Gitea instance
Example
import { Context } from '@osaas/client-core';
import { getGoGiteaGiteaInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getGoGiteaGiteaInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the gitea to be retrieved |
Returns:
- Service instance
- Type
- GoGiteaGitea
(async, static) removeGoGiteaGiteaInstance(context, name)
- Description:
Remove a Gitea instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the gitea to be removed |