MCPcopy Index your code
hub / github.com/cloudfoundry/cli / CreateInSpace

Method CreateInSpace

cf/api/routes.go:26–26  ·  view source on GitHub ↗
(host, path, domainGUID, spaceGUID string, port int, randomPort bool)

Source from the content-addressed store, hash-verified

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)
27 Bind(routeGUID, appGUID string) (apiErr error)
28 Unbind(routeGUID, appGUID string) (apiErr error)
29 Delete(routeGUID string) (apiErr error)

Callers 2

CreateRouteMethod · 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