Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- func (cli *Client) ActivateLunSnapshot(snapshotID string) error
- func (cli *Client) ActivateQos(qosID string) error
- func (cli *Client) AddFCInitiatorToHost(initiator, hostID string) error
- func (cli *Client) AddGroupToMapping(groupType int, groupID, mappingID string) error
- func (cli *Client) AddHostToGroup(hostID, hostGroupID string) error
- func (cli *Client) AddIscsiInitiator(initiator string) (map[string]interface{}, error)
- func (cli *Client) AddIscsiInitiatorToHost(initiator, hostID string) error
- func (cli *Client) AddLunToGroup(lunID string, groupID string) error
- func (cli *Client) AddRoCEInitiator(initiator string) (map[string]interface{}, error)
- func (cli *Client) AddRoCEInitiatorToHost(initiator, hostID string) error
- func (cli *Client) AllowNfsShareAccess(params map[string]interface{}) error
- func (cli *Client) CloneFileSystem(name string, allocType int, parentID, parentSnapshotID string) (map[string]interface{}, error)
- func (cli *Client) CreateClonePair(srcLunID, dstLunID string, cloneSpeed int) (map[string]interface{}, error)
- func (cli *Client) CreateFSSnapshot(name, parentID string) (map[string]interface{}, error)
- func (cli *Client) CreateFileSystem(params map[string]interface{}) (map[string]interface{}, error)
- func (cli *Client) CreateHost(name string) (map[string]interface{}, error)
- func (cli *Client) CreateHostGroup(name string) (map[string]interface{}, error)
- func (cli *Client) CreateHyperMetroPair(data map[string]interface{}) (map[string]interface{}, error)
- func (cli *Client) CreateLun(params map[string]interface{}) (map[string]interface{}, error)
- func (cli *Client) CreateLunCopy(name, srcLunID, dstLunID string, copySpeed int) (map[string]interface{}, error)
- func (cli *Client) CreateLunGroup(name string) (map[string]interface{}, error)
- func (cli *Client) CreateLunSnapshot(name, lunID string) (map[string]interface{}, error)
- func (cli *Client) CreateMapping(name string) (map[string]interface{}, error)
- func (cli *Client) CreateNfsShare(params map[string]interface{}) (map[string]interface{}, error)
- func (cli *Client) CreateQos(name, objID, objType string, params map[string]int) (map[string]interface{}, error)
- func (cli *Client) CreateReplicationPair(data map[string]interface{}) (map[string]interface{}, error)
- func (cli *Client) DeactivateLunSnapshot(snapshotID string) error
- func (cli *Client) DeactivateQos(qosID string) error
- func (cli *Client) DeleteClonePair(clonePairID string) error
- func (cli *Client) DeleteFSSnapshot(snapshotID string) error
- func (cli *Client) DeleteFileSystem(id string) error
- func (cli *Client) DeleteHost(id string) error
- func (cli *Client) DeleteHostGroup(id string) error
- func (cli *Client) DeleteHyperMetroPair(pairID string) error
- func (cli *Client) DeleteLun(id string) error
- func (cli *Client) DeleteLunCopy(lunCopyID string) error
- func (cli *Client) DeleteLunGroup(id string) error
- func (cli *Client) DeleteLunSnapshot(snapshotID string) error
- func (cli *Client) DeleteMapping(id string) error
- func (cli *Client) DeleteNfsShare(id string) error
- func (cli *Client) DeleteNfsShareAccess(accessID string) error
- func (cli *Client) DeleteQos(qosID string) error
- func (cli *Client) DeleteReplicationPair(pairID string) error
- func (cli *Client) DuplicateClient() *Client
- func (cli *Client) ExtendFileSystem(fsID string, newCapacity int64) error
- func (cli *Client) ExtendLun(lunID string, newCapacity int64) error
- func (cli *Client) GetAllPools() (map[string]interface{}, error)
- func (cli *Client) GetClonePairInfo(clonePairID string) (map[string]interface{}, error)
- func (cli *Client) GetFCHostLink(hostID string) ([]interface{}, error)
- func (cli *Client) GetFCInitiator(wwn string) (map[string]interface{}, error)
- func (cli *Client) GetFCInitiatorByID(wwn string) (map[string]interface{}, error)
- func (cli *Client) GetFSHyperMetroDomain(domainName string) (map[string]interface{}, error)
- func (cli *Client) GetFSSnapshotByName(parentID, snapshotName string) (map[string]interface{}, error)
- func (cli *Client) GetFSSnapshotCountByParentId(ParentId string) (int, error)
- func (cli *Client) GetFileSystemByID(id string) (map[string]interface{}, error)
- func (cli *Client) GetFileSystemByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetHostByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetHostGroupByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetHyperMetroDomain(domainID string) (map[string]interface{}, error)
- func (cli *Client) GetHyperMetroDomainByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetHyperMetroPair(pairID string) (map[string]interface{}, error)
- func (cli *Client) GetHyperMetroPairByLocalObjID(objID string) (map[string]interface{}, error)
- func (cli *Client) GetISCSIHostLink(hostID string) ([]interface{}, error)
- func (cli *Client) GetIscsiInitiator(initiator string) (map[string]interface{}, error)
- func (cli *Client) GetIscsiInitiatorByID(initiator string) (map[string]interface{}, error)
- func (cli *Client) GetIscsiTgtPort() ([]interface{}, error)
- func (cli *Client) GetLicenseFeature() (map[string]int, error)
- func (cli *Client) GetLunByID(id string) (map[string]interface{}, error)
- func (cli *Client) GetLunByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetLunCopyByID(lunCopyID string) (map[string]interface{}, error)
- func (cli *Client) GetLunCopyByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetLunCountOfHost(hostID string) (int64, error)
- func (cli *Client) GetLunCountOfMapping(mappingID string) (int64, error)
- func (cli *Client) GetLunGroupByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetLunSnapshotByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetMappingByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetNfsShareAccess(parentID, name string) (map[string]interface{}, error)
- func (cli *Client) GetNfsShareAccessCount(parentID string) (int64, error)
- func (cli *Client) GetNfsShareAccessRange(parentID string, startRange, endRange int64) ([]interface{}, error)
- func (cli *Client) GetNfsShareByPath(path string) (map[string]interface{}, error)
- func (cli *Client) GetPoolByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetQosByID(qosID string) (map[string]interface{}, error)
- func (cli *Client) GetQosByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetRemoteDeviceBySN(sn string) (map[string]interface{}, error)
- func (cli *Client) GetReplicationPairByID(pairID string) (map[string]interface{}, error)
- func (cli *Client) GetReplicationPairByResID(resID string, resType int) ([]map[string]interface{}, error)
- func (cli *Client) GetReplicationvStorePairByvStore(vStoreID string) (map[string]interface{}, error)
- func (cli *Client) GetReplicationvStorePairCount() (int64, error)
- func (cli *Client) GetReplicationvStorePairRange(startRange, endRange int64) ([]interface{}, error)
- func (cli *Client) GetRoCEInitiator(initiator string) (map[string]interface{}, error)
- func (cli *Client) GetRoCEInitiatorByID(initiator string) (map[string]interface{}, error)
- func (cli *Client) GetRoCEPortalByIP(tgtPortal string) (map[string]interface{}, error)
- func (cli *Client) GetSystem() (map[string]interface{}, error)
- func (cli *Client) GetvStoreByName(name string) (map[string]interface{}, error)
- func (cli *Client) GetvStoreName() string
- func (cli *Client) GetvStorePairByID(pairID string) (map[string]interface{}, error)
- func (cli *Client) Login() error
- func (cli *Client) Logout()
- func (cli *Client) QueryAssociateHostGroup(objType int, objID string) ([]interface{}, error)
- func (cli *Client) QueryAssociateLunGroup(objType int, objID string) ([]interface{}, error)
- func (cli *Client) QueryFCInitiatorByHost(hostID string) ([]interface{}, error)
- func (cli *Client) RemoveGroupFromMapping(groupType int, groupID, mappingID string) error
- func (cli *Client) RemoveHostFromGroup(hostID, hostGroupID string) error
- func (cli *Client) RemoveLunFromGroup(lunID, groupID string) error
- func (cli *Client) SplitCloneFS(fsID string, splitSpeed int, isDeleteParentSnapshot bool) error
- func (cli *Client) SplitReplicationPair(pairID string) error
- func (cli *Client) StartLunCopy(lunCopyID string) error
- func (cli *Client) StopCloneFSSplit(fsID string) error
- func (cli *Client) StopHyperMetroPair(pairID string) error
- func (cli *Client) StopLunCopy(lunCopyID string) error
- func (cli *Client) SyncClonePair(clonePairID string) error
- func (cli *Client) SyncHyperMetroPair(pairID string) error
- func (cli *Client) SyncReplicationPair(pairID string) error
- func (cli *Client) UpdateFCInitiator(wwn string, alua map[string]interface{}) error
- func (cli *Client) UpdateFileSystem(fsID string, params map[string]interface{}) error
- func (cli *Client) UpdateHost(id string, alua map[string]interface{}) error
- func (cli *Client) UpdateIscsiInitiator(initiator string, alua map[string]interface{}) error
- func (cli *Client) UpdateLun(lunID string, params map[string]interface{}) error
- func (cli *Client) UpdateQos(qosID string, params map[string]interface{}) error
- type Response
Constants ¶
View Source
const ( OBJECT_NOT_EXIST int64 = 1077948996 OBJECT_ID_NOT_UNIQUE int64 = 1077948997 LUN_ALREADY_IN_GROUP int64 = 1077936862 HOSTGROUP_NOT_IN_MAPPING int64 = 1073804552 LUNGROUP_NOT_IN_MAPPING int64 = 1073804554 HOSTGROUP_ALREADY_IN_MAPPING int64 = 1073804556 LUNGROUP_ALREADY_IN_MAPPING int64 = 1073804560 HOST_ALREADY_IN_HOSTGROUP int64 = 1077937501 HOST_NOT_IN_HOSTGROUP int64 = 1073745412 OBJECT_NAME_ALREADY_EXIST int64 = 1077948993 HOST_NOT_EXIST int64 = 1077937498 HOSTGROUP_NOT_EXIST int64 = 1077937500 LUN_NOT_EXIST int64 = 1077936859 MAPPING_NOT_EXIST int64 = 1077951819 FILESYSTEM_NOT_EXIST int64 = 1073752065 SHARE_NOT_EXIST int64 = 1077939717 SHARE_PATH_INVALID int64 = 1077939729 SHARE_ALREADY_EXIST int64 = 1077939724 SHARE_PATH_ALREADY_EXIST int64 = 1077940500 LUNCOPY_NOT_EXIST int64 = 1077950183 CLONEPAIR_NOT_EXIST int64 = 1073798147 LUN_SNAPSHOT_NOT_EXIST int64 = 1077937880 SNAPSHOT_NOT_ACTIVATED int64 = 1077937891 FS_SNAPSHOT_NOT_EXIST int64 = 1073754118 REPLICATION_NOT_EXIST int64 = 1077937923 HYPERMETRO_NOT_EXIST int64 = 1077674242 SNAPSHOT_PARENT_NOT_EXIST int64 = 1073754117 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) ActivateLunSnapshot ¶
func (*Client) ActivateQos ¶
func (*Client) AddFCInitiatorToHost ¶
func (*Client) AddGroupToMapping ¶
func (*Client) AddHostToGroup ¶
func (*Client) AddIscsiInitiator ¶
func (*Client) AddIscsiInitiatorToHost ¶
func (*Client) AddRoCEInitiator ¶
func (*Client) AddRoCEInitiatorToHost ¶
func (*Client) AllowNfsShareAccess ¶
func (*Client) CloneFileSystem ¶
func (*Client) CreateClonePair ¶
func (*Client) CreateFSSnapshot ¶
func (*Client) CreateFileSystem ¶
func (*Client) CreateHost ¶
func (*Client) CreateHostGroup ¶
func (*Client) CreateHyperMetroPair ¶
func (*Client) CreateLunCopy ¶
func (*Client) CreateLunGroup ¶
func (*Client) CreateLunSnapshot ¶
func (*Client) CreateMapping ¶
func (*Client) CreateNfsShare ¶
func (*Client) CreateReplicationPair ¶
func (*Client) DeactivateLunSnapshot ¶
func (*Client) DeactivateQos ¶
func (*Client) DeleteClonePair ¶
func (*Client) DeleteFSSnapshot ¶
func (*Client) DeleteFileSystem ¶
func (*Client) DeleteHost ¶
func (*Client) DeleteHostGroup ¶
func (*Client) DeleteHyperMetroPair ¶
func (*Client) DeleteLunCopy ¶
func (*Client) DeleteLunGroup ¶
func (*Client) DeleteLunSnapshot ¶
func (*Client) DeleteMapping ¶
func (*Client) DeleteNfsShare ¶
func (*Client) DeleteNfsShareAccess ¶
func (*Client) DeleteReplicationPair ¶
func (*Client) DuplicateClient ¶
func (*Client) ExtendFileSystem ¶
func (*Client) GetAllPools ¶
func (*Client) GetClonePairInfo ¶
func (*Client) GetFCHostLink ¶
func (*Client) GetFCInitiator ¶
func (*Client) GetFCInitiatorByID ¶
func (*Client) GetFSHyperMetroDomain ¶
func (*Client) GetFSSnapshotByName ¶
func (*Client) GetFSSnapshotCountByParentId ¶
func (*Client) GetFileSystemByID ¶
func (*Client) GetFileSystemByName ¶
func (*Client) GetHostByName ¶
func (*Client) GetHostGroupByName ¶
func (*Client) GetHyperMetroDomain ¶
func (*Client) GetHyperMetroDomainByName ¶
func (*Client) GetHyperMetroPair ¶
func (*Client) GetHyperMetroPairByLocalObjID ¶
func (*Client) GetISCSIHostLink ¶
func (*Client) GetIscsiInitiator ¶
func (*Client) GetIscsiInitiatorByID ¶
func (*Client) GetIscsiTgtPort ¶
func (*Client) GetLunByID ¶
func (*Client) GetLunByName ¶
func (*Client) GetLunCopyByID ¶
func (*Client) GetLunCopyByName ¶
func (*Client) GetLunCountOfHost ¶
func (*Client) GetLunCountOfMapping ¶
func (*Client) GetLunGroupByName ¶
func (*Client) GetLunSnapshotByName ¶
func (*Client) GetMappingByName ¶
func (*Client) GetNfsShareAccess ¶
func (*Client) GetNfsShareAccessCount ¶
func (*Client) GetNfsShareAccessRange ¶
func (*Client) GetNfsShareByPath ¶
func (*Client) GetPoolByName ¶
func (*Client) GetQosByID ¶
func (*Client) GetQosByName ¶
func (*Client) GetRemoteDeviceBySN ¶
func (*Client) GetReplicationPairByID ¶
func (*Client) GetReplicationPairByResID ¶
func (*Client) GetReplicationvStorePairByvStore ¶
func (*Client) GetReplicationvStorePairCount ¶
func (*Client) GetReplicationvStorePairRange ¶
func (*Client) GetRoCEInitiator ¶
func (*Client) GetRoCEInitiatorByID ¶
func (*Client) GetRoCEPortalByIP ¶
func (*Client) GetvStoreByName ¶
func (*Client) GetvStoreName ¶
func (*Client) GetvStorePairByID ¶
func (*Client) QueryAssociateHostGroup ¶
func (*Client) QueryAssociateLunGroup ¶
func (*Client) QueryFCInitiatorByHost ¶
func (*Client) RemoveGroupFromMapping ¶
func (*Client) RemoveHostFromGroup ¶
func (*Client) RemoveLunFromGroup ¶
func (*Client) SplitCloneFS ¶
func (*Client) SplitReplicationPair ¶
func (*Client) StartLunCopy ¶
func (*Client) StopCloneFSSplit ¶
func (*Client) StopHyperMetroPair ¶
func (*Client) StopLunCopy ¶
func (*Client) SyncClonePair ¶
func (*Client) SyncHyperMetroPair ¶
func (*Client) SyncReplicationPair ¶
func (*Client) UpdateFCInitiator ¶
func (*Client) UpdateFileSystem ¶
func (*Client) UpdateHost ¶
func (*Client) UpdateIscsiInitiator ¶
Click to show internal directories.
Click to hide internal directories.