api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2015 License: Apache-2.0 Imports: 3 Imported by: 71

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResponseError

func ResponseError(format string, a ...interface{})

func ResponseLogAndError

func ResponseLogAndError(format string, a ...interface{})

func ResponseOutput

func ResponseOutput(v interface{})

Types

type BlockStoreResponse

type BlockStoreResponse struct {
	UUID      string
	Kind      string
	BlockSize int64
}

type DeviceMapperInfo

type DeviceMapperInfo struct {
	Driver            string
	Root              string
	DataDevice        string
	MetadataDevice    string
	ThinpoolDevice    string
	ThinpoolSize      int64
	ThinpoolBlockSize int64
}

type DeviceMapperSnapshot

type DeviceMapperSnapshot struct {
	DevID int
}

type DeviceMapperVolume

type DeviceMapperVolume struct {
	DevID     int
	Size      int64
	Snapshots map[string]DeviceMapperSnapshot
}

type DeviceMapperVolumes

type DeviceMapperVolumes struct {
	Volumes map[string]DeviceMapperVolume
}

type ErrorResponse

type ErrorResponse struct {
	Error string
}

type SnapshotResponse

type SnapshotResponse struct {
	UUID       string
	VolumeUUID string
}

type VolumeResponse

type VolumeResponse struct {
	UUID string
	Base string
	Size int64
}

Jump to

Keyboard shortcuts

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