Versions in this module Expand all Collapse all v0 v0.3.2 Nov 9, 2018 Changes in this version + const DockTypeAttacher + const DockTypeProvioner + const ErrorBadRequest + const ErrorForbidden + const ErrorInternalServer + const ErrorNotFound + const ErrorNotImplemented + const ErrorUnauthorized + const ReplicationAvailable + const ReplicationCreating + const ReplicationDefaultBackendId + const ReplicationDefaultPeriod + const ReplicationDeleted + const ReplicationDeleting + const ReplicationDisabled + const ReplicationDisabling + const ReplicationEnabled + const ReplicationEnabling + const ReplicationError + const ReplicationErrorDeleting + const ReplicationErrorDisabling + const ReplicationErrorEnabling + const ReplicationErrorFailback + const ReplicationErrorFailover + const ReplicationFailingBack + const ReplicationFailingOver + const ReplicationFailover + const ReplicationModeAsync + const ReplicationModeSync + const ReplicationTypeArray + const ReplicationTypeHost + const VolumeAttachAvailable + const VolumeAttachCreating + const VolumeAttachError + const VolumeAttachErrorDeleting + const VolumeAttached + const VolumeAttacing + const VolumeAvailable + const VolumeCreating + const VolumeDeleting + const VolumeDetached + const VolumeError + const VolumeErrorAttaching + const VolumeErrorDeleting + const VolumeErrorDetaching + const VolumeErrorExtending + const VolumeExtending + const VolumeGroupAvailable + const VolumeGroupCreating + const VolumeGroupDeleting + const VolumeGroupError + const VolumeGroupErrorDeleting + const VolumeGroupInUse + const VolumeGroupUpdating + const VolumeInUse + const VolumeReserved + const VolumeSnapAvailable + const VolumeSnapCreating + const VolumeSnapDeleting + const VolumeSnapError + const VolumeSnapErrorDeleting + func Current() string + func CurrentVersion() string + func Deprecated() string + func ErrorBadRequestStatus(message string) []byte + func ErrorForbiddenStatus(message string) []byte + func ErrorInternalServerStatus(message string) []byte + func ErrorNotFoundStatus(message string) []byte + func ErrorNotImplementedStatus(message string) []byte + func ErrorUnauthorizedStatus(message string) []byte + func HttpError(ctx *context.Context, code int, format string, a ...interface{}) error + func NewNotFoundError(msg string) error + func Supported() string + type BaseModel struct + CreatedAt string + Id string + UpdatedAt string + type ConnectionInfo struct + AdditionalProperties map[string]interface{} + ConnectionData map[string]interface{} + DriverVolumeType string + func (con *ConnectionInfo) EncodeConnectionData() []byte + type CustomPropertiesSpec map[string]interface + func (cps CustomPropertiesSpec) Encode() []byte + func (cps CustomPropertiesSpec) IsEmpty() bool + type DataProtectionLoS struct + IsIsolated bool + MinLifetime string + RecoveryGeographicObject string + RecoveryPointObjectiveTime string + RecoveryTimeObjective string + ReplicaType string + func (dp DataProtectionLoS) IsEmpty() bool + type DataProtectionPropertiesSpec struct + ConsistencyEnabled bool + DataProtection DataProtectionLoS + func (dps DataProtectionPropertiesSpec) IsEmpty() bool + type DataStorageLoS struct + IsSpaceEfficient bool + ProvisioningPolicy string + RecoveryTimeObjective int64 + func (ds DataStorageLoS) IsEmpty() bool + type DockSpec struct + Description string + DriverName string + Endpoint string + Metadata map[string]string + Name string + NodeId string + Status string + StorageType string + Type string + type ErrorSpec struct + Code int + Message string + type ExtendVolumeSpec struct + NewSize int64 + type FailoverReplicationSpec struct + AllowAttachedVolume bool + SecondaryBackendId string + type HostInfo struct + Host string + Initiator string + Ip string + OsType string + Platform string + type IOConnectivityLoS struct + AccessProtocol string + MaxBWS int64 + MaxIOPS int64 + func (ic IOConnectivityLoS) IsEmpty() bool + type NotFoundError struct + S string + func (e *NotFoundError) Error() string + type NotImplementError struct + S string + func (e *NotImplementError) Error() string + type ProfileSpec struct + CustomProperties CustomPropertiesSpec + DataProtectionProperties DataProtectionPropertiesSpec + Description string + Name string + ProvisioningProperties ProvisioningPropertiesSpec + ReplicationProperties ReplicationPropertiesSpec + SnapshotProperties SnapshotPropertiesSpec + StorageType string + type ProvisioningPropertiesSpec struct + DataStorage DataStorageLoS + IOConnectivity IOConnectivityLoS + func (pps ProvisioningPropertiesSpec) IsEmpty() bool + type ReplicationPropertiesSpec struct + DataProtection DataProtectionLoS + ReplicaInfos struct{ ... } + func (rps ReplicationPropertiesSpec) IsEmpty() bool + type ReplicationSpec struct + AvailabilityZone string + Description string + GroupId string + Metadata map[string]string + Name string + PoolId string + PrimaryReplicationDriverData map[string]string + PrimaryVolumeId string + ProfileId string + Region string + ReplicationBandwidth int64 + ReplicationMode string + ReplicationPeriod int64 + ReplicationStatus string + SecondaryReplicationDriverData map[string]string + SecondaryVolumeId string + TenantId string + UserId string + VolumeDataList []*proto.VolumeData + type SnapshotPropertiesSpec struct + Retention struct{ ... } + Schedule struct{ ... } + func (sps SnapshotPropertiesSpec) IsEmpty() bool + type StoragePoolExtraSpec struct + Advanced map[string]interface{} + DataProtection DataProtectionLoS + DataStorage DataStorageLoS + IOConnectivity IOConnectivityLoS + type StoragePoolSpec struct + AvailabilityZone string + Description string + DockId string + Extras StoragePoolExtraSpec + FreeCapacity int64 + Name string + ReplicationDriverName string + ReplicationType string + Status string + StorageType string + TotalCapacity int64 + type VersionSpec struct + Name string + Status string + UpdatedAt string + type VolumeAttachmentSpec struct + AccessProtocol string + Metadata map[string]string + Mountpoint string + Status string + TenantId string + UserId string + VolumeId string + type VolumeGroupSpec struct + AddVolumes []string + AvailabilityZone string + Description string + GroupSnapshots []string + Name string + PoolId string + Profiles []string + RemoveVolumes []string + Status string + TenantId string + UserId string + type VolumeSnapshotSpec struct + Description string + Metadata map[string]string + Name string + Size int64 + Status string + TenantId string + UserId string + VolumeId string + type VolumeSpec struct + AttachStatus string + AvailabilityZone string + Description string + GroupId string + Metadata map[string]string + Name string + PoolId string + ProfileId string + ReplicationDriverData map[string]string + ReplicationId string + Size int64 + SnapshotId string + Status string + TenantId string + UserId string