MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / generateKey

Function generateKey

core/init/hook/hook.go:89–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87}
88
89func generateKey() {
90 if err := service.NewISettingService().GenerateRSAKey(); err != nil {
91 global.LOG.Errorf("generate rsa key error : %s", err.Error())
92 }
93}
94
95func initDockerConf() {
96 dockerPath, err := exec.LookPath("docker")

Callers 1

InitFunction · 0.85

Calls 2

GenerateRSAKeyMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected