/
command_str_consts.go
79 lines (75 loc) · 2.59 KB
/
command_str_consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package command_str_consts
import (
"errors"
"os"
"path"
)
// We put all the command strings here so that when we need to give users remediation instructions,
// we can give them the commands they need to run
var KurtosisCmdStr = path.Base(os.Args[0])
const (
Analytics = "analytics"
CleanCmdStr = "clean"
CloudAddCmdStr = "add"
CloudCmdStr = "cloud"
CloudLoadCmdStr = "load"
ClusterCmdStr = "cluster"
ClusterSetCmdStr = "set"
ClusterGetCmdStr = "get"
ClusterLsCmdStr = "ls"
ContextCmdStr = "context"
ContextAddCmdStr = "add"
ContextLsCmdStr = "ls"
ContextRmCmdStr = "rm"
ContextSwitchCmdStr = "switch"
DiscordCmdStr = "discord"
DocsCmdStr = "docs"
EnclaveCmdStr = "enclave"
EnclaveInspectCmdStr = "inspect"
EnclaveLsCmdStr = "ls"
EnclaveAddCmdStr = "add"
EnclaveStopCmdStr = "stop"
EnclaveRmCmdStr = "rm"
EnclaveDumpCmdStr = "dump"
EngineCmdStr = "engine"
EngineLogsCmdStr = "logs"
EngineStartCmdStr = "start"
EngineStatusCmdStr = "status"
EngineStopCmdStr = "stop"
EngineRestartCmdStr = "restart"
FeedbackCmdStr = "feedback"
FilesCmdStr = "files"
FilesUploadCmdStr = "upload"
FilesInspectCmdStr = "inspect"
FilesDownloadCmdStr = "download"
FilesStoreWebCmdStr = "storeweb"
FilesStoreServiceCmdStr = "storeservice"
FilesRenderTemplate = "rendertemplate"
KurtosisDumpCmdStr = "dump"
KurtosisLintCmdStr = "lint"
PortalCmdStr = "portal"
PortalStartCmdStr = "start"
PortalStatusCmdStr = "status"
PortalStopCmdStr = "stop"
ServiceCmdStr = "service"
ServiceAddCmdStr = "add"
ServiceExecCmdStr = "exec"
ServiceLogsCmdStr = "logs"
ServiceRmCmdStr = "rm"
ServiceShellCmdStr = "shell"
ServiceStartCmdStr = "start"
ServiceStopCmdStr = "stop"
ServiceInspectCmdStr = "inspect"
StarlarkRunCmdStr = "run"
TwitterCmdStr = "twitter"
ConfigCmdStr = "config"
PathCmdStr = "path"
VersionCmdStr = "version"
ImportCmdStr = "import"
GatewayCmdStr = "gateway"
PortCmdStr = "port"
PortPrintCmdStr = "print"
WebCmdStr = "web"
)
// TODO: added constant error message here, can we move to another file later.
var ErrorMessageDueToStarlarkFailure = errors.New("Kurtosis execution threw an error. See output above for more details")