MCPcopy Create free account

hub / github.com/OpenSN-Library/OpenSN-Library / functions

Functions499 in github.com/OpenSN-Library/OpenSN-Library

FunctionGetPeriodAllInstanceResourceDatas
(periodExpr string)
daemon/pkg/synchronizer/metrics.go:219
FunctionGetPeriodAllLinkResourceDatas
(periodStr string)
daemon/pkg/synchronizer/metrics.go:417
FunctionGetPeriodInstanceResourceDataHandler
(ctx *gin.Context)
daemon/pkg/handler/monitor_handler.go:185
FunctionGetPeriodInstanceResourceDatas
(periodExpr string, instanceID string)
daemon/pkg/synchronizer/metrics.go:176
FunctionGetPeriodLinkResourceDataHander
(ctx *gin.Context)
daemon/pkg/handler/monitor_handler.go:219
FunctionGetPeriodLinkResourceDatas
(periodExpr string, linkID string)
daemon/pkg/synchronizer/metrics.go:364
FunctionGetPeriodNodeResource
(node_id,period,callback)
ui/src/Request/metrics.js:28
FunctionGetPeriodNodeResourceDataHandler
(ctx *gin.Context)
daemon/pkg/handler/monitor_handler.go:125
FunctionGetPeriodNodeResourceDatas
(periodExpr string, nodeIndexes []int)
daemon/pkg/synchronizer/metrics.go:51
FunctionGetPlatformStatus
(ctx *gin.Context)
daemon/pkg/handler/platform_handler.go:40
FunctionGetUnixTimestampMillis
GetUnixTimestampMillis is a handler function that returns the current Unix timestamp in milliseconds. For synchronous calls, the function returns the
daemon/pkg/handler/platform_handler.go:78
FunctionGetWebshellInfo
(nodeIndex int, webShellID string)
daemon/pkg/synchronizer/webshell.go:92
FunctionHelpPage
()
ui/src/Page/HelpPage.js:3
FunctionInitConfig
(jsonPath string)
daemon/config/config.go:83
FunctionInitConfigBatch
(links []*model.LinkInfo)
container-base/ground-station/daemon/pkg/frr/operation_wrap.go:17
FunctionInitConfigBatch
(links []*model.LinkInfo)
container-base/satellite-router/daemon/pkg/frr/operation_wrap.go:17
FunctionInitConfigMasterMode
()
daemon/config/config.go:140
FunctionInitConfigServantMode
(masterAddr string)
daemon/config/config.go:153
FunctionInitConfigurationWatcher
(watchPath string)
container-base/ground-station/daemon/pkg/configure/configure_watcher.go:34
FunctionInitConfigurationWatcher
(watchPath string)
container-base/satellite-router/daemon/pkg/configure/configure_watcher.go:34
FunctionInitDockerClient
(sockPath string)
daemon/utils/docker.go:12
FunctionInitEtcdClient
(addr string, port int)
daemon/utils/etcd.go:14
FunctionInitInfluxDB
(addr, token, org, bucket string, port int)
daemon/utils/influxdb.go:14
FunctionInitInterfaceWatcher
()
container-base/ground-station/daemon/pkg/ifconfig/interface_watcher.go:15
FunctionInitInterfaceWatcher
()
container-base/satellite-router/daemon/pkg/ifconfig/interface_watcher.go:17
FunctionInitKeys
()
daemon/share/key/data_keys.go:51
FunctionInitTopoInfoData
()
container-base/ground-station/daemon/data/topo_info_data.go:15
FunctionInitTopoInfoData
()
container-base/satellite-router/daemon/data/topo_info_data.go:15
FunctionInstanceListPage
()
ui/src/Page/InstancePage.js:6
MethodIsConnected
()
daemon/model/link.go:34
MethodIsConnected
()
daemon/model/link.go:71
MethodIsCreated
()
daemon/model/instance.go:37
MethodIsCreated
()
daemon/pkg/link/fix_physical_link.go:57
MethodIsCreated
()
daemon/pkg/link/virtual_link.go:70
MethodIsCrossMachine
()
daemon/model/link.go:29
MethodIsCrossMachine
()
daemon/model/link.go:75
MethodIsRunning
()
daemon/model/instance.go:47
FunctionKillWebShell
(pid int)
daemon/utils/webshell.go:59
FunctionLinkListPage
()
ui/src/Page/LinkPage.js:5
FunctionMapKeys
(rawMap map[K]V)
daemon/utils/decorator.go:42
FunctionMax
(a, b int)
daemon/utils/compare.go:3
FunctionMin
(a, b int)
daemon/utils/compare.go:10
FunctionNamespaceList
()
ui/src/Component/GetNamespaceList.js:3
FunctionNodeInit
()
daemon/pkg/initializer/node_init.go:86
FunctionNodeList
()
ui/src/Page/NodePage.js:4
FunctionParseBinNumber
(s string)
daemon/utils/covertor.go:73
FunctionParseDecNumber
(s string)
daemon/utils/covertor.go:97
FunctionParseLinkFromBytes
(seq []byte)
daemon/pkg/link/link_parser.go:117
FunctionPreviewFileHandler
(ctx *gin.Context)
daemon/pkg/handler/file_handler.go:17
FunctionRemoveInstance
(nodeIndex int, instanceID string)
daemon/pkg/synchronizer/instance.go:113
FunctionRemoveLink
(nodeIndex int, linkID string)
daemon/pkg/synchronizer/link.go:138
FunctionReplaceDefaultRoute
(v4Addr string)
container-base/satellite-router/daemon/pkg/ifconfig/interface_config.go:15
FunctionResetStatusHandler
(ctx *gin.Context)
daemon/pkg/handler/emulate_handler.go:465
MethodRun
()
daemon/pkg/module/module_manager.go:26
FunctionSetInstancePid
(instanceID string, pid int)
daemon/data/instance_pid.go:43
MethodSetState
(newState bool)
daemon/model/link.go:33
MethodSetState
(newState bool)
daemon/model/link.go:59
FunctionSetSystemTime
(seconds int64, nanoseconds int64)
daemon/utils/sys.go:13
FunctionSliceMap
(call func(i I) O, slice []I)
daemon/utils/decorator.go:34
FunctionSpin
(check func() bool, gap time.Duration)
daemon/utils/decorator.go:52
FunctionStartAsyncCaptureInterfaceWithFilter
(ifName string, filter func(gopacket.Packet) bool, channel chan PacketWithInterface, endChan chan int)
tools/PacketCapture/utils/capture.go:17
FunctionStartEmulationHandler
(ctx *gin.Context)
daemon/pkg/handler/emulate_handler.go:96
FunctionStartFrr
()
container-base/ground-station/daemon/pkg/frr/start_frr.go:9
FunctionStartFrr
()
container-base/satellite-router/daemon/pkg/frr/start_frr.go:9
FunctionStartInstanceHander
(ctx *gin.Context)
daemon/pkg/handler/instance_handler.go:212
FunctionStartInstanceWebshell
(nodeIndex,instanceID,callback)
ui/src/Request/webshell.js:4
FunctionStartInstanceWebshellHandler
(ctx *gin.Context)
daemon/pkg/handler/webshell_handler.go:15
FunctionStartLinkWebshellHandler
(ctx *gin.Context)
daemon/pkg/handler/webshell_handler.go:87
FunctionStartOspfd
()
container-base/ground-station/daemon/pkg/frr/start_frr.go:40
FunctionStartOspfd
()
container-base/satellite-router/daemon/pkg/frr/start_frr.go:40
FunctionStartWebShell
(addr string, port int, writeable bool, cmd string, args []string, timeoutMin int, callback func())
daemon/utils/webshell.go:27
FunctionStartZebra
()
container-base/ground-station/daemon/pkg/frr/start_frr.go:24
FunctionStartZebra
()
container-base/satellite-router/daemon/pkg/frr/start_frr.go:24
MethodStop
()
daemon/pkg/module/module_manager.go:41
FunctionStopEmulationHandler
(ctx *gin.Context)
daemon/pkg/handler/emulate_handler.go:201
FunctionStopInstanceHandler
(ctx *gin.Context)
daemon/pkg/handler/instance_handler.go:242
FunctionTryGetInstancePid
(instanceID string)
daemon/data/instance_pid.go:30
FunctionUpdateDatabaseItem
(data,callback)
ui/src/Request/databse.js:10
FunctionUpdateDatabaseItemHandler
(ctx *gin.Context)
daemon/pkg/handler/database_handler.go:46
FunctionUpdateEmulationInfo
(update func(*model.EmulationInfo) error)
daemon/pkg/synchronizer/emulation_config.go:50
FunctionUpdateGetWebshellInfo
(nodeIndex int, webShellID string, info *model.WebShellAllocInfo)
daemon/pkg/synchronizer/webshell.go:31
FunctionUpdateInstanceInfo
(nodeIndex int, instanceID string, update func(*model.Instance) error)
daemon/pkg/synchronizer/instance.go:92
FunctionUpdateLinkInfo
(nodeIndex int, linkID string, update func(*model.LinkBase) error)
daemon/pkg/synchronizer/link.go:92
FunctionUpdateLinkInfoIfExist
(nodeIndex int, linkID string, update func(*model.LinkBase) error)
daemon/pkg/synchronizer/link.go:113
FunctionUpdateLinkParameter
(nodeIndex int, linkID string, parameter map[string]int64)
daemon/pkg/synchronizer/link.go:200
FunctionUpdateLinkParameterHandler
(ctx *gin.Context)
daemon/pkg/handler/link_handler.go:265
FunctionUpdateNode
(nodeIndex int, update func(*model.Node) error)
daemon/pkg/synchronizer/node.go:107
FunctionUpdateWebShellRequest
(nodeIndex int, webShellRequest *model.WebShellAllocRequest)
daemon/pkg/synchronizer/webshell.go:13
FunctionUploadFileHandler
(ctx *gin.Context)
daemon/pkg/handler/file_handler.go:113
MethodWait
()
daemon/pkg/module/module_manager.go:59
FunctionWaitSuccess
(call func() bool, timeout time.Duration, checkGap time.Duration)
daemon/utils/decorator.go:20
FunctionWaitWebshellInfo
(nodeIndex int, webShellID string, timeout time.Duration)
daemon/pkg/synchronizer/webshell.go:60
FunctionWatchInstancePid
(instanceID string)
daemon/data/instance_pid.go:18
FunctionWriteToFile
(path string, data []byte)
daemon/utils/file_operator.go:50
Method__init__
(self,image:str,envs:dict[str,str],nano_cpu:str,mem_byte:str)
tools/namespace-generator/type_model_def.py:13
Method__init__
(self,type: str,end_indexes: list[int],init_parameter: dict[str,int],address_info: list[dict[str,str]],extra:
tools/namespace-generator/type_model_def.py:23
Method__init__
(self,type: str,extra: dict[str,str])
tools/namespace-generator/type_model_def.py:32
Method__init__
(self)
tools/namespace-generator/type_model_def.py:39
Method__init__
(self)
TopoConfigurators/Standard/opensn/model/node.py:4
Method__init__
(self)
TopoConfigurators/Standard/opensn/model/link.py:6
← previousnext →301–400 of 499, ranked by callers