MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / entryptionKey4Workspace

Function entryptionKey4Workspace

cli/cmd/start.go:310–317  ·  view source on GitHub ↗
(workspaceInfo workspace.WorkspaceInfo)

Source from the content-addressed store, hash-verified

308)
309
310func entryptionKey4Workspace(workspaceInfo workspace.WorkspaceInfo) {
311 if workspaceInfo.Remote.Password != "" {
312 common.SmartIDELog.AddEntryptionKey(workspaceInfo.Remote.Password)
313 }
314 if workspaceInfo.K8sInfo.KubeConfigContent != "" {
315 common.SmartIDELog.AddEntryptionKeyWithReservePart(workspaceInfo.K8sInfo.KubeConfigContent)
316 }
317}
318
319// 友好的错误
320type FriendlyError struct {

Callers 6

stop.goFile · 0.70
start.goFile · 0.70
k8s.goFile · 0.70
new.goFile · 0.70
remove.goFile · 0.70
get.goFile · 0.70

Calls 2

AddEntryptionKeyMethod · 0.80

Tested by

no test coverage detected