(host string, domain models.DomainFields, path string, port int, useRandomPort bool)
| 124 | } |
| 125 | |
| 126 | func (repo CloudControllerRouteRepository) Create(host string, domain models.DomainFields, path string, port int, useRandomPort bool) (createdRoute models.Route, apiErr error) { |
| 127 | return repo.CreateInSpace(host, path, domain.GUID, repo.config.SpaceFields().GUID, port, useRandomPort) |
| 128 | } |
| 129 | |
| 130 | func (repo CloudControllerRouteRepository) CheckIfExists(host string, domain models.DomainFields, path string) (bool, error) { |
| 131 | path = normalizedPath(path) |
nothing calls this directly
no test coverage detected