ernestocarocca-hello-world
- Description:
Harness the power of Next.js 14 and NextUI v2 with this feature-rich template. Perfect for creating sleek, dynamic apps with Tailwind CSS and TypeScript. Kickstart your project efficiently today!
- Copyright:
- 2025 Eyevinn Technology AB
Methods
(async, static) createErnestocaroccaHelloWorldInstance(context, body) → {ErnestocaroccaHelloWorld}
- Description:
Create a new Hello World instance
Example
import { Context } from '@osaas/client-core';
import { createErnestocaroccaHelloWorldInstance } from '@osaas/client-services';
const ctx = new Context();
const body: ErnestocaroccaHelloWorldConfig = { name: 'myinstance', ... };
const instance = await createErnestocaroccaHelloWorldInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
ErnestocaroccaHelloWorldConfig | Service instance configuration |
Returns:
- Service instance
(async, static) getErnestocaroccaHelloWorldInstance(context, name) → {ErnestocaroccaHelloWorld}
- Description:
Get a Hello World instance
Example
import { Context } from '@osaas/client-core';
import { getErnestocaroccaHelloWorldInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getErnestocaroccaHelloWorldInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the example to be retrieved |
Returns:
- Service instance
(async, static) removeErnestocaroccaHelloWorldInstance(context, name)
- Description:
Remove a Hello World instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the example to be removed |