MCPcopy
hub / github.com/cloudfoundry/cli / ListRoutes

Method ListRoutes

cf/api/routes.go:21–21  ·  view source on GitHub ↗
(cb func(models.Route) bool)

Source from the content-addressed store, hash-verified

19
20type RouteRepository interface {
21 ListRoutes(cb func(models.Route) bool) (apiErr error)
22 ListAllRoutes(cb func(models.Route) bool) (apiErr error)
23 Find(host string, domain models.DomainFields, path string, port int) (route models.Route, apiErr error)
24 Create(host string, domain models.DomainFields, path string, port int, useRandomPort bool) (createdRoute models.Route, apiErr error)

Callers 3

ExecuteMethod · 0.65
ExecuteMethod · 0.65
routes_test.goFile · 0.65

Implementers 2

FakeRouteRepositorycf/api/apifakes/fake_route_repository.

Calls

no outgoing calls

Tested by

no test coverage detected