goscaleio

package
v0.0.0-...-8caf421 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateErrorCodeToErrorMessage

func TranslateErrorCodeToErrorMessage(code string) string

TranslateErrorCodeToErrorMessage translates an error code to error message

Types

type BWC

type BWC struct {
	TotalWeightInKb int `json:"totalWeightInKb"`
	NumOccured      int `json:"numOccured"`
	NumSeconds      int `json:"numSeconds"`
}

BWC defines struct of BWC

type ChangeSdcNameParam

type ChangeSdcNameParam struct {
	SdcName string `json:"sdcName"`
}

ProtectionDomainParam defines struct for ProtectionDomainParam

type Device

type Device struct {
	ID                     string `json:"id,omitempty"`
	Name                   string `json:"name,omitempty"`
	DeviceCurrentPathname  string `json:"deviceCurrentPathname"`
	DeviceOriginalPathname string `json:"deviceOriginalPathname,omitempty"`
	DeviceState            string `json:"deviceState,omitempty"`
	ErrorState             string `json:"errorState,omitempty"`
	CapacityLimitInKb      int    `json:"capacityLimitInKb,omitempty"`
	MaxCapacityInKb        int    `json:"maxCapacityInKb,omitempty"`
	StoragePoolID          string `json:"storagePoolId"`
	SdsID                  string `json:"sdsId"`
}

Device defines struct for Device

type DeviceInfo

type DeviceInfo struct {
	DevicePath    string `json:"devicePath"`
	StoragePoolID string `json:"storagePoolId"`
	DeviceName    string `json:"deviceName,omitempty"`
}

DeviceInfo defines struct for DeviceInfo

type DeviceParam

type DeviceParam struct {
	Name                  string `json:"name,omitempty"`
	DeviceCurrentPathname string `json:"deviceCurrentPathname"`
	CapacityLimitInKb     int    `json:"capacityLimitInKb,omitempty"`
	StoragePoolID         string `json:"storagePoolId"`
	SdsID                 string `json:"sdsId"`
	TestTimeSecs          int    `json:"testTimeSecs,omitempty"`
	TestMode              string `json:"testMode,omitempty"`
}

DeviceParam defines struct for DeviceParam

type DeviceResp

type DeviceResp struct {
	ID string `json:"id"`
}

DeviceResp defines struct for DeviceParam

type EmptyPayload

type EmptyPayload struct {
}

EmptyPayload defines struct for EmptyPayload

type Error

type Error struct {
	Message        string                `json:"message"`
	HTTPStatusCode int                   `json:"httpStatusCode"`
	ErrorCode      int                   `json:"errorCode"`
	ErrorDetails   []ErrorMessageDetails `json:"details"`
}

Error struct defines the structure of an error

func (Error) Error

func (e Error) Error() string

type ErrorMessageDetails

type ErrorMessageDetails struct {
	Error        string `json:"error"`
	ReturnCode   int    `json:"rc"`
	ErrorMessage string `json:"errorMessage"`
}

ErrorMessageDetails defines contents of an error msg

type Link struct {
	Rel  string `json:"rel"`
	HREF string `json:"href"`
}

Link defines struct of Link

type MapVolumeSdcParam

type MapVolumeSdcParam struct {
	SdcID                 string `json:"sdcId,omitempty"`
	AllowMultipleMappings string `json:"allowMultipleMappings,omitempty"`
	AllSdcs               string `json:"allSdcs,omitempty"`
}

MapVolumeSdcParam defines struct for MapVolumeSdcParam

type MappedSdcInfo

type MappedSdcInfo struct {
	SdcID         string `json:"sdcId"`
	SdcIP         string `json:"sdcIp"`
	LimitIops     int    `json:"limitIops"`
	LimitBwInMbps int    `json:"limitBwInMbps"`
}

MappedSdcInfo defines struct for MappedSdcInfo

type ProtectionDomain

