Constructor
new ContainersMeta(context)
Container Meta constructor
Parameters:
Name | Type | Description |
---|---|---|
context |
OVHStorage |
OVHObjectStorage context |
- Source:
Methods
(async) all() → {Promise.<array>}
Get all container metas
- Source:
(async) create(container, key, value) → {Promise.<Object>}
Create a new container meta
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source:
(async) create_with_result(container, key, value) → {Promise.<Boolean>}
Create a new container meta and return boolean as result
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source:
(async) delete(container, key) → {Promise.<Object>}
Delete container meta
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
- Source:
(async) delete_with_result(container, key) → {Promise.<Boolean>}
Delete container meta and return boolean as result
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
- Source:
(async) get(container, key) → {Promise.<string>}
Get container meta
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
- Source:
(async) has(container, key) → {Promise.<Boolean>}
Container has meta
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
- Source:
(async) update(container, key, value) → {Promise.<Object>}
Update existing container meta
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source:
(async) update_with_result(container, key, value) → {Promise.<Boolean>}
Update existing container meta and return boolean as result
Parameters:
Name | Type | Description |
---|---|---|
container |
String |
Name of container |
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source: