Documentation ¶
Index ¶
- type Route
- type RouteMetadata
- type RouteMetadataManager
- func (mdMgr *RouteMetadataManager) CreateInternalGeneratedRoute(hostName string, pathName string, domainGuid string, port int) *RouteMetadata
- func (mdMgr *RouteMetadataManager) CreateMetadataEntityObject(guid string) common.IMetadata
- func (mdMgr *RouteMetadataManager) CreateResourceObject() common.IResource
- func (mdMgr *RouteMetadataManager) CreateResponseObject() common.IResponse
- func (mdMgr *RouteMetadataManager) FindAppIdsForRouteMetadata(routeGuid string) []string
- func (mdMgr *RouteMetadataManager) FindItem(guid string) *RouteMetadata
- func (mdMgr *RouteMetadataManager) GetAll() []*RouteMetadata
- func (mdMgr *RouteMetadataManager) LoadAppsForRouteCache(routeId string)
- func (mdMgr *RouteMetadataManager) NewItemById(guid string) common.IMetadata
- func (mdMgr *RouteMetadataManager) ProcessResource(resource common.IResource) common.IMetadata
- func (mdMgr *RouteMetadataManager) ProcessResponse(response common.IResponse, metadataArray []common.IMetadata) []common.IMetadata
- type RouteResource
- type RouteResponse
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
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
type RouteResource ¶
type RouteResponse ¶
type RouteResponse struct { Count int `json:"total_results"` Pages int `json:"total_pages"` NextUrl string `json:"next_url"` Resources []RouteResource `json:"resources"` }
Click to show internal directories.
Click to hide internal directories.