type ProtectionDomain struct {
	SystemID                          string  `json:"systemId"`
	RebuildNetworkThrottlingInKbps    int     `json:"rebuildNetworkThrottlingInKbps"`
	RebalanceNetworkThrottlingInKbps  int     `json:"rebalanceNetworkThrottlingInKbps"`
	OverallIoNetworkThrottlingInKbps  int     `json:"overallIoNetworkThrottlingInKbps"`
	OverallIoNetworkThrottlingEnabled bool    `json:"overallIoNetworkThrottlingEnabled"`
	RebuildNetworkThrottlingEnabled   bool    `json:"rebuildNetworkThrottlingEnabled"`
	RebalanceNetworkThrottlingEnabled bool    `json:"rebalanceNetworkThrottlingEnabled"`
	ProtectionDomainState             string  `json:"protectionDomainState"`
	Name                              string  `json:"name"`
	ID                                string  `json:"id"`
	Links                             []*Link `json:"links"`
}

ProtectionDomain defines struct for PFlex ProtectionDomain

type ProtectionDomainParam

type ProtectionDomainParam struct {
	Name string `json:"name"`
}

ProtectionDomainParam defines struct for ProtectionDomainParam

type ProtectionDomainResp

type ProtectionDomainResp struct {
	ID string `json:"id"`
}

ProtectionDomainResp defines struct for ProtectionDomainResp

type RemoveVolumeParam

type RemoveVolumeParam struct {
	RemoveMode string `json:"removeMode"`
}

RemoveVolumeParam defines struct for RemoveVolumeParam

type ScsiInitiator

type ScsiInitiator struct {
	Name     string  `json:"name"`
	IQN      string  `json:"iqn"`
	SystemID string  `json:"systemID"`
	Links    []*Link `json:"links"`
}

ScsiInitiator defines struct for ScsiInitiator

type Sdc

type Sdc struct {
	SystemID           string  `json:"systemId"`
	SdcApproved        bool    `json:"sdcApproved"`
	SdcIP              string  `json:"SdcIp"`
	OnVMWare           bool    `json:"onVmWare"`
	SdcGUID            string  `json:"sdcGuid"`
	MdmConnectionState string  `json:"mdmConnectionState"`
	Name               string  `json:"name"`
	ID                 string  `json:"id"`
	Links              []*Link `json:"links"`
}

Sdc defines struct for PFlex Sdc

type SdcStatistics

type SdcStatistics struct {
	UserDataReadBwc         BWC      `json:"userDataReadBwc"`
	UserDataWriteBwc        BWC      `json:"userDataWriteBwc"`
	UserDataTrimBwc         BWC      `json:"userDataTrimBwc"`
	UserDataSdcReadLatency  BWC      `json:"userDataSdcReadLatency"`
	UserDataSdcWriteLatency BWC      `json:"userDataSdcWriteLatency"`
	UserDataSdcTrimLatency  BWC      `json:"userDataSdcTrimLatency"`
	VolumeIds               []string `json:"volumeIds"`
	NumOfMappedVolumes      int      `json:"numOfMappedVolumes"`
}

SdcStatistics defines struct of Statistics for PFlex SDC

type Sds

type Sds struct {
	ID                           string       `json:"id"`
	Name                         string       `json:"name,omitempty"`
	ProtectionDomainID           string       `json:"protectionDomainId"`
	IPList                       []*SdsIPList `json:"ipList"`
	Port                         int          `json:"port,omitempty"`
	SdsState                     string       `json:"sdsState"`
	MembershipState              string       `json:"membershipState"`
	MdmConnectionState           string       `json:"mdmConnectionState"`
	DrlMode                      string       `json:"drlMode,omitempty"`
	RmcacheEnabled               bool         `json:"rmcacheEnabled,omitempty"`
	RmcacheSizeInKb              int          `json:"rmcacheSizeInKb,omitempty"`
	RmcacheFrozen                bool         `json:"rmcacheFrozen,omitempty"`
	IsOnVMware                   bool         `json:"isOnVmWare,omitempty"`
	FaultSetID                   string       `json:"faultSetId,omitempty"`
	NumOfIoBuffers               int          `json:"numOfIoBuffers,omitempty"`
	RmcacheMemoryAllocationState string       `json:"RmcacheMemoryAllocationState,omitempty"`
}

