MCPcopy Index your code
hub / github.com/cloudfoundry/cli / CreateServiceKeyCommand

Struct CreateServiceKeyCommand

command/v7/create_service_key_command.go:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type CreateServiceKeyCommand struct {
12 BaseCommand
13
14 RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"`
15 ParametersAsJSON flag.JSONOrFileWithValidation `short:"c" description:"Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering."`
16 Wait bool `short:"w" long:"wait" description:"Wait for the operation to complete"`
17 relatedCommands interface{} `related_commands:"service-key"`
18}
19
20func (cmd CreateServiceKeyCommand) Execute(args []string) error {
21 if err := cmd.SharedActor.CheckTarget(true, true); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected