MCPcopy Index your code

hub / github.com/SynologyOpenSource/synology-csi / functions

Functions322 in github.com/SynologyOpenSource/synology-csi

↓ 117 callersMethodError
ISCSI errors
pkg/utils/error.go:46
↓ 51 callersMethodsendRequest
(data string, apiTemplate interface{}, params url.Values, cgiPath string)
pkg/dsm/webapi/dsmwebapi.go:53
↓ 17 callersFunctionerrCodeMapping
(errCode int, oriErr error)
pkg/dsm/webapi/iscsi.go:85
↓ 15 callersFunctionsanErrCodeMapping
(errCode int, oriErr error)
pkg/dsm/webapi/nvmeof.go:60
↓ 13 callersMethodLogout
Logout on current IP and reset the synoToken
pkg/dsm/webapi/dsmwebapi.go:204
↓ 12 callersMethodCombinedOutput
()
pkg/utils/hostexec/hostexec_test.go:311
↓ 11 callersFunctionshareErrCodeMapping
(errCode int, oriErr error)
pkg/dsm/webapi/share.go:91
↓ 10 callersFunctionLoginDsmForTest
Always get the first client from ClientInfo for synocli testing
synocli/cmd/dsm.go:79
↓ 10 callersMethodShareGet
----------------------- Share APIs -----------------------
pkg/dsm/webapi/share.go:112
↓ 8 callersFunctionBytesToMBCeil
Ceiling
pkg/utils/utils.go:46
↓ 7 callersMethodGetDsm
(ip string)
pkg/dsm/service/dsm.go:76
↓ 7 callersMethodGetVolume
(volId string)
pkg/interfaces/IDsmService.go:22
↓ 6 callersMethodCommand
(string, ...string)
pkg/utils/hostexec/hostexec.go:28
↓ 6 callersMethodLogin
Login by given user name and password
pkg/dsm/webapi/dsmwebapi.go:173
↓ 6 callersMethodLunGet
(uuid string)
pkg/dsm/webapi/iscsi.go:187
↓ 6 callersMethodShareSnapshotList
(name string)
pkg/dsm/webapi/share.go:284
↓ 6 callersFunctionStringToBoolean
(value string)
pkg/utils/utils.go:50
↓ 6 callersMethodiscsiadm
(cmdArgs ...string)
pkg/driver/initiator.go:61
↓ 5 callersFunctionDsmSanSnapshotToK8sSnapshot
(dsmIp string, info webapi.SnapshotInfo, protocol string)
pkg/dsm/service/dsm.go:1016
↓ 5 callersFunctionDsmShareToK8sVolume
(dsmIp string, info webapi.ShareInfo, protocol string)
pkg/dsm/service/dsm.go:402
↓ 5 callersMethodGetVolume
(volId string)
pkg/dsm/service/dsm.go:697
↓ 5 callersMethodNamespaceGet
(uuidOrName string)
pkg/dsm/webapi/nvmeof.go:169
↓ 5 callersMethodRun
()
pkg/utils/hostexec/hostexec_test.go:310
↓ 5 callersFunctionreadTrimFile
(path string)
pkg/driver/nvme_connector.go:77
↓ 4 callersFunctionDsmLunToK8sVolume
(dsmIp string, info webapi.LunInfo, targetInfo webapi.TargetInfo)
pkg/dsm/service/dsm.go:424
↓ 4 callersFunctionDsmNamespaceToK8sVolume
(dsmIp string, info webapi.NamespaceInfo, subsystemInfo webapi.SubsystemInfo)
pkg/dsm/service/dsm.go:438
↓ 4 callersFunctionListDsms
(id int)
synocli/cmd/dsm.go:93
↓ 4 callersMethodShareList
()
pkg/dsm/webapi/share.go:127
↓ 4 callersMethodsendRequestWithoutConnectionCheck
(data string, apiTemplate interface{}, params url.Values, cgiPath string)
pkg/dsm/webapi/dsmwebapi.go:67
↓ 4 callersFunctionwaitCloneFinished
(dsm *webapi.DSM, name string, protocol string)
pkg/dsm/service/dsm.go:274
↓ 3 callersMethodDsmSystemInfoGet
(infoType string)
pkg/dsm/webapi/systeminfo.go:53
↓ 3 callersMethodGetDsm
(ip string)
pkg/interfaces/IDsmService.go:16
↓ 3 callersMethodIsMultipathEnabled
IsMultipathEnabled returns true if multipath is enabled
pkg/driver/multipath.go:35
↓ 3 callersFunctionLoadConfig
(configPath string)
pkg/dsm/common/config.go:25
↓ 3 callersFunctionLookupIPv4
Haven't supported IPv6 yet.
pkg/utils/utils.go:67
↓ 3 callersFunctionMBToBytes
(size int64)
pkg/utils/utils.go:37
↓ 3 callersFunctionNew
New creates an instance of hostexec to execute commands in the given environment
pkg/utils/hostexec/hostexec.go:39
↓ 3 callersMethodSetShareQuota
(shareInfo ShareInfo, newSizeInMB int64)
pkg/dsm/webapi/share.go:243
↓ 3 callersMethodShareClone
(spec ShareCloneSpec)
pkg/dsm/webapi/share.go:169
↓ 3 callersMethodStop
Stops the service gracefully
pkg/driver/grpc.go:39
↓ 3 callersMethodSubsystemGet
(uuid string)
pkg/dsm/webapi/nvmeof.go:351
↓ 3 callersMethodVolumeGet
(name string)
pkg/dsm/webapi/storage.go:48
↓ 3 callersMethodcreateMappingSubsystem
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, namespaceUuid string)
pkg/dsm/service/namespace_volume.go:20
↓ 3 callersMethodcreateMappingTarget
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, lunUuid string)
pkg/dsm/service/dsm.go:160
↓ 3 callersMethodgetFirstAvailableVolume
(dsm *webapi.DSM, sizeInBytes int64, protocol string)
pkg/dsm/service/dsm.go:107
↓ 3 callersFunctiongetSizeByCapacityRange
(capRange *csi.CapacityRange)
pkg/driver/controllerserver.go:45
↓ 3 callersFunctiongetVolumeMountPath
for publish, stage volume
pkg/driver/nodeserver.go:120
↓ 3 callersMethodhasSession
(targetIqn string, portal string)
pkg/driver/initiator.go:175
↓ 3 callersMethodlistSMBorNFSSnapshotsByDsm
(dsm *webapi.DSM)
pkg/dsm/service/share_volume.go:224
↓ 3 callersMethodnvme
(cmdArgs ...string)
pkg/driver/nvme_connector.go:36
↓ 3 callersFunctionwaitForDevicePathToExist
(path string)
pkg/driver/nodeserver.go:53
↓ 3 callersMethodwrap
(cmd string, args ...string)
pkg/utils/hostexec/hostexec.go:83
↓ 2 callersMethodActivate
()
pkg/driver/driver.go:38
↓ 2 callersMethodAddDsm
(client common.ClientInfo)
pkg/dsm/service/dsm.go:34
↓ 2 callersFunctionBytesToMB
(size int64)
pkg/utils/utils.go:41
↓ 2 callersMethodCommandContext
(context.Context, string, ...string)
pkg/utils/hostexec/hostexec.go:29
↓ 2 callersFunctionDsmShareSnapshotToK8sSnapshot
(dsmIp string, info webapi.ShareSnapshotInfo, shareInfo webapi.ShareInfo, protocol string)
pkg/dsm/service/dsm.go:1000
↓ 2 callersFunctionGenBackendName
(volName string)
pkg/models/dsm.go:42
↓ 2 callersFunctionGenShareName
(volName string)
pkg/models/dsm.go:46
↓ 2 callersMethodGetSnapshotByUuid
(snapshotUuid string)
pkg/dsm/service/dsm.go:869
↓ 2 callersMethodIsUC
()
pkg/dsm/webapi/utils.go:14
↓ 2 callersMethodListAllSnapshots
()
pkg/dsm/service/dsm.go:942
↓ 2 callersMethodListVolumes
()
pkg/dsm/service/dsm.go:689
↓ 2 callersMethodNamespaceSnapshotGet
(snapshotUuid string)
pkg/dsm/webapi/nvmeof.go:239
↓ 2 callersMethodNamespaceSnapshotList
(srcUuid string)
pkg/dsm/webapi/nvmeof.go:215
↓ 2 callersMethodNetworkInterfaceList
(relayNode string)
pkg/dsm/webapi/systeminfo.go:76
↓ 2 callersFunctionNewControllerAndNodeDriver
(nodeID string, endpoint string, dsmService interfaces.IDsmService, tools tools)
pkg/driver/driver.go:54
↓ 2 callersFunctionNewDsmService
()
pkg/dsm/service/dsm.go:28
↓ 2 callersFunctionNewTools
NewTools creates a new tools wrapper for calling utilities with given executor
pkg/driver/initiator.go:55
↓ 2 callersMethodRemoveAllDsms
()
pkg/dsm/service/dsm.go:61
↓ 2 callersMethodShareCreate
(spec ShareCreateSpec)
pkg/dsm/webapi/share.go:151
↓ 2 callersMethodShareDelete
(shareName string)
pkg/dsm/webapi/share.go:209
↓ 2 callersMethodSharePermissionList
(shareName string, userGroupType string)
pkg/dsm/webapi/share.go:355
↓ 2 callersMethodSharePermissionSet
----------------------- Share Permission APIs -----------------------
pkg/dsm/webapi/share.go:332
↓ 2 callersMethodShareSet
(shareName string, updateInfo ShareUpdateInfo)
pkg/dsm/webapi/share.go:221
↓ 2 callersMethodShareSnapshotCreate
----------------------- Share Snapshot APIs -----------------------
pkg/dsm/webapi/share.go:253
↓ 2 callersMethodShareSnapshotDelete
(snapTime string, shareName string)
pkg/dsm/webapi/share.go:310
↓ 2 callersFunctionSliceContains
(items []string, s string)
pkg/utils/utils.go:28
↓ 2 callersMethodSnapshotList
(lunUuid string)
pkg/dsm/webapi/iscsi.go:431
↓ 2 callersFunctionStringToSlice
(value string)
pkg/utils/utils.go:55
↓ 2 callersMethodTargetGet
(targetId string)
pkg/dsm/webapi/iscsi.go:257
↓ 2 callersMethodVolumeList
()
pkg/dsm/webapi/storage.go:22
↓ 2 callersMethodcreateSMBorNFSVolumeByDsm
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec)
pkg/dsm/service/share_volume.go:130
↓ 2 callersFunctioncreateTargetMountPath
(mounter mount.Interface, mountPath string, isBlock bool)
pkg/driver/nodeserver.go:165
↓ 2 callersFunctiongetExistedNvmeDevPath
(subsysNqn string, uuid string)
pkg/driver/nodeserver.go:88
↓ 2 callersMethodgetExistedVolumeMountPath
for unstage, resize volume
pkg/driver/nodeserver.go:77
↓ 2 callersMethodisVolumeAccessModeSupport
(mode csi.VolumeCapability_AccessMode_Mode)
pkg/driver/controllerserver.go:62
↓ 2 callersMethodiscsiadm_session
()
pkg/driver/initiator.go:95
↓ 2 callersMethodlistISCSISnapshotsByDsm
(dsm *webapi.DSM)
pkg/dsm/service/dsm.go:925
↓ 2 callersMethodlistISCSIVolumes
(dsmIp string)
pkg/dsm/service/dsm.go:657
↓ 2 callersMethodlistNVMeVolumes
(dsmIp string)
pkg/dsm/service/namespace_volume.go:195
↓ 2 callersMethodlistSMBorNFSVolumes
(dsmIp string)
pkg/dsm/service/share_volume.go:187
↓ 2 callersMethodloginNVMeSubsystem
(volumeId string)
pkg/driver/nodeserver.go:221
↓ 2 callersMethodloginTarget
(volumeId string)
pkg/driver/nodeserver.go:269
↓ 2 callersMethodresolveCmd
(cmd string, args ...string)
pkg/utils/hostexec/hostexec.go:51
↓ 2 callersMethodwrapChroot
(cmd string, args ...string)
pkg/utils/hostexec/hostexec.go:72
↓ 2 callersMethodwrapEnv
(cmd string, args ...string)
pkg/utils/hostexec/hostexec.go:60
↓ 1 callersFunctionBoolToInt
(value bool)
pkg/utils/utils.go:59
↓ 1 callersFunctionCheckIpReachable
(ip string, port int)
pkg/dsm/webapi/utils.go:78
↓ 1 callersMethodCommand
(cmd string, args ...string)
pkg/utils/hostexec/hostexec.go:91
next →1–100 of 322, ranked by callers