Sds defines struct for Sds

type SdsIP

type SdsIP struct {
	IP   string `json:"ip"`
	Role string `json:"role"`
}

SdsIP defines struct for SdsIP

type SdsIPList

type SdsIPList struct {
	SdsIP SdsIP `json:"SdsIp"`
}

SdsIPList defines struct for SdsIPList

type SdsParam

type SdsParam struct {
	Name               string        `json:"name,omitempty"`
	IPList             []*SdsIPList  `json:"sdsIpList"`
	Port               int           `json:"sdsPort,omitempty"`
	DrlMode            string        `json:"drlMode,omitempty"`
	RmcacheEnabled     bool          `json:"rmcacheEnabled,omitempty"`
	RmcacheSizeInKb    int           `json:"rmcacheSizeInKb,omitempty"`
	RmcacheFrozen      bool          `json:"rmcacheFrozen,omitempty"`
	ProtectionDomainID string        `json:"protectionDomainId"`
	FaultSetID         string        `json:"faultSetId,omitempty"`
	NumOfIoBuffers     int           `json:"numOfIoBuffers,omitempty"`
	DeviceInfoList     []*DeviceInfo `json:"deviceInfoList,omitempty"`
	ForceClean         bool          `json:"forceClean,omitempty"`
	DeviceTestTimeSecs int           `json:"deviceTestTimeSecs ,omitempty"`
	DeviceTestMode     string        `json:"deviceTestMode,omitempty"`
}

SdsParam defines struct for SdsParam

type SdsResp

type SdsResp struct {
	ID string `json:"id"`
}

SdsResp defines struct for SdsResp

type SetMappedSdcLimitsParam

type SetMappedSdcLimitsParam struct {
	SdcID                string `json:"sdcId,omitempty"`
	BandwidthLimitInKbps string `json:"bandwidthLimitInKbps,omitempty"`
	IopsLimit            string `json:"iopsLimit,omitempty"`
}

SetMappedSdcLimitsParam defines struct for SetMappedSdcLimitsParam

type SetVolumeNameParam

type SetVolumeNameParam struct {
	NewName string `json:"newName,omitempty"`
}

SetVolumeNameParam defines struct for SetVolumeNameParam

type SetVolumeSizeParam

type SetVolumeSizeParam struct {
	SizeInGB string `json:"sizeInGB,omitempty"`
}

SetVolumeSizeParam defines struct for SetVolumeSizeParam

type SnapshotDef

type SnapshotDef struct {
	VolumeID     string `json:"volumeId,omitempty"`
	SnapshotName string `json:"snapshotName,omitempty"`
}

SnapshotDef defines struct for SnapshotDef

type SnapshotVolumesParam

type SnapshotVolumesParam struct {
	SnapshotDefs []*SnapshotDef `json:"snapshotDefs"`
}

SnapshotVolumesParam defines struct for SnapshotVolumesParam

type SnapshotVolumesResp

type SnapshotVolumesResp struct {
	VolumeIDList    []string `json:"volumeIdList"`
	SnapshotGroupID string   `json:"snapshotGroupId"`
}

SnapshotVolumesResp defines struct for SnapshotVolumesResp

type Statistics

