neo4j-docker-neo4j
- Description:
Harness the power of connected data with Neo4j's easy-to-deploy Docker images! Perfect for both developers and enterprises, Neo4j offers swift setup and data persistence for insightful analytics and graph performance.
- Copyright:
- 2026 Eyevinn Technology AB
Methods
(async, static) createNeo4jDockerNeo4jInstance(context, body) → {Neo4jDockerNeo4j}
- Description:
Create a new Neo4j instance
Example
import { Context } from '@osaas/client-core';
import { createNeo4jDockerNeo4jInstance } from '@osaas/client-services';
const ctx = new Context();
const body: Neo4jDockerNeo4jConfig = { name: 'myinstance', ... };
const instance = await createNeo4jDockerNeo4jInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
Neo4jDockerNeo4jConfig | Service instance configuration |
Returns:
- Service instance
- Type
- Neo4jDockerNeo4j
(async, static) getNeo4jDockerNeo4jInstance(context, name) → {Neo4jDockerNeo4j}
- Description:
Get a Neo4j instance
Example
import { Context } from '@osaas/client-core';
import { getNeo4jDockerNeo4jInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getNeo4jDockerNeo4jInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the docker-neo4j to be retrieved |
Returns:
- Service instance
- Type
- Neo4jDockerNeo4j
(async, static) removeNeo4jDockerNeo4jInstance(context, name)
- Description:
Remove a Neo4j instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the docker-neo4j to be removed |