All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
NodeAdd | Post /1.2/node | |
NodeDelete | Delete /1.2/node/{address} | |
NodeGet | Get /1.2/node/{address} | |
NodeList | Get /1.2/node | |
NodeUpdate | Put /1.2/node |
NodeAdd(ctx, nodeAddData)
Add a node.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
nodeAddData | NodeAddData |
(empty response body)
- Content-Type: application/json
- Accept: application/x-json-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeDelete(ctx, address, noRebalance, removeIaas)
Remove node.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Node address. | |
noRebalance | bool | Trigger node rebalance. | |
removeIaas | bool | Remove machine from IaaS. |
(empty response body)
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeGetResponse NodeGet(ctx, address)
Get node information.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Node address. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeListResponse NodeList(ctx, )
List nodes.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeUpdate(ctx, nodeUpdateData)
Update node.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
nodeUpdateData | NodeUpdateData |
(empty response body)
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]