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
Copy file name to clipboardExpand all lines: cmd/main.go
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -30,20 +30,20 @@ type httpClient interface {
30
30
31
31
typeoptionsstruct {
32
32
CACertstring`yaml:"ca-cert" long:"ca-cert" env:"OM_CA_CERT" description:"OpsManager CA certificate path or value"`
33
-
ClientIDstring`yaml:"client-id" short:"c" long:"client-id" env:"OM_CLIENT_ID" description:"Client ID for the Ops Manager VM (not required for unauthenticated commands)"`
34
-
ClientSecretstring`yaml:"client-secret" short:"s" long:"client-secret" env:"OM_CLIENT_SECRET" description:"Client Secret for the Ops Manager VM (not required for unauthenticated commands)"`
35
-
ConnectTimeoutint`yaml:"connect-timeout" short:"o" long:"connect-timeout" env:"OM_CONNECT_TIMEOUT" default:"10" description:"timeout in seconds to make TCP connections"`
36
-
DecryptionPassphrasestring`yaml:"decryption-passphrase" short:"d" long:"decryption-passphrase" env:"OM_DECRYPTION_PASSPHRASE" description:"Passphrase to decrypt the installation if the Ops Manager VM has been rebooted (optional for most commands)"`
37
-
Envstring` short:"e" long:"env" description:"env file with login credentials"`
38
-
Passwordstring`yaml:"password" short:"p" long:"password" env:"OM_PASSWORD" description:"admin password for the Ops Manager VM (not required for unauthenticated commands)"`
39
-
RequestTimeoutint`yaml:"request-timeout" short:"r" long:"request-timeout" env:"OM_REQUEST_TIMEOUT" default:"1800" description:"timeout in seconds for HTTP requests to Ops Manager"`
Targetstring`yaml:"target" short:"t" long:"target" env:"OM_TARGET" description:"location of the Ops Manager VM"`
42
-
UAATargetstring`yaml:"uaa-target" long:"uaa-target" env:"OM_UAA_TARGET" description:"optional location of the Ops Manager UAA"`
43
-
Tracebool`yaml:"trace" long:"trace" env:"OM_TRACE" description:"prints HTTP requests and response payloads"`
44
-
Usernamestring`yaml:"username" short:"u" long:"username" env:"OM_USERNAME" description:"admin username for the Ops Manager VM (not required for unauthenticated commands)"`
45
-
VarsEnvstring` long:"vars-env" env:"OM_VARS_ENV" description:"load vars from environment variables by specifying a prefix (e.g.: 'MY' to load MY_var=value)"`
46
-
Versionbool` short:"v" long:"version" description:"prints the om release version"`
33
+
ClientIDstring`yaml:"client-id" short:"c" long:"client-id" env:"OM_CLIENT_ID" description:"Client ID for the Ops Manager VM (not required for unauthenticated commands)"`
34
+
ClientSecretstring`yaml:"client-secret" short:"s" long:"client-secret" env:"OM_CLIENT_SECRET" default-mask:"-" description:"Client Secret for the Ops Manager VM (not required for unauthenticated commands)"`
35
+
ConnectTimeoutint`yaml:"connect-timeout" short:"o" long:"connect-timeout" env:"OM_CONNECT_TIMEOUT" default:"10" description:"timeout in seconds to make TCP connections"`
36
+
DecryptionPassphrasestring`yaml:"decryption-passphrase" short:"d" long:"decryption-passphrase" env:"OM_DECRYPTION_PASSPHRASE" default-mask:"-" description:"Passphrase to decrypt the installation if the Ops Manager VM has been rebooted (optional for most commands)"`
37
+
Envstring` short:"e" long:"env" description:"env file with login credentials"`
38
+
Passwordstring`yaml:"password" short:"p" long:"password" env:"OM_PASSWORD" default-mask:"-" description:"admin password for the Ops Manager VM (not required for unauthenticated commands)"`
39
+
RequestTimeoutint`yaml:"request-timeout" short:"r" long:"request-timeout" env:"OM_REQUEST_TIMEOUT" default:"1800" description:"timeout in seconds for HTTP requests to Ops Manager"`
Targetstring`yaml:"target" short:"t" long:"target" env:"OM_TARGET" description:"location of the Ops Manager VM"`
42
+
UAATargetstring`yaml:"uaa-target" long:"uaa-target" env:"OM_UAA_TARGET" description:"optional location of the Ops Manager UAA"`
43
+
Tracebool`yaml:"trace" long:"trace" env:"OM_TRACE" description:"prints HTTP requests and response payloads"`
44
+
Usernamestring`yaml:"username" short:"u" long:"username" env:"OM_USERNAME" description:"admin username for the Ops Manager VM (not required for unauthenticated commands)"`
45
+
VarsEnvstring` long:"vars-env" env:"OM_VARS_ENV" description:"load vars from environment variables by specifying a prefix (e.g.: 'MY' to load MY_var=value)"`
46
+
Versionbool` short:"v" long:"version" description:"prints the om release version"`
0 commit comments