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

Function NewRouteActor

cf/actors/routes.go:37–43  ·  view source on GitHub ↗
(ui terminal.UI, routeRepo api.RouteRepository, domainRepo api.DomainRepository)

Source from the content-addressed store, hash-verified

35}
36
37func NewRouteActor(ui terminal.UI, routeRepo api.RouteRepository, domainRepo api.DomainRepository) routeActor {
38 return routeActor{
39 ui: ui,
40 routeRepo: routeRepo,
41 domainRepo: domainRepo,
42 }
43}
44
45func (routeActor routeActor) CreateRandomTCPRoute(domain models.DomainFields) (models.Route, error) {
46 routeActor.ui.Say(T("Creating random route for {{.Domain}}", map[string]interface{}{

Callers 2

NewDependencyFunction · 0.92
routes_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected