Documentation
¶
Index ¶
- type DismountVolumeRequest
- type DismountVolumeResponse
- type FormatVolumeRequest
- type FormatVolumeResponse
- type GetClosestVolumeIDFromTargetPathRequest
- type GetClosestVolumeIDFromTargetPathResponse
- type GetDiskNumberFromVolumeIDRequest
- type GetDiskNumberFromVolumeIDResponse
- type GetVolumeIDFromTargetPathRequest
- type GetVolumeIDFromTargetPathResponse
- type GetVolumeStatsRequest
- type GetVolumeStatsResponse
- type IsVolumeFormattedRequest
- type IsVolumeFormattedResponse
- type ListVolumesOnDiskRequest
- type ListVolumesOnDiskResponse
- type MountVolumeRequest
- type MountVolumeResponse
- type ResizeVolumeRequest
- type ResizeVolumeResponse
- type ServerInterface
- type UnmountVolumeRequest
- type UnmountVolumeResponse
- type VersionedAPI
- type VolumeDiskNumberRequest
- type VolumeDiskNumberResponse
- type VolumeIDFromMountRequest
- type VolumeIDFromMountResponse
- type VolumeStatsRequest
- type VolumeStatsResponse
- type WriteVolumeCacheRequest
- type WriteVolumeCacheResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DismountVolumeRequest ¶
type DismountVolumeResponse ¶
type DismountVolumeResponse struct{}
type FormatVolumeRequest ¶
type FormatVolumeRequest struct {
VolumeId string
}
type FormatVolumeResponse ¶
type FormatVolumeResponse struct {
}
type GetClosestVolumeIDFromTargetPathRequest ¶ added in v1.1.0
type GetClosestVolumeIDFromTargetPathRequest struct {
TargetPath string
}
type GetClosestVolumeIDFromTargetPathResponse ¶ added in v1.1.0
type GetClosestVolumeIDFromTargetPathResponse struct {
VolumeId string
}
type GetDiskNumberFromVolumeIDRequest ¶
type GetDiskNumberFromVolumeIDRequest struct {
VolumeId string
}
type GetDiskNumberFromVolumeIDResponse ¶
type GetDiskNumberFromVolumeIDResponse struct {
DiskNumber uint32
}
type GetVolumeIDFromTargetPathRequest ¶
type GetVolumeIDFromTargetPathRequest struct {
TargetPath string
}
type GetVolumeIDFromTargetPathResponse ¶
type GetVolumeIDFromTargetPathResponse struct {
VolumeId string
}
type GetVolumeStatsRequest ¶
type GetVolumeStatsRequest struct {
VolumeId string
}
type GetVolumeStatsResponse ¶
type IsVolumeFormattedRequest ¶
type IsVolumeFormattedRequest struct {
VolumeId string
}
type IsVolumeFormattedResponse ¶
type IsVolumeFormattedResponse struct {
Formatted bool
}
type ListVolumesOnDiskResponse ¶
type ListVolumesOnDiskResponse struct {
VolumeIds []string
}
type MountVolumeRequest ¶
type MountVolumeResponse ¶
type MountVolumeResponse struct {
}
type ResizeVolumeRequest ¶
type ResizeVolumeResponse ¶
type ResizeVolumeResponse struct {
}
type ServerInterface ¶
type ServerInterface interface {
DismountVolume(context.Context, *DismountVolumeRequest, apiversion.Version) (*DismountVolumeResponse, error)
FormatVolume(context.Context, *FormatVolumeRequest, apiversion.Version) (*FormatVolumeResponse, error)
GetClosestVolumeIDFromTargetPath(context.Context, *GetClosestVolumeIDFromTargetPathRequest, apiversion.Version) (*GetClosestVolumeIDFromTargetPathResponse, error)
GetDiskNumberFromVolumeID(context.Context, *GetDiskNumberFromVolumeIDRequest, apiversion.Version) (*GetDiskNumberFromVolumeIDResponse, error)
GetVolumeDiskNumber(context.Context, *VolumeDiskNumberRequest, apiversion.Version) (*VolumeDiskNumberResponse, error)
GetVolumeIDFromMount(context.Context, *VolumeIDFromMountRequest, apiversion.Version) (*VolumeIDFromMountResponse, error)
GetVolumeIDFromTargetPath(context.Context, *GetVolumeIDFromTargetPathRequest, apiversion.Version) (*GetVolumeIDFromTargetPathResponse, error)
GetVolumeStats(context.Context, *GetVolumeStatsRequest, apiversion.Version) (*GetVolumeStatsResponse, error)
IsVolumeFormatted(context.Context, *IsVolumeFormattedRequest, apiversion.Version) (*IsVolumeFormattedResponse, error)
ListVolumesOnDisk(context.Context, *ListVolumesOnDiskRequest, apiversion.Version) (*ListVolumesOnDiskResponse, error)
MountVolume(context.Context, *MountVolumeRequest, apiversion.Version) (*MountVolumeResponse, error)
ResizeVolume(context.Context, *ResizeVolumeRequest, apiversion.Version) (*ResizeVolumeResponse, error)
UnmountVolume(context.Context, *UnmountVolumeRequest, apiversion.Version) (*UnmountVolumeResponse, error)
VolumeStats(context.Context, *VolumeStatsRequest, apiversion.Version) (*VolumeStatsResponse, error)
WriteVolumeCache(context.Context, *WriteVolumeCacheRequest, apiversion.Version) (*WriteVolumeCacheResponse, error)
}
All the functions this group's server needs to define.
type UnmountVolumeRequest ¶
type UnmountVolumeResponse ¶
type UnmountVolumeResponse struct {
}
type VersionedAPI ¶
type VolumeDiskNumberRequest ¶
type VolumeDiskNumberRequest struct {
VolumeId string
}
type VolumeDiskNumberResponse ¶
type VolumeDiskNumberResponse struct {
DiskNumber int64
}
type VolumeIDFromMountRequest ¶
type VolumeIDFromMountRequest struct {
Mount string
}
type VolumeIDFromMountResponse ¶
type VolumeIDFromMountResponse struct {
VolumeId string
}
type VolumeStatsRequest ¶
type VolumeStatsRequest struct {
VolumeId string
}
type VolumeStatsResponse ¶
type WriteVolumeCacheRequest ¶
type WriteVolumeCacheRequest struct {
VolumeId string
}
type WriteVolumeCacheResponse ¶
type WriteVolumeCacheResponse struct {
}
Click to show internal directories.
Click to hide internal directories.