MCPcopy Create free account

hub / github.com/Musicminion/minik8s / functions

Functions814 in github.com/Musicminion/minik8s

MethodRun
Run 运行plegManager
pkg/kubelet/pleg/plegManager.go:13
MethodRun
************************************************************
pkg/kubelet/pleg/plegManager.go:104
MethodRun
run 用于启动状态管理器,这个函数会启动一个goroutine,用于定时向API Server发送心跳 函数不会阻塞
pkg/kubelet/status/status.go:125
MethodRun
()
pkg/apiserver/app/server/apiserver.go:46
MethodRun
()
pkg/serveless/function/controller.go:27
MethodRun
()
pkg/serveless/function/controller.go:153
MethodRun
周期运行函数检查调用的function情况 func (s *server) CheckUnusedFunc() { // TODO 遍历map callRecord,检查是否有没有被调用的function for _, record := range s.callRecord { // 检
pkg/serveless/server/server.go:129
MethodRun
()
pkg/serveless/workflow/workflow.go:18
MethodRun
()
pkg/serveless/workflow/workflow.go:194
MethodRunCmd
(cmd string)
pkg/gpu/sshclient/sshclient.go:93
MethodRunCmds
(cmds []string)
pkg/gpu/sshclient/sshclient.go:111
MethodSaveIPTables
SaveIPTables将iptables规则保存到一个文件中。
pkg/kubeproxy/app/iptablesManager.go:252
MethodScaleDown
(funcName, funcNamespace string)
pkg/serveless/function/controller.go:33
MethodSetIP
(ip string)
pkg/apiObject/endpoint.go:31
MethodSetPodUUID
(podUUID string)
pkg/apiObject/endpoint.go:43
MethodSetPort
(ports []string)
pkg/apiObject/endpoint.go:35
MethodSetUUID
(uuid string)
pkg/apiObject/endpoint.go:27
FunctionSetupTestNetwork
这个库用来存放测试代码中可能用到的工具函数 创建Docker虚拟网络
util/testutil/testutil.go:24
MethodStartPod
StartPod 启动pod
pkg/kubelet/worker/workerManager.go:140
MethodStartPod
StartPod 启动pod
pkg/kubelet/runtime/runtime.go:102
MethodStop
()
pkg/kubeproxy/app/proxy.go:258
MethodStopPod
(pod *apiObject.PodStore)
pkg/kubelet/worker/workerManager.go:17
MethodStopPod
StopPod 停止pod
pkg/kubelet/worker/workerManager.go:166
MethodStopPod
StopPod 停止pod
pkg/kubelet/runtime/runtime.go:123
FunctionTestAddDns
(t *testing.T)
pkg/apiserver/app/handlers/dnsHandler_test.go:66
FunctionTestAddEndPoints
(t *testing.T)
pkg/apiserver/app/helper/manageEndpoint_test.go:73
FunctionTestAddJob
(t *testing.T)
pkg/apiserver/app/handlers/jobHandler_test.go:187
FunctionTestAddJobFile
(t *testing.T)
pkg/apiserver/app/handlers/jobHandler_test.go:39
FunctionTestAddNewToken
(t *testing.T)
pkg/apiserver/app/handlers/tokenHanlderTest.go:22
FunctionTestAddNode
(t *testing.T)
pkg/apiserver/app/handlers/nodeHandler_test.go:20
FunctionTestAddPod
以下所有测试存在顺序关系,请务必按照顺序依次执行
pkg/kubelet/worker/workerManager_test.go:42
FunctionTestAddPod
(t *testing.T)
pkg/apiserver/app/handlers/podHandler_test.go:21
FunctionTestAddPodToCache
(t *testing.T)
pkg/kubelet/status/status_test.go:19
FunctionTestAddService
(t *testing.T)
pkg/apiserver/app/handlers/serviceHandler_test.go:23
FunctionTestClear
(t *testing.T)
pkg/apiserver/app/handlers/jobHandler_test.go:252
FunctionTestClearAll
(t *testing.T)
util/zip/zip_test.go:48
FunctionTestCreateRegistry
(t *testing.T)
pkg/serveless/dockerregistry/registry_test.go:5
FunctionTestDebugLog
(t *testing.T)
pkg/k8log/k8log_test.go:26
FunctionTestDel
(t *testing.T)
pkg/etcd/etcd_test.go:67
FunctionTestDelAllToken
(t *testing.T)
pkg/apiserver/app/handlers/tokenHanlderTest.go:12
FunctionTestDelAllTokenAgain
(t *testing.T)
pkg/apiserver/app/handlers/tokenHanlderTest.go:75
FunctionTestDelPodFromCache
(t *testing.T)
pkg/kubelet/status/status_test.go:113
FunctionTestDelToken
(t *testing.T)
pkg/apiserver/app/handlers/tokenHanlderTest.go:56
FunctionTestDeleteConf
(t *testing.T)
util/nginx/nginx_test.go:72
FunctionTestDeleteDns
(t *testing.T)
pkg/apiserver/app/handlers/dnsHandler_test.go:167
FunctionTestDeleteNode
(t *testing.T)
pkg/apiserver/app/handlers/nodeHandler_test.go:123
FunctionTestDeletePod
(t *testing.T)
pkg/kubelet/worker/workerManager_test.go:97
FunctionTestDeletePod
(t *testing.T)
pkg/apiserver/app/handlers/podHandler_test.go:127
FunctionTestDeleteService
(t *testing.T)
pkg/kubeproxy/app/iptablesManager_test.go:59
FunctionTestDeleteService
(t *testing.T)
pkg/apiserver/app/handlers/serviceHandler_test.go:130
FunctionTestEnv
(t *testing.T)
pkg/gpu/sshclient/sshclient_test.go:10
FunctionTestErrorLog
(t *testing.T)
pkg/k8log/k8log_test.go:14
FunctionTestFileBasic
(t *testing.T)
pkg/gpu/sshclient/sshclient_test.go:43
FunctionTestFindLocalImageIDsByImageRef
(t *testing.T)
pkg/kubelet/runtime/image/image_test.go:48
FunctionTestFormatConf
(t *testing.T)
util/nginx/nginx_test.go:33
FunctionTestGenerateRandomStr
(t *testing.T)
util/stringutil/stringutil_test.go:7
FunctionTestGenerateRandomStrEmpty
(t *testing.T)
util/stringutil/stringutil_test.go:22
FunctionTestGenerateRandomStrLong
(t *testing.T)
util/stringutil/stringutil_test.go:14
FunctionTestGet
(t *testing.T)
pkg/etcd/etcd_test.go:39
FunctionTestGetAPIObjectTypeFromPodYamlFile
(t *testing.T)
pkg/kubectl/kubectlutil/apiObjectUtil_test.go:22
FunctionTestGetAPIObjectTypeFromServiceYamlFile
(t *testing.T)
pkg/kubectl/kubectlutil/apiObjectUtil_test.go:36
FunctionTestGetAllPodFromCache
(t *testing.T)
pkg/kubelet/status/status_test.go:87
FunctionTestGetContainerResource
测试之前执行的方法 func TestMain(m *testing.M) { // 先列出所有的容器,然后删除所有的容器 cm := &ContainerManager{} containers, err := cm.ListContainersWithOpt(opt) if err !=
pkg/kubelet/runtime/container/container_test.go:189
FunctionTestGetDns
(t *testing.T)
pkg/apiserver/app/handlers/dnsHandler_test.go:136
FunctionTestGetEndpoints
(t *testing.T)
pkg/apiserver/app/helper/manageEndpoint_test.go:103
FunctionTestGetHostIp
(t *testing.T)
util/host/host_test.go:12
FunctionTestGetHostName
(t *testing.T)
util/host/host_test.go:7
FunctionTestGetJobFile
(t *testing.T)
pkg/apiserver/app/handlers/jobHandler_test.go:110
FunctionTestGetNodes
(t *testing.T)
pkg/apiserver/app/handlers/nodeHandler_test.go:91
FunctionTestGetPodFromCache
(t *testing.T)
pkg/kubelet/status/status_test.go:59
FunctionTestGetPods
(t *testing.T)
pkg/apiserver/app/handlers/podHandler_test.go:94
FunctionTestGetServices
(t *testing.T)
pkg/apiserver/app/handlers/serviceHandler_test.go:96
FunctionTestGetSystemCpuUsage
(t *testing.T)
util/host/host_test.go:31
FunctionTestGetSystemMemoryUsage
(t *testing.T)
util/host/host_test.go:22
FunctionTestGetUUID
在短时间内生成大量的UUID,同时判断是否重复
util/uuid/uuid_test.go:10
FunctionTestHandler1
(c *gin.Context)
pkg/apiserver/app/handlers/testHandler.go:14
FunctionTestHandler2
(c *gin.Context)
pkg/apiserver/app/handlers/testHandler.go:23
FunctionTestInfoLog
(t *testing.T)
pkg/k8log/k8log_test.go:7
FunctionTestJson
(t *testing.T)
pkg/apiObject/node_test.go:43
FunctionTestMain
在测试之前,NewEtcdStore
pkg/etcd/etcd_test.go:13
FunctionTestMain
(m *testing.M)
pkg/kubelet/runtime/runtime_test.go:38
FunctionTestMain
测试执行之前,先删除Redis中的所有数据
pkg/kubelet/status/status_test.go:10
FunctionTestMain
(m *testing.M)
pkg/apiserver/app/handlers/jobHandler_test.go:23
FunctionTestMain
(m *testing.M)
util/rediscache/redisClient_test.go:14
FunctionTestMain
(m *testing.M)
util/zip/zip_test.go:8
FunctionTestNewSSHClient
(t *testing.T)
pkg/gpu/sshclient/sshclient_test.go:15
FunctionTestParse
(t *testing.T)
pkg/serveless/workflow/workflow_test.go:9
FunctionTestParseAPIObjectFromYamlfileContent
(t *testing.T)
pkg/kubectl/kubectlutil/apiObjectUtil_test.go:50
FunctionTestParseImageRef
测试parseImageRef函数
pkg/kubelet/runtime/image/image_test.go:27
FunctionTestParseNameAndNamespace
(t *testing.T)
pkg/kubectl/cmd/get_test.go:5
FunctionTestPeriod
(t *testing.T)
util/executor/executor_test.go:9
FunctionTestPostAPIObjectToServer
(t *testing.T)
pkg/kubectl/kubectlutil/apiObjectUtil_test.go:62
FunctionTestPrefixDel
(t *testing.T)
pkg/etcd/etcd_test.go:74
FunctionTestPrefixGet
(t *testing.T)
pkg/etcd/etcd_test.go:59
FunctionTestPrintApplyObjInfo
(t *testing.T)
pkg/kubectl/cmd/apply_test.go:18
FunctionTestPrintApplyResult
(t *testing.T)
pkg/kubectl/cmd/apply_test.go:8
FunctionTestPublish
(t *testing.T)
pkg/message/publisher_test.go:8
FunctionTestPublishRequestNodeScheduleMsg
(t *testing.T)
pkg/message/msgPublish_test.go:40
FunctionTestPublishUpdateService
(t *testing.T)
pkg/message/msgPublish_test.go:18
FunctionTestPullImageWithPolicy
(t *testing.T)
pkg/kubelet/runtime/image/image_test.go:36
← previousnext →601–700 of 814, ranked by callers