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

Struct DeleteRouteCommand

command/v7/delete_route_command.go:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type DeleteRouteCommand struct {
9 BaseCommand
10
11 RequiredArgs flag.Domain `positional-args:"yes"`
12 Force bool `short:"f" description:"Force deletion without confirmation"`
13 Hostname string `long:"hostname" short:"n" description:"Hostname used to identify the HTTP route (required for shared domains)"`
14 Path flag.V7RoutePath `long:"path" description:"Path used to identify the HTTP route"`
15 Port int `long:"port" description:"Port used to identify the TCP route"`
16 relatedCommands interface{} `related_commands:"delete-orphaned-routes, routes, unmap-route"`
17}
18
19func (cmd DeleteRouteCommand) Usage() string {
20 return `

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected