(workspaceInfo workspace.WorkspaceInfo)
| 441 | } |
| 442 | |
| 443 | func entryptionKey4Workspace(workspaceInfo workspace.WorkspaceInfo) { |
| 444 | if workspaceInfo.Remote.Password != "" { |
| 445 | common.SmartIDELog.AddEntryptionKey(workspaceInfo.Remote.Password) |
| 446 | } |
| 447 | if workspaceInfo.K8sInfo.KubeConfigContent != "" { |
| 448 | common.SmartIDELog.AddEntryptionKeyWithReservePart(workspaceInfo.K8sInfo.KubeConfigContent) |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | // 从命令行中加载 git 相关信息 |
| 453 | func loadGitInfo4Workspace(workspaceInfo *workspace.WorkspaceInfo, cmd *cobra.Command, args []string) error { |
nothing calls this directly
no test coverage detected