Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tech-Byte-Tips/Reference-Guides
/ functions
Functions
236 in github.com/Tech-Byte-Tips/Reference-Guides
⨍
Functions
236
◇
Types & classes
84
↓ 86 callers
Method
Error
ISCSI errors
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/utils/error.go:39
↓ 33 callers
Method
sendRequest
(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 callers
Function
errCodeMapping
(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 callers
Method
Logout
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 callers
Function
shareErrCodeMapping
(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 callers
Function
LoginDsmForTest
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 callers
Method
ShareGet
----------------------- 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 callers
Method
GetDsm
(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 callers
Method
GetVolume
(volId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:22
↓ 6 callers
Method
Login
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 callers
Method
LunGet
(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 callers
Method
ShareSnapshotList
(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 callers
Function
iscsiadm
(cmdArgs ...string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/initiator.go:48
↓ 5 callers
Method
GetVolume
(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 callers
Function
DsmLunToK8sVolume
(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 callers
Function
DsmShareToK8sVolume
(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 callers
Function
ListDsms
(id int)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/synocli/cmd/dsm.go:93
↓ 4 callers
Method
ShareList
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/share.go:115
↓ 4 callers
Method
sendRequestWithoutConnectionCheck
(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 callers
Function
IsMultipathEnabled
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/multipath.go:32
↓ 3 callers
Method
SetShareQuota
(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 callers
Method
ShareClone
(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 callers
Method
Stop
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 callers
Method
createMappingTarget
(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 callers
Function
getSizeByCapacityRange
(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 callers
Function
getVolumeMountPath
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 callers
Function
hasSession
(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 callers
Method
listSMBSnapshotsByDsm
(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 callers
Method
Activate
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/driver.go:37
↓ 2 callers
Method
AddDsm
(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 callers
Function
DsmLunSnapshotToK8sSnapshot
(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 callers
Function
DsmShareSnapshotToK8sSnapshot
(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 callers
Method
GetDsm
(ip string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:16
↓ 2 callers
Method
GetSnapshotByUuid
(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 callers
Method
IsUC
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/utils.go:15
↓ 2 callers
Method
ListAllSnapshots
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:761
↓ 2 callers
Method
ListVolumes
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:562
↓ 2 callers
Method
NetworkInterfaceList
(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 callers
Method
RemoveAllDsms
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:57
↓ 2 callers
Method
ShareCreate
(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 callers
Method
ShareDelete
(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 callers
Method
SharePermissionList
(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 callers
Method
SharePermissionSet
----------------------- 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 callers
Method
ShareSet
(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 callers
Method
ShareSnapshotCreate
----------------------- 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 callers
Method
ShareSnapshotDelete
(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 callers
Method
SnapshotList
(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 callers
Method
TargetGet
(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 callers
Method
VolumeGet
(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 callers
Method
VolumeList
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/storage.go:22
↓ 2 callers
Function
createTargetMountPath
(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 callers
Function
getExistedVolumeMountPath
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 callers
Method
getFirstAvailableVolume
(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 callers
Method
isVolumeAccessModeSupport
(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 callers
Function
iscsiadm_session
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/initiator.go:84
↓ 2 callers
Method
listISCSISnapshotsByDsm
(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 callers
Method
listISCSIVolumes
(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 callers
Method
listSMBVolumes
(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 callers
Method
loginTarget
(volumeId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/nodeserver.go:170
↓ 2 callers
Function
waitCloneFinished
(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 callers
Function
waitForDevicePathToExist
(path string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/nodeserver.go:48
↓ 1 callers
Function
CheckIpReachable
(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 callers
Method
CreateSnapshot
(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 callers
Method
CreateVolume
(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 callers
Method
DeleteSnapshot
(snapshotUuid string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:25
↓ 1 callers
Method
DeleteVolume
(volId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:20
↓ 1 callers
Method
DsmInfoGet
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/systeminfo.go:31
↓ 1 callers
Method
DsmSystemInfoGet
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/systeminfo.go:51
↓ 1 callers
Method
ExpandVolume
(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 callers
Function
GMTToUnixSecond
(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 callers
Method
GetAnotherController
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/utils.go:24
↓ 1 callers
Method
GetDsmsCount
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/service/dsm.go:80
↓ 1 callers
Function
GetMultipathDevice
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 callers
Method
GetSnapshotByName
(snapshotName string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:29
↓ 1 callers
Method
GetVolumeByName
(volName string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:28
↓ 1 callers
Method
ListAllSnapshots
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:26
↓ 1 callers
Method
ListDsmVolumes
(ip string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:18
↓ 1 callers
Method
ListSnapshots
(volId string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:27
↓ 1 callers
Method
ListVolumes
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/interfaces/IDsmService.go:21
↓ 1 callers
Method
LunClone
(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 callers
Method
LunCreate
(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 callers
Method
LunDelete
(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 callers
Method
LunList
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/dsm/webapi/iscsi.go:136
↓ 1 callers
Method
LunMapTarget
(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 callers
Method
LunUpdate
(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 callers
Function
NewCallerHook
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/logger/logger.go:38
↓ 1 callers
Function
NewControllerServer
(d *Driver)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:44
↓ 1 callers
Function
NewControllerServiceCapability
(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 callers
Function
NewIdentityServer
(d *Driver)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:66
↓ 1 callers
Function
NewNodeServer
(d *Driver)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:51
↓ 1 callers
Function
NewNodeServiceCapability
(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 callers
Function
NewNonBlockingGRPCServer
()
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/grpc.go:44
↓ 1 callers
Function
NewVolumeCapabilityAccessMode
(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 callers
Function
ParseEndpoint
(ep string)
Synology NAS/Installing the Synology CSI Driver with the Snapshot feature in k3s/02 - synology-csi/pkg/driver/utils.go:34
↓ 1 callers
Function
RunControllerandNodePublishServer
(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 callers
Method
SnapshotClone
(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 callers
Method
SnapshotCreate
(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 callers
Method
SnapshotDelete
(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 callers
Method
SnapshotGet
(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 callers
Method
Start
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