route

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAppIdsForRouteMetadata

func FindAppIdsForRouteMetadata(cliConnection plugin.CliConnection, routeGuid string) []string

func LoadAppsForRouteCache

func LoadAppsForRouteCache(cliConnection plugin.CliConnection, routeId string)

func LoadRouteCache

func LoadRouteCache(cliConnection plugin.CliConnection)

Types

type Route

type Route struct {
	Guid                string `json:"guid"`
	Host                string `json:"host"`
	Path                string `json:"path"`
	DomainGuid          string `json:"domain_guid"`
	SpaceGuid           string `json:"space_guid"`
	ServiceInstanceGuid string `json:"service_instance_guid"`
	Port                int    `json:"port"`
	InternalGenerated   bool
}

func AllRoutes

func AllRoutes() []*Route

func CreateInternalGeneratedRoute

func CreateInternalGeneratedRoute(hostName string, pathName string, domainGuid string, port int) *Route

func FindRouteMetadata

func FindRouteMetadata(routeGuid string) *Route

type RouteResource

type RouteResource struct {
	Meta   common.Meta `json:"metadata"`
	Entity Route       `json:"entity"`
}

type RouteResponse

type RouteResponse struct {
	Count     int             `json:"total_results"`
	Pages     int             `json:"total_pages"`
	NextUrl   string          `json:"next_url"`
	Resources []RouteResource `json:"resources"`
}

Jump to

Keyboard shortcuts

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