unleash-unleash
- Description:
Unleash your development with Unleash's feature management platform. Control feature rollouts, test with real data, and deploy seamlessly across various environments with robust integrations and flexible SDKs.
- Copyright:
- 2026 Eyevinn Technology AB
- See:
-
- Online docs for further information
Methods
(async, static) createUnleashUnleashInstance(context, body) → {UnleashUnleash}
- Description:
Create a new Unleash instance
Example
import { Context } from '@osaas/client-core';
import { createUnleashUnleashInstance } from '@osaas/client-services';
const ctx = new Context();
const body: UnleashUnleashConfig = { name: 'myinstance', ... };
const instance = await createUnleashUnleashInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
UnleashUnleashConfig | Service instance configuration |
Returns:
- Service instance
- Type
- UnleashUnleash
(async, static) getUnleashUnleashInstance(context, name) → {UnleashUnleash}
- Description:
Get a Unleash instance
Example
import { Context } from '@osaas/client-core';
import { getUnleashUnleashInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getUnleashUnleashInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the unleash to be retrieved |
Returns:
- Service instance
- Type
- UnleashUnleash
(async, static) removeUnleashUnleashInstance(context, name)
- Description:
Remove a Unleash instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the unleash to be removed |