snapshot

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL