Versions in this module Expand all Collapse all v1 v1.2.0 Sep 16, 2018 Changes in this version + const ScName + const VolumeNotFoundOnArrayErrorMsg + type BadHttpStatusCodeError struct + func (e *BadHttpStatusCodeError) Error() string + type VolumeNotFoundOnArrayError struct + VolName string + func (e *VolumeNotFoundOnArrayError) Error() string v1.1.1 May 10, 2018 v1.1.0 Mar 25, 2018 v1.0.0 Dec 19, 2017 Changes in this version + const KEY_VERIFY_SCBE_CERT + const ScbeContainersGroupParam + func InitScbeRestClientGen(gen ScbeRestClientGen) func() + type InvalidMappingsForVolume struct + func (e *InvalidMappingsForVolume) Error() string + type ScbeDataModelWrapper interface + DeleteVolume func(name string) error + GetVolume func(name string, mustExist bool) (ScbeVolume, error) + InsertVolume func(volumeName string, wwn string, fstype string) error + ListVolumes func() ([]ScbeVolume, error) + UpdateDatabaseVolume func(newVolume *ScbeVolume) + func NewScbeDataModelWrapper() ScbeDataModelWrapper + type ScbeRestClientGen func(resources.ConnectionInfo) (ScbeRestClient, error) + type SslModeFullVerifyWithoutCAfile struct + VerifyCaEnvName string + func (e *SslModeFullVerifyWithoutCAfile) Error() string + type SslModeValueInvalid struct + func (e *SslModeValueInvalid) Error() string v0 v0.4.0 Aug 30, 2017 v0.3.0 Jul 6, 2017 Changes in this version + const AttachedToNothing + const ComposeVolumeName + const DefaultScbePort + const DefaultSizeUnit + const EmptyHost + const GetVolumeConfigExtraParams + const HTTP_AUTH_KEY + const HTTP_SUCCEED + const HTTP_SUCCEED_DELETED + const HTTP_SUCCEED_POST + const MaxVolumeNameLength + const OptionNameForServiceName + const OptionNameForVolumeSize + const ScbeFlockerGroupParam + const UrlScbeBaseSuffix + const UrlScbeReferer + const UrlScbeResourceGetAuth + const UrlScbeResourceHost + const UrlScbeResourceMapping + const UrlScbeResourceService + const UrlScbeResourceVolume + var SupportedFSTypes = []string + func NewScbeLocalClient(config resources.ScbeConfig, database *gorm.DB) (resources.StorageClient, error) + func NewScbeLocalClientWithNewScbeRestClientAndDataModel(config resources.ScbeConfig, dataModel ScbeDataModel, ...) (resources.StorageClient, error) + type CannotDeleteVolWhichAttachedToHostError struct + func (e *CannotDeleteVolWhichAttachedToHostError) Error() string + type ConfigDefaultFilesystemTypeNotSupported struct + func (e *ConfigDefaultFilesystemTypeNotSupported) Error() string + type ConfigDefaultSizeNotNumError struct + func (e *ConfigDefaultSizeNotNumError) Error() string + type ConfigScbeUbiquityInstanceNameWrongSize struct + func (e *ConfigScbeUbiquityInstanceNameWrongSize) Error() string + type FsTypeNotSupportedError struct + func (e *FsTypeNotSupportedError) Error() string + type InValidRequestError struct + func (e *InValidRequestError) Error() string + type LoginResponse struct + Token string + type ScbeCreateVolumePostParams struct + Name string + Service string + Size int + SizeUnit string + type ScbeDataModel interface + CreateVolumeTable func() error + DeleteVolume func(name string) error + GetVolume func(name string) (ScbeVolume, bool, error) + InsertVolume func(volumeName string, wwn string, attachTo string, fstype string) error + ListVolumes func() ([]ScbeVolume, error) + UpdateVolumeAttachTo func(volumeName string, scbeVolume ScbeVolume, host2attach string) error + func NewScbeDataModel(db *gorm.DB, backend string) ScbeDataModel + type ScbeMapVolumePostParams struct + HostId int + VolumeId string + type ScbeResponseHost struct + Array string + ArrayType string + HostId string + Id int + Name string + PhysicalHost int + StorageCluster string + type ScbeResponseMapping struct + Host int + Id int + LunNumber int + Volume string + type ScbeResponseMappings struct + Mappings []ScbeResponseMapping + type ScbeResponseVolume struct + Array string + ArrayName string + ArrayType string + BandwidthLimitMB string + CgId string + Compressed bool + ContainerId string + ContainerName string + CopyCount int + DomainName string + EstCompressionFactor string + FastWriteState string + FcMapCount int + FlashcopyTime string + IOPsLimit string + Id string + IoGrp int + IsPendingDeletion bool + LastUpdateTime string + LogicalCapacity int + MaxExtendable_size int + Name string + OwnerType string + PerfClass string + PhysicalCapacity int + Pool int + PoolName string + Saving int + ScsiIdentifier string + Serial string + ServiceCompliance string + ServiceId string + ServiceName string + Snapshot_time string + Status string + StorageModel string + ThinProvisioningSavings string + ThrottleId string + UsedCapacity int + VolumeId string + type ScbeRestClient interface + CreateVolume func(volName string, serviceName string, size int) (ScbeVolumeInfo, error) + DeleteVolume func(wwn string) error + GetVolMapping func(wwn string) (string, error) + GetVolumes func(wwn string) ([]ScbeVolumeInfo, error) + Login func() error + MapVolume func(wwn string, host string) (ScbeResponseMapping, error) + ServiceExist func(serviceName string) (bool, error) + UnmapVolume func(wwn string, host string) error + func NewScbeRestClient(conInfo resources.ConnectionInfo) ScbeRestClient + func NewScbeRestClientWithSimpleRestClient(conInfo resources.ConnectionInfo, simpleClient SimpleRestClient) ScbeRestClient + type ScbeStorageService struct + CapabilityValues string + Container string + Description string + HasAdmin bool + Id string + LogicalFree int + LogicalSize int + MaxResourceFreeSizeForProvisioning int + MaxResourceLogicalFree int + Name string + NumVolumes int + PhysicalFree int + PhysicalSize int + QosMaxIops int + QosMaxMbps int + TotalCapacity int + Type string + UniqueIdentifier string + UsedCapacity int + type ScbeUnMapVolumePostParams struct + HostId int + VolumeId string + type ScbeVolume struct + AttachTo string + FSType string + ID uint + Volume resources.Volume + VolumeID uint + WWN string + type ScbeVolumeInfo struct + LogicalCapacity string + Name string + PhysicalCapacity string + PoolName string + Profile string + StorageName string + StorageType string + UsedCapacity string + Wwn string + func NewScbeVolumeInfo(volume *ScbeResponseVolume) ScbeVolumeInfo + type SimpleRestClient interface + Delete func(resource_url string, payload []byte, exitStatus int) error + Get func(resource_url string, params map[string]string, exitStatus int, v interface{}) error + Login func() error + Post func(resource_url string, payload []byte, exitStatus int, v interface{}) error + func NewSimpleRestClient(conInfo resources.ConnectionInfo, baseURL string, authURL string, ...) SimpleRestClient + type VolumeNameExceededMaxLengthError struct + func (e *VolumeNameExceededMaxLengthError) Error() string Incompatible versions in this module v2.1.0+incompatible Apr 15, 2019 v2.0.0+incompatible Dec 19, 2018