type Statistics struct {
	PrimaryReadFromDevBwc                    BWC `json:"primaryReadFromDevBwc"`
	NumOfStoragePools                        int `json:"numOfStoragePools"`
	ProtectedCapacityInKb                    int `json:"protectedCapacityInKb"`
	MovingCapacityInKb                       int `json:"movingCapacityInKb"`
	SnapCapacityInUseOccupiedInKb            int `json:"snapCapacityInUseOccupiedInKb"`
	SnapCapacityInUseInKb                    int `json:"snapCapacityInUseInKb"`
	ActiveFwdRebuildCapacityInKb             int `json:"activeFwdRebuildCapacityInKb"`
	DegradedHealthyVacInKb                   int `json:"degradedHealthyVacInKb"`
	ActiveMovingRebalanceJobs                int `json:"activeMovingRebalanceJobs"`
	TotalReadBwc                             BWC `json:"totalReadBwc"`
	MaxCapacityInKb                          int `json:"maxCapacityInKb"`
	PendingBckRebuildCapacityInKb            int `json:"pendingBckRebuildCapacityInKb"`
	ActiveMovingOutFwdRebuildJobs            int `json:"activeMovingOutFwdRebuildJobs"`
	CapacityLimitInKb                        int `json:"capacityLimitInKb"`
	SecondaryVacInKb                         int `json:"secondaryVacInKb"`
	PendingFwdRebuildCapacityInKb            int `json:"pendingFwdRebuildCapacityInKb"`
	ThinCapacityInUseInKb                    int `json:"thinCapacityInUseInKb"`
	AtRestCapacityInKb                       int `json:"atRestCapacityInKb"`
	ActiveMovingInBckRebuildJobs             int `json:"activeMovingInBckRebuildJobs"`
	DegradedHealthyCapacityInKb              int `json:"degradedHealthyCapacityInKb"`
	NumOfScsiInitiators                      int `json:"numOfScsiInitiators"`
	NumOfUnmappedVolumes                     int `json:"numOfUnmappedVolumes"`
	FailedCapacityInKb                       int `json:"failedCapacityInKb"`
	SecondaryReadFromDevBwc                  BWC `json:"secondaryReadFromDevBwc"`
	NumOfVolumes                             int `json:"numOfVolumes"`
	SecondaryWriteBwc                        BWC `json:"secondaryWriteBwc"`
	ActiveBckRebuildCapacityInKb             int `json:"activeBckRebuildCapacityInKb"`
	FailedVacInKb                            int `json:"failedVacInKb"`
	PendingMovingCapacityInKb                int `json:"pendingMovingCapacityInKb"`
	ActiveMovingInRebalanceJobs              int `json:"activeMovingInRebalanceJobs"`
	PendingMovingInRebalanceJobs             int `json:"pendingMovingInRebalanceJobs"`
	BckRebuildReadBwc                        BWC `json:"bckRebuildReadBwc"`
	DegradedFailedVacInKb                    int `json:"degradedFailedVacInKb"`
	NumOfSnapshots                           int `json:"numOfSnapshots"`
	RebalanceCapacityInKb                    int `json:"rebalanceCapacityInKb"`
	FwdRebuildReadBwc                        BWC `json:"fwdRebuildReadBwc"`
	NumOfSdc                                 int `json:"numOfSdc"`
	ActiveMovingInFwdRebuildJobs             int `json:"activeMovingInFwdRebuildJobs"`
	NumOfVtrees                              int `json:"numOfVtrees"`
	ThickCapacityInUseInKb                   int `json:"thickCapacityInUseInKb"`
	ProtectedVacInKb                         int `json:"protectedVacInKb"`
	PendingMovingInBckRebuildJobs            int `json:"pendingMovingInBckRebuildJobs"`
	CapacityAvailableForVolumeAllocationInKb int `json:"capacityAvailableForVolumeAllocationInKb"`
	PendingRebalanceCapacityInKb             int `json:"pendingRebalanceCapacityInKb"`
	PendingMovingRebalanceJobs               int `json:"pendingMovingRebalanceJobs"`
	NumOfProtectionDomains                   int `json:"numOfProtectionDomains"`
	NumOfSds                                 int `json:"numOfSds"`
	CapacityInUseInKb                        int `json:"capacityInUseInKb"`
	BckRebuildWriteBwc                       BWC `json:"bckRebuildWriteBwc"`
	DegradedFailedCapacityInKb               int `json:"degradedFailedCapacityInKb"`
	NumOfThinBaseVolumes                     int `json:"numOfThinBaseVolumes"`
	PendingMovingOutFwdRebuildJobs           int `json:"pendingMovingOutFwdRebuildJobs"`
	SecondaryReadBwc                         BWC `json:"secondaryReadBwc"`
	PendingMovingOutBckRebuildJobs           int `json:"pendingMovingOutBckRebuildJobs"`
	RebalanceWriteBwc                        BWC `json:"rebalanceWriteBwc"`
	PrimaryReadBwc                           BWC `json:"primaryReadBwc"`
	NumOfVolumesInDeletion                   int `json:"numOfVolumesInDeletion"`
	NumOfDevices                             int `json:"numOfDevices"`
	RebalanceReadBwc                         BWC `json:"rebalanceReadBwc"`
	InUseVacInKb                             int `json:"inUseVacInKb"`
	UnreachableUnusedCapacityInKb            int `json:"unreachableUnusedCapacityInKb"`
	TotalWriteBwc                            BWC `json:"totalWriteBwc"`
	SpareCapacityInKb                        int `json:"spareCapacityInKb"`
	ActiveMovingOutBckRebuildJobs            int `json:"activeMovingOutBckRebuildJobs"`
	PrimaryVacInKb                           int `json:"primaryVacInKb"`
	NumOfThickBaseVolumes                    int `json:"numOfThickBaseVolumes"`
	BckRebuildCapacityInKb                   int `json:"bckRebuildCapacityInKb"`
	NumOfMappedToAllVolumes                  int `json:"numOfMappedToAllVolumes"`
	ActiveMovingCapacityInKb                 int `json:"activeMovingCapacityInKb"`
	PendingMovingInFwdRebuildJobs            int `json:"pendingMovingInFwdRebuildJobs"`
	ActiveRebalanceCapacityInKb              int `json:"activeRebalanceCapacityInKb"`
	RmcacheSizeInKb                          int `json:"rmcacheSizeInKb"`
	FwdRebuildCapacityInKb                   int `json:"fwdRebuildCapacityInKb"`
	FwdRebuildWriteBwc                       BWC `json:"fwdRebuildWriteBwc"`
	PrimaryWriteBwc                          BWC `json:"primaryWriteBwc"`
	NetUserDataCapacityInKb                  int `json:"netUserDataCapacityInKb"`
	NetUnusedCapacityInKb                    int `json:"netUnusedCapacityInKb"`
	VolumeAddressSpaceInKb                   int `json:"volumeAddressSpaceInKb"`
}

