MCPcopy Create free account
hub / github.com/cloudfoundry/cli / FindOrCreateRoute

Method FindOrCreateRoute

cf/actors/routes.go:22–22  ·  view source on GitHub ↗
(hostname string, domain models.DomainFields, path string, port int, useRandomPort bool)

Source from the content-addressed store, hash-verified

20type RouteActor interface {
21 CreateRandomTCPRoute(domain models.DomainFields) (models.Route, error)
22 FindOrCreateRoute(hostname string, domain models.DomainFields, path string, port int, useRandomPort bool) (models.Route, error)
23 BindRoute(app models.Application, route models.Route) error
24 UnbindAll(app models.Application) error
25 FindDomain(routeName string) (string, models.DomainFields, error)

Callers 2

createAndBindRouteMethod · 0.65
routes_test.goFile · 0.65

Implementers 2

routeActorcf/actors/routes.go
FakeRouteActorcf/actors/actorsfakes/fake_route_actor

Calls

no outgoing calls

Tested by

no test coverage detected