coprhd

package
v0.0.0-...-6e535ca Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "coprhd"
	Type = api.Block
)

Variables

This section is empty.

Functions

func Init

Types

type ApiError

type ApiError struct {
	Code        string `json:"code"`
	Retryable   string `json:"retryable"`
	Description string `json:"description"`
	Details     string `json:"details"`
}

ApiError represents the default api error code

type CreateVolumeArgs

type CreateVolumeArgs struct {
	ConsistencyGroup string `json:"consistency_group"`
	Count            int    `json:"count"`
	Name             string `json:"name"`
	Project          string `json:"project"`
	Size             string `json:"size"`
	VArray           string `json:"varray"`
	VPool            string `json:"vpool"`
}

CreateVolumeArgs represents the json parameters for the create volume REST call

type CreateVolumeReply

type CreateVolumeReply struct {
	Task []struct {
		Resource struct {
			Name string       `json:"name"`
			Id   api.VolumeID `json:"id"`
		} `json:"resource"`
	} `json:"task"`
}

CreateVolumeReply is the reply from the create volume REST call

Jump to

Keyboard shortcuts

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