Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = models.Command{ Name: "support-ids", ShortHelp: "Print out various IDs related to an environment to be used when contacting Datica support", LongHelp: "<code>support-ids</code> is helpful when contacting Datica support by submitting a ticket at https://datica.com/support. " + "If you are having an issue with a CLI command or anything with your environment, it is helpful to run this command and copy the output into the initial correspondence with a Datica engineer. " + "This will help Datica identify the environment faster and help come to resolution faster. Here is a sample command\n\n" + "<pre>\ndatica -E \"<your_env_name>\" support-ids\n</pre>", CmdFunc: func(settings *models.Settings) func(cmd *cli.Cmd) { return func(cmd *cli.Cmd) { cmd.Action = func() { err := CmdSupportIDs(New(settings)) if err != nil { logrus.Fatal(err.Error()) } } } }, }
Cmd is the contract between the user and the CLI. This specifies the command name, arguments, and required/optional arguments and flags for the command.
Functions ¶
func CmdSupportIDs ¶
func CmdSupportIDs(is ISupportIDs) error
Types ¶
type ISupportIDs ¶
ISupportIDs
type SSupportIDs ¶
SSupportIDs is a concrete implementation of ISupportIDs
func (*SSupportIDs) SupportIDs ¶
SupportIDs prints out various IDs related to the associated environment to be used when contacting Datica support.
Click to show internal directories.
Click to hide internal directories.