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

Method ListAllRoutes

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

Source from the content-addressed store, hash-verified

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)
25 CheckIfExists(host string, domain models.DomainFields, path string) (found bool, apiErr error)

Callers 2

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