All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
VolumeBind | Post /1.4/volumes/{volume}/bind | |
VolumeCreate | Post /1.4/volumes | |
VolumeDelete | Delete /1.4/volumes/{volume} | |
VolumeGet | Get /1.4/volumes/{volume} | |
VolumeList | Get /1.4/volumes | |
VolumePlansList | Get /1.4/volumeplans | |
VolumeUnbind | Delete /1.4/volumes/{volume}/bind | |
VolumeUpdate | Put /1.4/volumes/{volume} |
VolumeBind(ctx, volume, volumeBindData)
Bind volume.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
volume | string | Volume name. | |
volumeBindData | VolumeBindData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VolumeCreate(ctx, volume)
Create volume.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
volume | Volume |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VolumeDelete(ctx, volume)
Delete volume.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
volume | string | Volume name. |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Volume VolumeGet(ctx, volume)
Get a volume.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
volume | string | Volume name. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Volume VolumeList(ctx, )
List volumes.
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]
map[string]VolumePlan VolumePlansList(ctx, )
List volume plans.
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]
VolumeUnbind(ctx, volume, volumeBindData)
Unbind volume.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
volume | string | Volume name. | |
volumeBindData | VolumeBindData |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VolumeUpdate(ctx, volume, volumeUpdateData)
Update volume.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
volume | string | Volume name. | |
volumeUpdateData | VolumeUpdateData |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]