Documentation ¶
Index ¶
Constants ¶
View Source
const ( VolumeGrpcListenPort = 7777 ProtocolVersion = 1 )
constants
Variables ¶
This section is empty.
Functions ¶
func CreateSnapshot ¶
func CreateSnapshot(ip, volName, snapName string) (*v1proto.VolumeSnapCreateResponse, error)
CreateSnapshot creates snapshots
func DestroySnapshot ¶
func DestroySnapshot(ip, volName, snapName string) (*v1proto.VolumeSnapDeleteResponse, error)
DestroySnapshot destroys snapshots
Types ¶
type CommandStatus ¶
type CommandStatus struct {
Response string `json:"response"`
}
CommandStatus is the response from istgt for control commands
Click to show internal directories.
Click to hide internal directories.