CreateVolume creates a new volume. CreateVolume always creates a Volume on the local Node. CreateVolume returns a handle to the Volume. If no other references to the Volume have been created by the time the handle expires, the Volume will be deleted. Leave caller nil to skip Authorization checks. H
(ctx context.Context, host *Endpoint, vspec VolumeSpec)
| 403 | // Host describes where the Volume should be created. |
| 404 | // If the Host is nil, the Volume will be created on the local Node. |
| 405 | CreateVolume(ctx context.Context, host *Endpoint, vspec VolumeSpec) (*Handle, error) |
| 406 | |
| 407 | // CreateQueue creates a new queue and returns a handle to it. |
| 408 | CreateQueue(ctx context.Context, host *Endpoint, qspec QueueSpec) (*Handle, error) |
no outgoing calls