MCPcopy Create free account

hub / github.com/Tech-Byte-Tips/Reference-Guides / functions

Functions236 in github.com/Tech-Byte-Tips/Reference-Guides

↓ 86 callersMethodError
ISCSI errors
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/utils/error.go:39
↓ 33 callersMethodsendRequest
(data string, apiTemplate interface{}, params url.Values, cgiPath string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/dsmwebapi.go:46
↓ 17 callersFunctionerrCodeMapping
(errCode int, oriErr error)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:108
↓ 13 callersMethodLogout
Logout on current IP and reset the synoToken
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/dsmwebapi.go:197
↓ 11 callersFunctionshareErrCodeMapping
(errCode int, oriErr error)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:79
↓ 10 callersFunctionLoginDsmForTest
Always get the first client from ClientInfo for synocli testing
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/synocli/cmd/dsm.go:79
↓ 10 callersMethodShareGet
----------------------- Share APIs -----------------------
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:100
↓ 7 callersMethodGetDsm
(ip string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:72
↓ 6 callersMethodGetVolume
(volId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:22
↓ 6 callersMethodLogin
Login by given user name and password
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/dsmwebapi.go:166
↓ 6 callersMethodLunGet
(uuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:210
↓ 6 callersMethodShareSnapshotList
(name string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:272
↓ 6 callersFunctioniscsiadm
(cmdArgs ...string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/initiator.go:48
↓ 5 callersMethodGetVolume
(volId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:569
↓ 4 callersFunctionDsmLunToK8sVolume
(dsmIp string, info webapi.LunInfo, targetInfo webapi.TargetInfo)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:388
↓ 4 callersFunctionDsmShareToK8sVolume
(dsmIp string, info webapi.ShareInfo)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:375
↓ 4 callersFunctionListDsms
(id int)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/synocli/cmd/dsm.go:93
↓ 4 callersMethodShareList
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:115
↓ 4 callersMethodsendRequestWithoutConnectionCheck
(data string, apiTemplate interface{}, params url.Values, cgiPath string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/dsmwebapi.go:60
↓ 3 callersFunctionIsMultipathEnabled
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/multipath.go:32
↓ 3 callersMethodSetShareQuota
(shareInfo ShareInfo, newSizeInMB int64)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:231
↓ 3 callersMethodShareClone
(spec ShareCloneSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:157
↓ 3 callersMethodStop
Stops the service gracefully
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/grpc.go:39
↓ 3 callersMethodcreateMappingTarget
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, lunUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:152
↓ 3 callersFunctiongetSizeByCapacityRange
(capRange *csi.CapacityRange)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/controllerserver.go:45
↓ 3 callersFunctiongetVolumeMountPath
for publish, stage volume
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/nodeserver.go:84
↓ 3 callersFunctionhasSession
(targetIqn string, portal string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/initiator.go:163
↓ 3 callersMethodlistSMBSnapshotsByDsm
(dsm *webapi.DSM)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/share_volume.go:208
↓ 2 callersMethodActivate
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/driver.go:37
↓ 2 callersMethodAddDsm
(client common.ClientInfo)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:34
↓ 2 callersFunctionDsmLunSnapshotToK8sSnapshot
(dsmIp string, info webapi.SnapshotInfo, lunInfo webapi.LunInfo)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:825
↓ 2 callersFunctionDsmShareSnapshotToK8sSnapshot
(dsmIp string, info webapi.ShareSnapshotInfo, shareInfo webapi.ShareInfo)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:809
↓ 2 callersMethodGetDsm
(ip string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:16
↓ 2 callersMethodGetSnapshotByUuid
(snapshotUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:701
↓ 2 callersMethodIsUC
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/utils.go:15
↓ 2 callersMethodListAllSnapshots
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:761
↓ 2 callersMethodListVolumes
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:562
↓ 2 callersMethodNetworkInterfaceList
(relayNode string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/systeminfo.go:71
↓ 2 callersMethodRemoveAllDsms
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:57
↓ 2 callersMethodShareCreate
(spec ShareCreateSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:139
↓ 2 callersMethodShareDelete
(shareName string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:197
↓ 2 callersMethodSharePermissionList
(shareName string, userGroupType string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:339
↓ 2 callersMethodSharePermissionSet
----------------------- Share Permission APIs -----------------------
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:320
↓ 2 callersMethodShareSet
(shareName string, updateInfo ShareUpdateInfo)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:209
↓ 2 callersMethodShareSnapshotCreate
----------------------- Share Snapshot APIs -----------------------
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:241
↓ 2 callersMethodShareSnapshotDelete
(snapTime string, shareName string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:298
↓ 2 callersMethodSnapshotList
(lunUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:454
↓ 2 callersMethodTargetGet
(targetId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:280
↓ 2 callersMethodVolumeGet
(name string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/storage.go:48
↓ 2 callersMethodVolumeList
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/storage.go:22
↓ 2 callersFunctioncreateTargetMountPath
(mounter mount.Interface, mountPath string, isBlock bool)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/nodeserver.go:114
↓ 2 callersFunctiongetExistedVolumeMountPath
for unstage, resize volume
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/nodeserver.go:72
↓ 2 callersMethodgetFirstAvailableVolume
(dsm *webapi.DSM, sizeInBytes int64)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:103
↓ 2 callersMethodisVolumeAccessModeSupport
(mode csi.VolumeCapability_AccessMode_Mode)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/controllerserver.go:62
↓ 2 callersFunctioniscsiadm_session
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/initiator.go:84
↓ 2 callersMethodlistISCSISnapshotsByDsm
(dsm *webapi.DSM)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:744
↓ 2 callersMethodlistISCSIVolumes
(dsmIp string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:530
↓ 2 callersMethodlistSMBVolumes
(dsmIp string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/share_volume.go:181
↓ 2 callersMethodloginTarget
(volumeId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/nodeserver.go:170
↓ 2 callersFunctionwaitCloneFinished
(dsm *webapi.DSM, lunName string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:263
↓ 2 callersFunctionwaitForDevicePathToExist
(path string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/nodeserver.go:48
↓ 1 callersFunctionCheckIpReachable
(ip string, port int)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/utils.go:84
↓ 1 callersMethodCreateSnapshot
(spec *models.CreateK8sVolumeSnapshotSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:24
↓ 1 callersMethodCreateVolume
(spec *models.CreateK8sVolumeSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:19
↓ 1 callersMethodDeleteSnapshot
(snapshotUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:25
↓ 1 callersMethodDeleteVolume
(volId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:20
↓ 1 callersMethodDsmInfoGet
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/systeminfo.go:31
↓ 1 callersMethodDsmSystemInfoGet
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/systeminfo.go:51
↓ 1 callersMethodExpandVolume
(volId string, newSize int64)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:23
↓ 1 callersFunctionGMTToUnixSecond
(timeStr string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/share_volume.go:21
↓ 1 callersMethodGetAnotherController
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/utils.go:24
↓ 1 callersMethodGetDsmsCount
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:80
↓ 1 callersFunctionGetMultipathDevice
returns a multipath device for the configured targets if it exists
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/multipath.go:119
↓ 1 callersMethodGetSnapshotByName
(snapshotName string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:29
↓ 1 callersMethodGetVolumeByName
(volName string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:28
↓ 1 callersMethodListAllSnapshots
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:26
↓ 1 callersMethodListDsmVolumes
(ip string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:18
↓ 1 callersMethodListSnapshots
(volId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:27
↓ 1 callersMethodListVolumes
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:21
↓ 1 callersMethodLunClone
(spec LunCloneSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:231
↓ 1 callersMethodLunCreate
(spec LunCreateSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:160
↓ 1 callersMethodLunDelete
(lunUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:363
↓ 1 callersMethodLunList
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:136
↓ 1 callersMethodLunMapTarget
(targetIds []string, lunUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:344
↓ 1 callersMethodLunUpdate
(spec LunUpdateSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:194
↓ 1 callersFunctionNewCallerHook
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/logger/logger.go:38
↓ 1 callersFunctionNewControllerServer
(d *Driver)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:44
↓ 1 callersFunctionNewControllerServiceCapability
(cap csi.ControllerServiceCapability_RPC_Type)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:76
↓ 1 callersFunctionNewIdentityServer
(d *Driver)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:66
↓ 1 callersFunctionNewNodeServer
(d *Driver)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:51
↓ 1 callersFunctionNewNodeServiceCapability
(cap csi.NodeServiceCapability_RPC_Type)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:86
↓ 1 callersFunctionNewNonBlockingGRPCServer
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/grpc.go:44
↓ 1 callersFunctionNewVolumeCapabilityAccessMode
(mode csi.VolumeCapability_AccessMode_Mode)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:72
↓ 1 callersFunctionParseEndpoint
(ep string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:34
↓ 1 callersFunctionRunControllerandNodePublishServer
(endpoint string, d *Driver, cs csi.ControllerServer, ns csi.NodeServer)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:96
↓ 1 callersMethodSnapshotClone
(spec SnapshotCloneSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:478
↓ 1 callersMethodSnapshotCreate
(spec SnapshotCreateSpec)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:391
↓ 1 callersMethodSnapshotDelete
(snapshotUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:420
↓ 1 callersMethodSnapshotGet
(snapshotUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:434
↓ 1 callersMethodStart
Start services at the endpoint
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/grpc.go:35
next →1–100 of 236, ranked by callers