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

Struct DeleteServiceCommand

command/v7/delete_service_command.go:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected