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

Struct CreateRouteCommand

command/v7/create_route_command.go:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type CreateRouteCommand struct {
15 BaseCommand
16
17 RequiredArgs flag.Domain `positional-args:"yes"`
18 Hostname string `long:"hostname" short:"n" description:"Hostname for the HTTP route (required for shared domains)"`
19 Path flag.V7RoutePath `long:"path" description:"Path for the HTTP route"`
20 Port int `long:"port" description:"Port for the TCP route (default: random port)"`
21 Options []string `long:"option" short:"o" description:"Set the value of a per-route option"`
22 relatedCommands interface{} `related_commands:"check-route, update-route, domains, map-route, routes, unmap-route"`
23}
24
25func (cmd CreateRouteCommand) Usage() string {
26 return `

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected