MCPcopy
hub / github.com/cloudfoundry/cli / DeleteServiceKeyCommand

Struct DeleteServiceKeyCommand

command/v7/delete_service_key_command.go:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type DeleteServiceKeyCommand struct {
11 BaseCommand
12
13 RequiredArgs flag.ServiceInstanceKey `positional-args:"yes"`
14 Force bool `short:"f" description:"Force deletion without confirmation"`
15 Wait bool `short:"w" long:"wait" description:"Wait for the operation to complete"`
16 relatedCommands interface{} `related_commands:"service-keys"`
17}
18
19func (cmd DeleteServiceKeyCommand) Execute(args []string) error {
20 if err := cmd.SharedActor.CheckTarget(true, true); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected