route

package
v6.0.0-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2013 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRoute

type CreateRoute struct {
	// contains filtered or unexported fields
}

func NewCreateRoute

func NewCreateRoute(ui terminal.UI, config *configuration.Configuration, routeRepo api.RouteRepository) (cmd *CreateRoute)

func (*CreateRoute) CreateRoute

func (cmd *CreateRoute) CreateRoute(hostName string, domain cf.Domain, space cf.Space) (route cf.Route, apiResponse net.ApiResponse)

func (*CreateRoute) GetRequirements

func (cmd *CreateRoute) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*CreateRoute) Run

func (cmd *CreateRoute) Run(c *cli.Context)

type DeleteRoute

type DeleteRoute struct {
	// contains filtered or unexported fields
}

func NewDeleteRoute

func NewDeleteRoute(ui terminal.UI, config *configuration.Configuration, routeRepo api.RouteRepository) (cmd *DeleteRoute)

func (*DeleteRoute) GetRequirements

func (cmd *DeleteRoute) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*DeleteRoute) Run

func (cmd *DeleteRoute) Run(c *cli.Context)

type ListRoutes

type ListRoutes struct {
	// contains filtered or unexported fields
}

func NewListRoutes

func NewListRoutes(ui terminal.UI, config *configuration.Configuration, routeRepo api.RouteRepository) (cmd *ListRoutes)

func (ListRoutes) GetRequirements

func (cmd ListRoutes) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (ListRoutes) Run

func (cmd ListRoutes) Run(c *cli.Context)

type RouteCreator

type RouteCreator interface {
	CreateRoute(hostName string, domain cf.Domain, space cf.Space) (route cf.Route, apiResponse net.ApiResponse)
}

type RouteMapper

type RouteMapper struct {
	// contains filtered or unexported fields
}

func NewRouteMapper

func NewRouteMapper(ui terminal.UI, config *configuration.Configuration, routeRepo api.RouteRepository, routeCreator RouteCreator, bind bool) (cmd *RouteMapper)

func (*RouteMapper) GetRequirements

func (cmd *RouteMapper) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*RouteMapper) Run

func (cmd *RouteMapper) Run(c *cli.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL