Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Name of the driver Name = "coprhd" // Type of the driver Type = api.DriverType_DRIVER_TYPE_BLOCK )
Variables ¶
This section is empty.
Functions ¶
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 string `json:"id"`
} `json:"resource"`
} `json:"task"`
}
CreateVolumeReply is the reply from the create volume REST call
Click to show internal directories.
Click to hide internal directories.