You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app=kingpin.New("orchent", "The orchestrator client. \n\nPlease either store your access token in 'ORCHENT_TOKEN' or set the account to use with oidc-agent in the 'ORCHENT_AGENT_ACCOUNT' and the socket of the oidc-agent in the 'OIDC_SOCK' environment variable: \n export ORCHENT_TOKEN=<your access token> \n OR \n export OIDC_SOCK=<path to the oidc-agent socket> (usually this is already exported) \n export ORCHENT_AGENT_ACCOUNT=<account to use> \nIf you need to specify the file containing the trusted root CAs use the 'ORCHENT_CAFILE' environment variable: \n export ORCHENT_CAFILE=<path to file containing trusted CAs>\n\n").Version(OrchentVersion)
@@ -32,20 +33,20 @@ var (
32
33
showDep=app.Command("depshow", "show a specific deployment")
33
34
showDepUuid=showDep.Arg("uuid", "the uuid of the deployment to display").Required().String()
34
35
35
-
createDep=app.Command("depcreate", "create a new deployment")
36
-
createDepCallback=createDep.Flag("callback", "the callback url").Default("").String()
37
-
createDepMaxProvidersRetry=createDep.Flag("maxProvidersRetry", "Maximum number of cloud providers to be used in case of failure (Default: UNBOUNDED).").Uint8()
38
-
createDepKeepLastAttempt=createDep.Flag("keepLastAttempt", "In case of failure, keep the resources allocated in the last try (Default: true).").Default("true").Enum("true", "false")
39
-
createDepTemplate=createDep.Arg("template", "the tosca template file").Required().File()
40
-
createDepParameter=createDep.Arg("parameter", "the parameter to set (json object)").Required().String()
41
-
42
-
updateDep=app.Command("depupdate", "update the given deployment")
43
-
updateDepCallback=updateDep.Flag("callback", "the callback url").Default("").String()
44
-
updateDepMaxProvidersRetry=updateDep.Flag("maxProvidersRetry", "Maximum number of cloud providers to be used in case of failure (Default: UNBOUNDED).").Uint8()
45
-
updateDepKeepLastAttempt=updateDep.Flag("keepLastAttempt", "In case of failure, keep the resources allocated in the last try (Default: true).").Default("true").Enum("true", "false")
46
-
updateDepUuid=updateDep.Arg("uuid", "the uuid of the deployment to update").Required().String()
47
-
updateDepTemplate=updateDep.Arg("template", "the tosca template file").Required().File()
48
-
updateDepParameter=updateDep.Arg("parameter", "the parameter to set (json object)").Required().String()
36
+
createDep=app.Command("depcreate", "create a new deployment")
37
+
createDepCallback=createDep.Flag("callback", "the callback url").Default("").String()
38
+
createDepMaxProvidersRetry=createDep.Flag("maxProvidersRetry", "Maximum number of cloud providers to be used in case of failure (Default: UNBOUNDED).").Uint8()
39
+
createDepKeepLastAttempt=createDep.Flag("keepLastAttempt", "In case of failure, keep the resources allocated in the last try (Default: true).").Default("true").Enum("true", "false")
40
+
createDepTemplate=createDep.Arg("template", "the tosca template file").Required().File()
41
+
createDepParameter=createDep.Arg("parameter", "the parameter to set (json object)").Required().String()
42
+
43
+
updateDep=app.Command("depupdate", "update the given deployment")
44
+
updateDepCallback=updateDep.Flag("callback", "the callback url").Default("").String()
45
+
updateDepMaxProvidersRetry=updateDep.Flag("maxProvidersRetry", "Maximum number of cloud providers to be used in case of failure (Default: UNBOUNDED).").Uint8()
46
+
updateDepKeepLastAttempt=updateDep.Flag("keepLastAttempt", "In case of failure, keep the resources allocated in the last try (Default: true).").Default("true").Enum("true", "false")
47
+
updateDepUuid=updateDep.Arg("uuid", "the uuid of the deployment to update").Required().String()
48
+
updateDepTemplate=updateDep.Arg("template", "the tosca template file").Required().File()
49
+
updateDepParameter=updateDep.Arg("parameter", "the parameter to set (json object)").Required().String()
49
50
50
51
depTemplate=app.Command("deptemplate", "show the template of the given deployment")
51
52
templateDepUuid=depTemplate.Arg("uuid", "the uuid of the deployment to get the template").Required().String()
@@ -378,7 +379,7 @@ func receive_and_print_deploymentlist(complete *sling.Sling, before int, after i
0 commit comments