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

Struct UnbindRouteServiceCommand

command/v7/unbind_route_service_command.go:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type UnbindRouteServiceCommand struct {
11 BaseCommand
12
13 RequiredArgs flag.RouteServiceArgs `positional-args:"yes"`
14 Force bool `short:"f" description:"Force unbinding without confirmation"`
15 Hostname string `long:"hostname" short:"n" description:"Hostname used in combination with DOMAIN to specify the route to unbind"`
16 Path flag.V7RoutePath `long:"path" description:"Path used in combination with HOSTNAME and DOMAIN to specify the route to unbind"`
17 Wait bool `short:"w" long:"wait" description:"Wait for the operation to complete"`
18 relatedCommands interface{} `related_commands:"delete-service, routes, services"`
19}
20
21func (cmd UnbindRouteServiceCommand) Execute(args []string) error {
22 if err := cmd.SharedActor.CheckTarget(true, true); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected