Documentation ¶
Index ¶
- Constants
- type AppEndpoint
- type Route
- type Routes
- func (rts Routes) Find(appIdOrPathOrName string) []*Route
- func (rts Routes) FindById(appId string) []*Route
- func (rts Routes) FindByOrgSpaceName(org, space, name string) []*Route
- func (rts Routes) FindByRouteName(routeName string) []*Route
- func (rts Routes) RegisterRoute(uri Uri, route *Route)
- func (rts Routes) String() string
- func (rts Routes) UnregisterRoute(uri Uri, route *Route)
- type Tags
- type Uri
Constants ¶
View Source
const ProcessWeb = "web"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppEndpoint ¶
type Route ¶
type Route struct { PrivateInstanceID string `json:"private_instance_id"` Tags Tags `json:"tags"` ServerCertDomainSan string `json:"server_cert_domain_san"` Address string `json:"address"` TLS bool `json:"tls"` TTL int `json:"ttl"` URL string `json:"-"` URLParams url.Values `json:"-"` MetricsPath string `json:"-"` Host string `json:"host"` }
type Routes ¶
func (Routes) FindByOrgSpaceName ¶
func (Routes) FindByRouteName ¶
func (Routes) RegisterRoute ¶ added in v1.0.0
func (Routes) UnregisterRoute ¶ added in v1.0.0
type Tags ¶
type Tags struct { ProcessType string `json:"process_type"` ProcessInstanceID string `json:"process_instance_id"` Component string `json:"component"` InstanceID string `json:"instance_id"` SpaceName string `json:"space_name"` OrganizationID string `json:"organization_id"` ProcessID string `json:"process_id"` OrganizationName string `json:"organization_name"` SourceID string `json:"source_id"` AppID string `json:"app_id"` AppName string `json:"app_name"` SpaceID string `json:"space_id"` }
Click to show internal directories.
Click to hide internal directories.