Documentation ¶
Index ¶
- Variables
- func GetProjectId(reqURL string) string
- func NewClient(ctx *bctx.Context)
- func Run(cinderEndpoint string)
- type AttachmentPortal
- func (portal *AttachmentPortal) CreateAttachment()
- func (portal *AttachmentPortal) DeleteAttachment()
- func (portal *AttachmentPortal) GetAttachment()
- func (portal *AttachmentPortal) ListAttachments()
- func (portal *AttachmentPortal) ListAttachmentsDetails()
- func (portal *AttachmentPortal) UpdateAttachment()
- type ErrorSpec
- type SnapshotPortal
- type TypePortal
- func (portal *TypePortal) AddExtraProperty()
- func (portal *TypePortal) CreateType()
- func (portal *TypePortal) DeleteExtraProperty()
- func (portal *TypePortal) DeleteType()
- func (portal *TypePortal) GetType()
- func (portal *TypePortal) ListExtraProperties()
- func (portal *TypePortal) ListTypes()
- func (portal *TypePortal) ShowExtraProperty()
- func (portal *TypePortal) UpdateExtraProperty()
- func (portal *TypePortal) UpdateType()
- type VersionPortal
- type VolumePortal
- func (portal *VolumePortal) CreateVolume()
- func (portal *VolumePortal) DeleteVolume()
- func (portal *VolumePortal) GetVolume()
- func (portal *VolumePortal) ListVolumes()
- func (portal *VolumePortal) ListVolumesDetails()
- func (portal *VolumePortal) UpdateVolume()
- func (portal *VolumePortal) VolumeAction()
Constants ¶
This section is empty.
Variables ¶
var DefaultTypeName = "default"
DefaultTypeName ...
var ( // SleepDuration When running unit tests, it should be set to time.Nanosecond SleepDuration = time.Second )
Functions ¶
func GetProjectId ¶
GetProjectId Get the value of project_id
Types ¶
type AttachmentPortal ¶
type AttachmentPortal struct {
beego.Controller
}
AttachmentPortal ...
func (*AttachmentPortal) CreateAttachment ¶
func (portal *AttachmentPortal) CreateAttachment()
CreateAttachment ...
func (*AttachmentPortal) DeleteAttachment ¶
func (portal *AttachmentPortal) DeleteAttachment()
DeleteAttachment ...
func (*AttachmentPortal) GetAttachment ¶
func (portal *AttachmentPortal) GetAttachment()
GetAttachment ...
func (*AttachmentPortal) ListAttachments ¶
func (portal *AttachmentPortal) ListAttachments()
ListAttachments ...
func (*AttachmentPortal) ListAttachmentsDetails ¶
func (portal *AttachmentPortal) ListAttachmentsDetails()
ListAttachmentsDetails ...
func (*AttachmentPortal) UpdateAttachment ¶
func (portal *AttachmentPortal) UpdateAttachment()
UpdateAttachment ...
type ErrorSpec ¶
type ErrorSpec struct { Code int `json:"code,omitempty"` Message string `json:"message,omitempty"` }
ErrorSpec describes Detailed HTTP error response, which consists of a HTTP status code, and a custom error message unique for each failure case.
type SnapshotPortal ¶
type SnapshotPortal struct {
beego.Controller
}
SnapshotPortal ...
func (*SnapshotPortal) CreateSnapshot ¶
func (portal *SnapshotPortal) CreateSnapshot()
CreateSnapshot ...
func (*SnapshotPortal) DeleteSnapshot ¶
func (portal *SnapshotPortal) DeleteSnapshot()
DeleteSnapshot ...
func (*SnapshotPortal) ListSnapshots ¶
func (portal *SnapshotPortal) ListSnapshots()
ListSnapshots ...
func (*SnapshotPortal) ListSnapshotsDetails ¶
func (portal *SnapshotPortal) ListSnapshotsDetails()
ListSnapshotsDetails ...
func (*SnapshotPortal) UpdateSnapshot ¶
func (portal *SnapshotPortal) UpdateSnapshot()
UpdateSnapshot ...
type TypePortal ¶
type TypePortal struct {
beego.Controller
}
TypePortal ...
func (*TypePortal) AddExtraProperty ¶
func (portal *TypePortal) AddExtraProperty()
AddExtraProperty ...
func (*TypePortal) DeleteExtraProperty ¶
func (portal *TypePortal) DeleteExtraProperty()
DeleteExtraProperty ...
func (*TypePortal) ListExtraProperties ¶
func (portal *TypePortal) ListExtraProperties()
ListExtraProperties ...
func (*TypePortal) ShowExtraProperty ¶
func (portal *TypePortal) ShowExtraProperty()
ShowExtraProperty ...
func (*TypePortal) UpdateExtraProperty ¶
func (portal *TypePortal) UpdateExtraProperty()
UpdateExtraProperty ...
type VersionPortal ¶
type VersionPortal struct {
beego.Controller
}
VersionPortal ...
func (*VersionPortal) ListAllAPIVersions ¶
func (portal *VersionPortal) ListAllAPIVersions()
ListAllAPIVersions ...
type VolumePortal ¶
type VolumePortal struct {
beego.Controller
}
VolumePortal ...
func (*VolumePortal) ListVolumesDetails ¶
func (portal *VolumePortal) ListVolumesDetails()
ListVolumesDetails ...