wordpress-wordpress
- Description:
Power your site with WordPress – the core behind 40% of the web. Enjoy seamless installation, robust customization, and unmatched scalability. Elevate your online presence effortlessly today!
- Copyright:
- 2025 Eyevinn Technology AB
- See:
-
- Online docs for further information
Methods
(async, static) createWordpressWordpressInstance(context, body) → {WordpressWordpress}
- Description:
Create a new Wordpress instance
Example
import { Context } from '@osaas/client-core';
import { createWordpressWordpressInstance } from '@osaas/client-services';
const ctx = new Context();
const body: WordpressWordpressConfig = { name: 'myinstance', ... };
const instance = await createWordpressWordpressInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
WordpressWordpressConfig | Service instance configuration |
Returns:
- Service instance
- Type
- WordpressWordpress
(async, static) getWordpressWordpressInstance(context, name) → {WordpressWordpress}
- Description:
Get a Wordpress instance
Example
import { Context } from '@osaas/client-core';
import { getWordpressWordpressInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getWordpressWordpressInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the wordpress to be retrieved |
Returns:
- Service instance
- Type
- WordpressWordpress
(async, static) removeWordpressWordpressInstance(context, name)
- Description:
Remove a Wordpress instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the wordpress to be removed |