Versions in this module Expand all Collapse all v1 v1.2.1 Jun 29, 2016 Changes in this version + var GenericResponseMalformed int = 422 + var GenericResponseNoContent int = 204 + var GenericResponseNotFound int = 404 + var GenericResponseOffline int = 424 + var GenericResponseOkay int = 200 + var GenericResponseSuccess int = 201 + type CallResponseError struct + CodeType string + ErrorMsg string + LocalizedMsg string + ReturnCode string + type Driver struct + func NewDriver(config DriverConfig) *Driver + func (d Driver) Connect() (response string, err error) + func (d Driver) CreateVolume(name string, volumeGroupRef string, size string, mediaType string) (volumeRef string, err error) + func (d Driver) DestroyVolume(name string) (err error) + func (d Driver) IsVolumeAlreadyMappedToHost(name string, hostRef string) (isMapped bool, lunNumber int, err error) + func (d Driver) MapVolume(name string, hostRef string) (lunNumber int, err error) + func (d Driver) SendMsg(data []byte, sendType string, msgType string) (*http.Response, error) + func (d Driver) UnmapVolume(name string) (err error) + func (d Driver) VerifyHostIQN(iqn string) (hostRef string, err error) + func (d Driver) VerifyVolumeExists(name string) (err error) + func (d Driver) VerifyVolumePools(mediaType string, size string) (VolumeGroupRef string, err error) + type DriverConfig struct + ArrayID string + Array_Registered bool + Controller_A string + Controller_B string + HostData_IP string + Password string + Password_Array string + Username string + Volumes map[string]*VolumeInfo + WebProxy_Hostname string + type HostExHostPort struct + type HostExInitiator struct + InitiatorRef string + Label string + NodeName HostExScsiNodeName + type HostExResponse struct + HostRef string + Initiators []HostExInitiator + Label string + type HostExScsiNodeName struct + IoInterfaceType string + IscsiNodeName string + type LUNMapping struct + HostRef string + LunMappingRef string + LunNumber int + VolumeRef string + type MsgConnect struct + ControllerAddresses []string + Password string + type MsgConnectResponse struct + AlreadyExists bool + ArrayID string + type MsgVolumeEx struct + DataAssurance bool + Name string + OwningController string + SegmentSize int + Size int + SizeUnit string + VolumeGroupRef string + type MsgVolumeExResponse struct + IsMapped bool + IsOffline bool + Label string + ListOfMappings []LUNMapping + SegmentSize int + VolumeGroupRef string + VolumeRef string + VolumeSize string + type VolumeGroupExResponse struct + FreeSpace string + IsOffline bool + SequenceNumber int + VolumeGroupRef string + VolumeLabel string + WorldWideName string + type VolumeInfo struct + IsVolumeMapped bool + LunMappingRef string + LunNumber int + MediaType string + SecureVolume bool + SegmentSize int + UnitSize string + VolumeGroupRef string + VolumeRef string + VolumeSize int64 + type VolumeMappingCreateRequest struct + LunNumber int + MappableObjectId string + TargetID string