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

Struct ShareRouteCommand

command/v7/share_route_command.go:8–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type ShareRouteCommand struct {
9 BaseCommand
10
11 RequireArgs flag.Domain `positional-args:"yes"`
12 Hostname string `long:"hostname" short:"n" description:"Hostname for the HTTP route (required for shared domains)"`
13 Path flag.V7RoutePath `long:"path" description:"Path for the HTTP route"`
14 DestinationOrg string `short:"o" description:"The org of the destination space (Default: targeted org)"`
15 DestinationSpace string `short:"s" description:"The space the route will be shared with (Default: targeted space)"`
16
17 relatedCommands interface{} `related_commands:"create-route, map-route, unmap-route, routes"`
18}
19
20func (cmd ShareRouteCommand) Usage() string {
21 return `

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected