Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- func (cli *Client) AddLunToHost(lunName, hostName string) error
- func (cli *Client) AddPortToHost(initiatorName, hostName string) error
- func (cli *Client) AllowNfsShareAccess(params map[string]interface{}) error
- func (cli *Client) AssociateQoSWithVolume(volName, qosName string) error
- func (cli *Client) AttachVolume(name, ip string) error
- func (cli *Client) CreateFileSystem(params map[string]interface{}) (map[string]interface{}, error)
- func (cli *Client) CreateHost(hostName string, alua map[string]interface{}) error
- func (cli *Client) CreateInitiator(name string) error
- func (cli *Client) CreateNfsShare(params map[string]interface{}) (map[string]interface{}, error)
- func (cli *Client) CreateQoS(qosName string, qosData map[string]int) error
- func (cli *Client) CreateQuota(params map[string]interface{}) error
- func (cli *Client) CreateSnapshot(snapshotName, volName string) error
- func (cli *Client) CreateVolume(params map[string]interface{}) error
- func (cli *Client) CreateVolumeFromSnapshot(volName string, volSize int64, snapshotName string) error
- func (cli *Client) DeleteFileSystem(id string) error
- func (cli *Client) DeleteLunFromHost(lunName, hostName string) error
- func (cli *Client) DeleteNfsShare(id string) error
- func (cli *Client) DeleteNfsShareAccess(accessID string) error
- func (cli *Client) DeleteQoS(qosName string) error
- func (cli *Client) DeleteQuota(quotaID string) error
- func (cli *Client) DeleteSnapshot(snapshotName string) error
- func (cli *Client) DeleteVolume(name string) error
- func (cli *Client) DetachVolume(name, ip string) error
- func (cli *Client) DisassociateQoSWithVolume(volName, qosName string) error
- func (cli *Client) DuplicateClient() *Client
- func (cli *Client) ExtendVolume(lunName string, newCapacity int64) error
- func (cli *Client) GetAllPools() (map[string]interface{}, error)
- func (cli *Client) GetAssociateCountOfQoS(qosName string) (int, error)
- func (cli *Client) GetFileSystemByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetHostByName(hostName string) (map[string]interface{}, error)
- func (cli *Client) GetInitiatorByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetNfsShareAccess(shareID string) (map[string]interface{}, error)
- func (cli *Client) GetNfsShareByPath(path string) (map[string]interface{}, error)
- func (cli *Client) GetPoolById(poolId int64) (map[string]interface{}, error)
- func (cli *Client) GetPoolByName(poolName string) (map[string]interface{}, error)
- func (cli *Client) GetQoSNameByVolume(volName string) (string, error)
- func (cli *Client) GetQuotaByFileSystem(fsID string) (map[string]interface{}, error)
- func (cli *Client) GetSnapshotByName(snapshotName string) (map[string]interface{}, error)
- func (cli *Client) GetVolumeByName(name string) (map[string]interface{}, error)
- func (cli *Client) KeepAlive()
- func (cli *Client) Login() error
- func (cli *Client) Logout()
- func (cli *Client) QueryHostByPort(port string) (string, error)
- func (cli *Client) QueryHostOfVolume(lunName string) ([]map[string]interface{}, error)
- func (cli *Client) QueryIscsiPortal() ([]map[string]interface{}, error)
- func (cli *Client) UpdateHost(hostName string, alua map[string]interface{}) error
Constants ¶
View Source
const ( NO_AUTHENTICATED int64 = 10000003 VOLUME_NAME_NOT_EXIST int64 = 50150005 DELETE_VOLUME_NOT_EXIST int64 = 32150005 QUERY_VOLUME_NOT_EXIST int64 = 31000000 INITIATOR_NOT_EXIST int64 = 50155103 HOSTNAME_ALREADY_EXIST int64 = 50157019 INITIATOR_ALREADY_EXIST int64 = 50155102 INITIATOR_ADDED_TO_HOST int64 = 50157021 OFF_LINE_CODE = "1077949069" SNAPSHOT_NOT_EXIST int64 = 50150006 FILE_SYSTEM_NOT_EXIST int64 = 33564678 QUOTA_NOT_EXIST int64 = 37767685 DEFAULT_PARALLEL_COUNT int = 50 MAX_PARALLEL_COUNT int = 1000 MIN_PARALLEL_COUNT int = 20 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddLunToHost ¶
func (*Client) AddPortToHost ¶
func (*Client) AllowNfsShareAccess ¶
func (*Client) AssociateQoSWithVolume ¶
func (*Client) AttachVolume ¶
func (*Client) CreateFileSystem ¶
func (*Client) CreateHost ¶
func (*Client) CreateInitiator ¶
func (*Client) CreateNfsShare ¶
func (*Client) CreateQuota ¶
func (*Client) CreateSnapshot ¶
func (*Client) CreateVolume ¶
func (*Client) CreateVolumeFromSnapshot ¶
func (*Client) DeleteFileSystem ¶
func (*Client) DeleteLunFromHost ¶
func (*Client) DeleteNfsShare ¶
func (*Client) DeleteNfsShareAccess ¶
func (*Client) DeleteQuota ¶
func (*Client) DeleteSnapshot ¶
func (*Client) DeleteVolume ¶
func (*Client) DetachVolume ¶
func (*Client) DisassociateQoSWithVolume ¶
func (*Client) DuplicateClient ¶
func (*Client) ExtendVolume ¶
func (*Client) GetAllPools ¶
func (*Client) GetAssociateCountOfQoS ¶
func (*Client) GetFileSystemByName ¶
func (*Client) GetHostByName ¶
func (*Client) GetInitiatorByName ¶
func (*Client) GetNfsShareAccess ¶
func (*Client) GetNfsShareByPath ¶
func (*Client) GetPoolById ¶
func (*Client) GetPoolByName ¶
func (*Client) GetQoSNameByVolume ¶
func (*Client) GetQuotaByFileSystem ¶
func (*Client) GetSnapshotByName ¶
func (*Client) GetVolumeByName ¶
func (*Client) QueryHostOfVolume ¶
func (*Client) QueryIscsiPortal ¶
Click to show internal directories.
Click to hide internal directories.