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

Method Find

cf/api/routes.go:23–23  ·  view source on GitHub ↗
(host string, domain models.DomainFields, path string, port int)

Source from the content-addressed store, hash-verified

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)
26 CreateInSpace(host, path, domainGUID, spaceGUID string, port int, randomPort bool) (createdRoute models.Route, apiErr error)

Callers 9

ExecuteMethod · 0.65
ExecuteMethod · 0.65
ExecuteMethod · 0.65
ExecuteMethod · 0.65
CreateRouteMethod · 0.65
routes_test.goFile · 0.65
FindOrCreateRouteMethod · 0.65

Implementers 2

FakeRouteRepositorycf/api/apifakes/fake_route_repository.

Calls

no outgoing calls

Tested by

no test coverage detected