route

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route struct {
	common.EntityCommon
	//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
}

type RouteMetadata added in v0.9.0

type RouteMetadata struct {
	*common.Metadata
	*Route
}

func NewRouteMetadata added in v0.9.0

func NewRouteMetadata(Route Route) *RouteMetadata

func NewRouteMetadataById added in v0.9.0

func NewRouteMetadataById(id string) *RouteMetadata

func (*RouteMetadata) GetName added in v0.9.0

func (metadataItem *RouteMetadata) GetName() string

type RouteMetadataManager added in v0.9.0

type RouteMetadataManager struct {
	*common.CommonV2ResponseManager
	// contains filtered or unexported fields
}

func NewRouteMetadataManager added in v0.9.0

func NewRouteMetadataManager(mdGlobalManager common.MdGlobalManagerInterface) *RouteMetadataManager

func (*RouteMetadataManager) CreateInternalGeneratedRoute added in v0.9.0

func (mdMgr *RouteMetadataManager) CreateInternalGeneratedRoute(hostName string, pathName string, domainGuid string, port int) *RouteMetadata

func (*RouteMetadataManager) CreateMetadataEntityObject added in v0.9.0

func (mdMgr *RouteMetadataManager) CreateMetadataEntityObject(guid string) common.IMetadata

func (*RouteMetadataManager) CreateResourceObject added in v0.9.0

func (mdMgr *RouteMetadataManager) CreateResourceObject() common.IResource

func (*RouteMetadataManager) CreateResponseObject added in v0.9.0

func (mdMgr *RouteMetadataManager) CreateResponseObject() common.IResponse

func (*RouteMetadataManager) FindAppIdsForRouteMetadata added in v0.9.0

func (mdMgr *RouteMetadataManager) FindAppIdsForRouteMetadata(routeGuid string) []string

func (*RouteMetadataManager) FindItem added in v0.9.0

func (mdMgr *RouteMetadataManager) FindItem(guid string) *RouteMetadata

func (*RouteMetadataManager) GetAll added in v0.9.0

func (mdMgr *RouteMetadataManager) GetAll() []*RouteMetadata

func (*RouteMetadataManager) LoadAppsForRouteCache added in v0.9.0

func (mdMgr *RouteMetadataManager) LoadAppsForRouteCache(routeId string)

func (*RouteMetadataManager) NewItemById added in v0.9.0

func (mdMgr *RouteMetadataManager) NewItemById(guid string) common.IMetadata

func (*RouteMetadataManager) ProcessResource added in v0.9.0

func (mdMgr *RouteMetadataManager) ProcessResource(resource common.IResource) common.IMetadata

func (*RouteMetadataManager) ProcessResponse added in v0.9.0

func (mdMgr *RouteMetadataManager) ProcessResponse(response common.IResponse, metadataArray []common.IMetadata) []common.IMetadata

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