Statistics defines struct of Statistics for Pflex Array

type StoragePool

type StoragePool struct {
	ProtectionDomainID                               string  `json:"protectionDomainId"`
	RebalanceioPriorityPolicy                        string  `json:"rebalanceIoPriorityPolicy"`
	RebuildioPriorityPolicy                          string  `json:"rebuildIoPriorityPolicy"`
	RebuildioPriorityBwLimitPerDeviceInKbps          int     `json:"rebuildIoPriorityBwLimitPerDeviceInKbps"`
	RebuildioPriorityNumOfConcurrentIosPerDevice     int     `json:"rebuildIoPriorityNumOfConcurrentIosPerDevice"`
	RebalanceioPriorityNumOfConcurrentIosPerDevice   int     `json:"rebalanceIoPriorityNumOfConcurrentIosPerDevice"`
	RebalanceioPriorityBwLimitPerDeviceInKbps        int     `json:"rebalanceIoPriorityBwLimitPerDeviceInKbps"`
	RebuildioPriorityAppIopsPerDeviceThreshold       int     `json:"rebuildIoPriorityAppIopsPerDeviceThreshold"`
	RebalanceioPriorityAppIopsPerDeviceThreshold     int     `json:"rebalanceIoPriorityAppIopsPerDeviceThreshold"`
	RebuildioPriorityAppBwPerDeviceThresholdInKbps   int     `json:"rebuildIoPriorityAppBwPerDeviceThresholdInKbps"`
	RebalanceioPriorityAppBwPerDeviceThresholdInKbps int     `json:"rebalanceIoPriorityAppBwPerDeviceThresholdInKbps"`
	RebuildioPriorityQuietPeriodInMsec               int     `json:"rebuildIoPriorityQuietPeriodInMsec"`
	RebalanceioPriorityQuietPeriodInMsec             int     `json:"rebalanceIoPriorityQuietPeriodInMsec"`
	ZeroPaddingEnabled                               bool    `json:"zeroPaddingEnabled"`
	UseRmcache                                       bool    `json:"useRmcache"`
	SparePercentage                                  int     `json:"sparePercentage"`
	RmCacheWriteHandlingMode                         string  `json:"rmcacheWriteHandlingMode"`
	RebuildEnabled                                   bool    `json:"rebuildEnabled"`
	RebalanceEnabled                                 bool    `json:"rebalanceEnabled"`
	NumofParallelRebuildRebalanceJobsPerDevice       int     `json:"numOfParallelRebuildRebalanceJobsPerDevice"`
	Name                                             string  `json:"name"`
	ID                                               string  `json:"id"`
	Links                                            []*Link `json:"links"`
}

StoragePool defines struct for PFlex StoragePool

type StoragePoolParam

type StoragePoolParam struct {
	Name                     string `json:"name"`
	SparePercentage          int    `json:"sparePercentage,omitempty"`
	RebuildEnabled           bool   `json:"rebuildEnabled,omitempty"`
	RebalanceEnabled         bool   `json:"rebalanceEnabled,omitempty"`
	ProtectionDomainID       string `json:"protectionDomainId"`
	ZeroPaddingEnabled       bool   `json:"zeroPaddingEnabled,omitempty"`
	UseRmcache               bool   `json:"useRmcache,omitempty"`
	RmcacheWriteHandlingMode string `json:"rmcacheWriteHandlingMode,omitempty"`
	MediaType                string `json:"mediaType,omitempty"`
}

StoragePoolParam defines struct for StoragePoolParam

type StoragePoolResp

type StoragePoolResp struct {
	ID string `json:"id"`
}

StoragePoolResp defines struct for StoragePoolResp

type System

type System struct {
	MdmMode                               string   `json:"mdmMode"`
	MdmClusterState                       string   `json:"mdmClusterState"`
	SecondaryMdmActorIPList               []string `json:"secondaryMdmActorIpList"`
	InstallID                             string   `json:"installId"`
	PrimaryActorIPList                    []string `json:"primaryMdmActorIpList"`
	SystemVersionName                     string   `json:"systemVersionName"`
	CapacityAlertHighThresholdPercent     int      `json:"capacityAlertHighThresholdPercent"`
	CapacityAlertCriticalThresholdPercent int      `json:"capacityAlertCriticalThresholdPercent"`
	RemoteReadOnlyLimitState              bool     `json:"remoteReadOnlyLimitState"`
	PrimaryMdmActorPort                   int      `json:"primaryMdmActorPort"`
	SecondaryMdmActorPort                 int      `json:"secondaryMdmActorPort"`
	TiebreakerMdmActorPort                int      `json:"tiebreakerMdmActorPort"`
	MdmManagementPort                     int      `json:"mdmManagementPort"`
	TiebreakerMdmIPList                   []string `json:"tiebreakerMdmIpList"`
	MdmManagementIPList                   []string `json:"mdmManagementIPList"`
	DefaultIsVolumeObfuscated             bool     `json:"defaultIsVolumeObfuscated"`
	RestrictedSdcModeEnabled              bool     `json:"restrictedSdcModeEnabled"`
	Swid                                  string   `json:"swid"`
	DaysInstalled                         int      `json:"daysInstalled"`
	MaxCapacityInGb                       string   `json:"maxCapacityInGb"`
	CapacityTimeLeftInDays                string   `json:"capacityTimeLeftInDays"`
	EnterpriseFeaturesEnabled             bool     `json:"enterpriseFeaturesEnabled"`
	IsInitialLicense                      bool     `json:"isInitialLicense"`
	Name                                  string   `json:"name"`
	ID                                    string   `json:"id"`
	Links                                 []*Link  `json:"links"`
}

System defines struct of PFlex array

type UnmapVolumeSdcParam

type UnmapVolumeSdcParam struct {
	SdcID                string `json:"sdcId,omitempty"`
	IgnoreScsiInitiators string `json:"ignoreScsiInitiators,omitempty"`
	AllSdcs              string `json:"allSdcs,omitempty"`
}

UnmapVolumeSdcParam defines struct for UnmapVolumeSdcParam

type User

type User struct {
	SystemID              string  `json:"systemId"`
	UserRole              string  `json:"userRole"`
	PasswordChangeRequire bool    `json:"passwordChangeRequired"`
	Name                  string  `json:"name"`
	ID                    string  `json:"id"`
	Links                 []*Link `json:"links"`
}

User defines struct of User for PFlex array

type VTree

type VTree struct {
	ID            string  `json:"id"`
	Name          string  `json:"name"`
	BaseVolumeID  string  `json:"baseVolumeId"`
	StoragePoolID string  `json:"storagePoolId"`
	Links         []*Link `json:"links"`
}

VTree defines struct for VTree

type Volume

type Volume struct {
	StoragePoolID           string           `json:"storagePoolId"`
	UseRmCache              bool             `json:"useRmcache"`
	MappingToAllSdcsEnabled bool             `json:"mappingToAllSdcsEnabled"`
	MappedSdcInfo           []*MappedSdcInfo `json:"mappedSdcInfo"`
	IsObfuscated            bool             `json:"isObfuscated"`
	VolumeType              string           `json:"volumeType"`
	ConsistencyGroupID      string           `json:"consistencyGroupId"`
	VTreeID                 string           `json:"vtreeId"`
	AncestorVolumeID        string           `json:"ancestorVolumeId"`
	MappedScsiInitiatorInfo string           `json:"mappedScsiInitiatorInfo"`
	SizeInKb                int              `json:"sizeInKb"`
	CreationTime            int              `json:"creationTime"`
	Name                    string           `json:"name"`
	ID                      string           `json:"id"`
	Links                   []*Link          `json:"links"`
}

Volume defines struct for Volume

type VolumeParam

type VolumeParam struct {
	ProtectionDomainID string `json:"protectionDomainId,omitempty"`
	StoragePoolID      string `json:"storagePoolId,omitempty"`
	UseRmCache         string `json:"useRmcache,omitempty"`
	VolumeType         string `json:"volumeType,omitempty"`
	VolumeSizeInKb     string `json:"volumeSizeInKb,omitempty"`
	Name               string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

VolumeParam defines struct for VolumeParam

func (*VolumeParam) MetaData

func (vp *VolumeParam) MetaData() http.Header

MetaData returns the metadata headers.

type VolumeQeryBySelectedIdsParam

type VolumeQeryBySelectedIdsParam struct {
	IDs []string `json:"ids"`
}

VolumeQeryBySelectedIdsParam defines struct for VolumeQeryBySelectedIdsParam

type VolumeQeryIDByKeyParam

type VolumeQeryIDByKeyParam struct {
	Name string `json:"name"`
}

VolumeQeryIDByKeyParam defines struct for VolumeQeryIDByKeyParam

type VolumeResp

type VolumeResp struct {
	ID string `json:"id"`
}

VolumeResp defines struct for SetVolumeNameParam

type VolumeStatistics

type VolumeStatistics struct {
	UserDataReadBwc         BWC      `json:"userDataReadBwc"`
	UserDataWriteBwc        BWC      `json:"userDataWriteBwc"`
	UserDataTrimBwc         BWC      `json:"userDataTrimBwc"`
	UserDataSdcReadLatency  BWC      `json:"userDataSdcReadLatency"`
	UserDataSdcWriteLatency BWC      `json:"userDataSdcWriteLatency"`
	UserDataSdcTrimLatency  BWC      `json:"userDataSdcTrimLatency"`
	MappedSdcIds            []string `json:"mappedSdcIds"`
	NumOfMappedSdcs         int      `json:"numOfMappedSdcs"`
}

VolumeStatistics defines struct of Statistics for PFlex volume

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL