Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateV2(ctx context.Context, request *openapi.VolumeV2Create) (*openapi.VolumeV2Read, error)
- func (c *Client) DeleteV2(ctx context.Context, volumeID regionids.VolumeID) error
- func (c *Client) GetV2(ctx context.Context, volumeID regionids.VolumeID) (*openapi.VolumeV2Read, error)
- func (c *Client) GetV2Raw(ctx context.Context, volumeID string) (*regionv1.Volume, error)
- func (c *Client) ListV2(ctx context.Context, params openapi.GetApiV2VolumesParams) (openapi.VolumesV2Read, error)
- func (c *Client) UpdateV2(ctx context.Context, volumeID regionids.VolumeID, ...) (*openapi.VolumeV2Read, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
common.ClientArgs
}
Client implements the v2 Volume lifecycle API.
func (*Client) CreateV2 ¶
func (c *Client) CreateV2(ctx context.Context, request *openapi.VolumeV2Create) (*openapi.VolumeV2Read, error)
CreateV2 creates a v2 Volume from Network-derived scope.
func (*Client) GetV2 ¶
func (c *Client) GetV2(ctx context.Context, volumeID regionids.VolumeID) (*openapi.VolumeV2Read, error)
GetV2 gets a v2 Volume.
func (*Client) ListV2 ¶
func (c *Client) ListV2(ctx context.Context, params openapi.GetApiV2VolumesParams) (openapi.VolumesV2Read, error)
ListV2 lists visible v2 Volumes.
Click to show internal directories.
Click to hide internal directories.