Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SynologyOpenSource/synology-csi
/ functions
Functions
322 in github.com/SynologyOpenSource/synology-csi
⨍
Functions
322
◇
Types & classes
114
↓ 1 callers
Method
CommandContext
(ctx context.Context, cmd string, args ...string)
pkg/utils/hostexec/hostexec.go:96
↓ 1 callers
Method
CreateSnapshot
(spec *models.CreateK8sVolumeSnapshotSpec)
pkg/interfaces/IDsmService.go:24
↓ 1 callers
Method
CreateVolume
(spec *models.CreateK8sVolumeSpec)
pkg/interfaces/IDsmService.go:19
↓ 1 callers
Method
DeleteSnapshot
(snapshotUuid string)
pkg/interfaces/IDsmService.go:25
↓ 1 callers
Method
DeleteVolume
(volId string)
pkg/interfaces/IDsmService.go:20
↓ 1 callers
Function
Execute
()
synocli/cmd/root.go:31
↓ 1 callers
Method
ExpandVolume
(volId string, newSize int64)
pkg/interfaces/IDsmService.go:23
↓ 1 callers
Method
FillSystemInfo
()
pkg/dsm/webapi/systeminfo.go:31
↓ 1 callers
Function
GMTToUnixSecond
(timeStr string)
pkg/dsm/service/share_volume.go:21
↓ 1 callers
Method
GetAnotherController
()
pkg/dsm/webapi/utils.go:18
↓ 1 callers
Method
GetDsmsCount
()
pkg/dsm/service/dsm.go:84
↓ 1 callers
Function
GetMultipathDevice
returns a multipath device for the configured targets if it exists
pkg/driver/multipath.go:119
↓ 1 callers
Method
GetSnapshotByName
(snapshotName string)
pkg/interfaces/IDsmService.go:29
↓ 1 callers
Method
GetVolumeByName
(volName string)
pkg/interfaces/IDsmService.go:28
↓ 1 callers
Function
Init
(logLevel string)
pkg/logger/logger.go:88
↓ 1 callers
Method
ListAllSnapshots
()
pkg/interfaces/IDsmService.go:26
↓ 1 callers
Method
ListDsmVolumes
(ip string)
pkg/interfaces/IDsmService.go:18
↓ 1 callers
Method
ListSnapshots
(volId string)
pkg/interfaces/IDsmService.go:27
↓ 1 callers
Method
ListVolumes
()
pkg/interfaces/IDsmService.go:21
↓ 1 callers
Method
LunClone
(spec LunCloneSpec)
pkg/dsm/webapi/iscsi.go:208
↓ 1 callers
Method
LunCreate
(spec LunCreateSpec)
pkg/dsm/webapi/iscsi.go:137
↓ 1 callers
Method
LunDelete
(lunUuid string)
pkg/dsm/webapi/iscsi.go:340
↓ 1 callers
Method
LunList
()
pkg/dsm/webapi/iscsi.go:113
↓ 1 callers
Method
LunMapTarget
(targetIds []string, lunUuid string)
pkg/dsm/webapi/iscsi.go:321
↓ 1 callers
Method
LunUpdate
(spec LunUpdateSpec)
pkg/dsm/webapi/iscsi.go:171
↓ 1 callers
Method
NamespaceClone
(spec NamespaceCloneSpec)
pkg/dsm/webapi/nvmeof.go:114
↓ 1 callers
Method
NamespaceCreate
----------------------- Namespace APIs -----------------------
pkg/dsm/webapi/nvmeof.go:85
↓ 1 callers
Method
NamespaceDelete
(uuid string)
pkg/dsm/webapi/nvmeof.go:156
↓ 1 callers
Method
NamespaceList
()
pkg/dsm/webapi/nvmeof.go:192
↓ 1 callers
Method
NamespaceSet
(spec NamespaceSetSpec)
pkg/dsm/webapi/nvmeof.go:140
↓ 1 callers
Method
NamespaceSnapshotClone
(spec SnapshotCloneSpec)
pkg/dsm/webapi/nvmeof.go:288
↓ 1 callers
Method
NamespaceSnapshotCreate
(spec SnapshotCreateSpec)
pkg/dsm/webapi/nvmeof.go:259
↓ 1 callers
Method
NamespaceSnapshotDelete
(snapshotUuid string)
pkg/dsm/webapi/nvmeof.go:313
↓ 1 callers
Function
NewCallerHook
()
pkg/logger/logger.go:38
↓ 1 callers
Function
NewControllerServer
(d *Driver)
pkg/driver/utils.go:46
↓ 1 callers
Function
NewControllerServiceCapability
(cap csi.ControllerServiceCapability_RPC_Type)
pkg/driver/utils.go:94
↓ 1 callers
Function
NewIdentityServer
(d *Driver)
pkg/driver/utils.go:84
↓ 1 callers
Function
NewNodeServer
(d *Driver)
pkg/driver/utils.go:66
↓ 1 callers
Function
NewNodeServiceCapability
(cap csi.NodeServiceCapability_RPC_Type)
pkg/driver/utils.go:104
↓ 1 callers
Function
NewNonBlockingGRPCServer
()
pkg/driver/grpc.go:44
↓ 1 callers
Function
NewVolumeCapabilityAccessMode
(mode csi.VolumeCapability_AccessMode_Mode)
pkg/driver/utils.go:90
↓ 1 callers
Method
NfsGet
()
pkg/dsm/webapi/share.go:440
↓ 1 callers
Method
NfsSet
(enableV3 bool, enableV4 bool, enabledMinorVer int)
pkg/dsm/webapi/share.go:455
↓ 1 callers
Method
Output
()
pkg/utils/hostexec/hostexec_test.go:312
↓ 1 callers
Function
ParseEndpoint
(ep string)
pkg/driver/utils.go:36
↓ 1 callers
Function
RunControllerandNodePublishServer
(endpoint string, d *Driver, cs csi.ControllerServer, ns csi.NodeServer)
pkg/driver/utils.go:114
↓ 1 callers
Method
ShareNfsPrivilegeLoad
(shareName string)
pkg/dsm/webapi/share.go:424
↓ 1 callers
Method
ShareNfsPrivilegeSave
(privilege SharePrivilege)
pkg/dsm/webapi/share.go:403
↓ 1 callers
Method
SnapshotClone
(spec SnapshotCloneSpec)
pkg/dsm/webapi/iscsi.go:455
↓ 1 callers
Method
SnapshotCreate
(spec SnapshotCreateSpec)
pkg/dsm/webapi/iscsi.go:368
↓ 1 callers
Method
SnapshotDelete
(snapshotUuid string)
pkg/dsm/webapi/iscsi.go:397
↓ 1 callers
Method
SnapshotGet
(snapshotUuid string)
pkg/dsm/webapi/iscsi.go:411
↓ 1 callers
Method
Start
Start services at the endpoint
pkg/driver/grpc.go:35
↓ 1 callers
Method
SubsystemCreate
----------------------- Subsystem APIs -----------------------
pkg/dsm/webapi/nvmeof.go:326
↓ 1 callers
Method
SubsystemDelete
(uuid string)
pkg/dsm/webapi/nvmeof.go:374
↓ 1 callers
Method
SubsystemSetNamespaces
(uuid string, namespaceUuids []string)
pkg/dsm/webapi/nvmeof.go:386
↓ 1 callers
Method
TargetCreate
(spec TargetCreateSpec)
pkg/dsm/webapi/iscsi.go:295
↓ 1 callers
Method
TargetDelete
(targetId string)
pkg/dsm/webapi/iscsi.go:354
↓ 1 callers
Method
TargetList
()
pkg/dsm/webapi/iscsi.go:234
↓ 1 callers
Method
TargetSet
Enable muti session
pkg/dsm/webapi/iscsi.go:279
↓ 1 callers
Method
Wait
Waits for the service to stop
pkg/driver/grpc.go:37
↓ 1 callers
Method
addControllerServiceCapabilities
(cl []csi.ControllerServiceCapability_RPC_Type)
pkg/driver/driver.go:102
↓ 1 callers
Function
addFlags
(cmd *cobra.Command)
main.go:124
↓ 1 callers
Method
addNodeServiceCapabilities
(nsc []csi.NodeServiceCapability_RPC_Type)
pkg/driver/driver.go:126
↓ 1 callers
Method
addVolumeCapabilityAccessModes
(vc []csi.VolumeCapability_AccessMode_Mode)
pkg/driver/driver.go:114
↓ 1 callers
Function
checkGidPresentInMountFlags
(volumeMountGroup string, mountFlags []string)
pkg/driver/nodeserver.go:320
↓ 1 callers
Function
chmodIfPermissionMismatch
chmodIfPermissionMismatch only perform chmod when permission mismatches
pkg/driver/nfs_utils.go:25
↓ 1 callers
Method
createNVMeVolumeByDsm
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec)
pkg/dsm/service/namespace_volume.go:142
↓ 1 callers
Method
createNVMeVolumeBySnapshot
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, srcSnapshot *models.K8sSnapshotRespSpec)
pkg/dsm/service/namespace_volume.go:55
↓ 1 callers
Method
createNVMeVolumeByVolume
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, srcNamespaceInfo webapi.NamespaceInfo)
pkg/dsm/service/namespace_volume.go:96
↓ 1 callers
Method
createSMBorNFSVolumeBySnapshot
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, srcSnapshot *models.K8sSnapshotRespSpec)
pkg/dsm/service/share_volume.go:30
↓ 1 callers
Method
createSMBorNFSVolumeByVolume
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, srcShareInfo webapi.ShareInfo)
pkg/dsm/service/share_volume.go:83
↓ 1 callers
Function
createSharePermission
(name string, acl string)
synocli/cmd/share.go:412
↓ 1 callers
Function
createTargetMountPathNFS
(mounter mount.Interface, mountPath string, mountPermissionsUint uint64)
pkg/driver/nodeserver.go:150
↓ 1 callers
Method
createVolumeByDsm
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec)
pkg/dsm/service/dsm.go:203
↓ 1 callers
Method
createVolumeBySnapshot
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, srcSnapshot *models.K8sSnapshotRespSpec)
pkg/dsm/service/dsm.go:322
↓ 1 callers
Method
createVolumeByVolume
(dsm *webapi.DSM, spec *models.CreateK8sVolumeSpec, srcLunInfo webapi.LunInfo)
pkg/dsm/service/dsm.go:360
↓ 1 callers
Function
driverStart
()
main.go:63
↓ 1 callers
Method
execWithTimeout
execute a command with a timeout and returns an error if timeout is exceeded
pkg/driver/multipath.go:54
↓ 1 callers
Function
findCaller
(skip int)
pkg/logger/logger.go:65
↓ 1 callers
Function
getCaller
(skip int)
pkg/logger/logger.go:46
↓ 1 callers
Method
getISCSISnapshot
(snapshotUuid string)
pkg/dsm/service/dsm.go:1032
↓ 1 callers
Function
getK8sClient
()
pkg/driver/utils.go:53
↓ 1 callers
Function
getLunTypeByInputParams
(lunType string, isThin bool, locationFsType string)
pkg/dsm/service/dsm.go:137
↓ 1 callers
Function
getNodeAddress
(ctx context.Context, client clientset.Interface)
pkg/driver/nodeserver.go:362
↓ 1 callers
Method
getPortals
(dsmIp string)
pkg/driver/nodeserver.go:193
↓ 1 callers
Method
getSMBorNFSSnapshot
(snapshotUuid string)
pkg/dsm/service/share_volume.go:240
↓ 1 callers
Function
getShareLocalUserPermission
(dsm *webapi.DSM, shareName string, userName string)
synocli/cmd/share.go:430
↓ 1 callers
Method
getVolumeCapabilityAccessModes
()
pkg/driver/driver.go:138
↓ 1 callers
Function
hasNVMeSession
(ip string, port int, transport string, nqn string)
pkg/driver/nvme_connector.go:133
↓ 1 callers
Function
isNfsVersionAllowed
(ver string)
pkg/driver/driver.go:146
↓ 1 callers
Function
isNfsVersionSupport
(dsm *webapi.DSM, nfsVersion string)
pkg/dsm/service/dsm.go:452
↓ 1 callers
Function
isProtocolSupport
(protocol string)
pkg/driver/driver.go:142
↓ 1 callers
Method
iscsiadm_discovery
(portal string)
pkg/driver/initiator.go:111
↓ 1 callers
Method
iscsiadm_login
(iqn, portal string)
pkg/driver/initiator.go:125
↓ 1 callers
Method
iscsiadm_logout
(iqn string)
pkg/driver/initiator.go:153
↓ 1 callers
Method
iscsiadm_rescan
(iqn string)
pkg/driver/initiator.go:164
↓ 1 callers
Method
iscsiadm_update_node_startup
(iqn, portal string)
pkg/driver/initiator.go:138
↓ 1 callers
Method
listNVMeSnapshotsByDsm
(dsm *webapi.DSM)
pkg/dsm/service/namespace_volume.go:229
↓ 1 callers
Function
listNamespacesFromSysfs
listNamespacesFromSysfs lists all namespaces for a given subsystem NQN
pkg/driver/nvme_connector.go:87
← previous
next →
101–200 of 322, ranked by callers