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

Function NewRoutingAPIRepository

cf/api/routing_api.go:22–27  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

20}
21
22func NewRoutingAPIRepository(config coreconfig.Reader, gateway net.Gateway) RoutingAPIRepository {
23 return routingAPIRepository{
24 config: config,
25 gateway: gateway,
26 }
27}
28
29func (r routingAPIRepository) ListRouterGroups(cb func(models.RouterGroup) bool) (apiErr error) {
30 routerGroups := models.RouterGroups{}

Callers 2

NewRepositoryLocatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected