Documentation
¶
Index ¶
- func NewCreateRouteCommand(p *config.KfParams, c routes.Client) *cobra.Command
- func NewDeleteOrphanedRoutesCommand(p *config.KfParams, c routes.Client) *cobra.Command
- func NewDeleteRouteCommand(p *config.KfParams, c routes.Client, a apps.Client) *cobra.Command
- func NewMapRouteCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command
- func NewProxyRouteCommand(p *config.KfParams) *cobra.Command
- func NewRoutesCommand(p *config.KfParams) *cobra.Command
- func NewUnmapRouteCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command
- type RouteFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateRouteCommand ¶
NewCreateRouteCommand creates a CreateRoute command.
func NewDeleteOrphanedRoutesCommand ¶
NewDeleteOrphanedRoutesCommand creates a command to delete orphaned routes.
func NewDeleteRouteCommand ¶
NewDeleteRouteCommand creates a DeleteRoute command. To delete a route and not have the controller bring it back, delete is a multistep process. First, unmap the route from each app that has it. Next, delete the Route.
func NewMapRouteCommand ¶
NewMapRouteCommand creates a MapRoute command.
func NewProxyRouteCommand ¶
NewProxyRouteCommand creates a command capable of proxying a remote server locally.
func NewRoutesCommand ¶
NewRoutesCommand allows users to list routes.
Types ¶
type RouteFlags ¶
RouteFlags includes commonly passed in flags to define a HTTP route.
func (*RouteFlags) Add ¶
func (flags *RouteFlags) Add(cmd *cobra.Command)
Add appends the flags to the given command
func (*RouteFlags) RouteSpecFields ¶
func (flags *RouteFlags) RouteSpecFields(domain string) v1alpha1.RouteSpecFields
RouteSpecFields converts the flags to a RouteSpecFields instance