v1alpha1

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

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) (*v1alpha1.VolumeSnapCreateResponse, error)

CreateSnapshot creates snapshots

func DestroySnapshot

func DestroySnapshot(ip, volName, snapName string) (*v1alpha1.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