MCPcopy Create free account
hub / github.com/devops-rob/target-cli / init

Function init

cmd/boundaryupdate.go:63–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func init() {
64 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryEndpoint, "endpoint", "", "set target endpoint details. e.g https://example-boundary.com:9200")
65 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryToken, "token", "", "set boundary token")
66 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryTokenName, "token-name", "", "Set boundary token name")
67 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryCaPath, "capath", "", "set path to a directory of PEM-encoded CA certificate files on the local disk")
68 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryCaCert, "cacert", "", "set path to a PEM-encoded CA certificate file on the local disk")
69 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryCert, "cert", "", "set path to a PEM-encoded client certificate on the local disk")
70 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryKey, "key", "", "set path to an unencrypted, PEM-encoded private key on disk which corresponds to the matching client certificate")
71 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryTlsInsecure, "tls-insecure", "", "Set tls verification")
72 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryTlsServerName, "tls-server-name", "", "Set the name of the server")
73 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryRecoveryConfig, "recovery-config", "", "Set the boundary recovery config")
74 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryConnectAuthZToken, "connect-authz-token", "", "Set the boundary token for connect authorisation")
75 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryConnectExec, "connect-exec", "", "Set the binary that should be run in a connect session")
76 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryConnectListenAddr, "connect-listen-addr", "", "Set the listen address for boundary connect")
77 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryConnectListenPort, "connect-listen-port", "", "Set the listen port for boundary connect")
78 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryConnectTargetScopeId, "connect-target-scope-id", "", "Set the scope id for the boundary connect target")
79 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryConnectTargetScopeName, "connect-target-scope-name", "", "Set the scope name for the boundary connect target")
80 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryAuthMethodId, "auth-method-id", "", "Set the boundary auth method id")
81 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryLogLevel, "log-level", "", "Set the log level")
82 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryCliFormat, "format", "", "Set the log output format")
83 boundaryUpdateCmd.PersistentFlags().StringVar(&boundaryScopeId, "scope-id", "", "Set the boundary scope id to run commands in")
84
85}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected