(config coreconfig.Reader, gateway net.Gateway)
| 36 | } |
| 37 | |
| 38 | func NewCloudControllerRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerRepository) { |
| 39 | repo.config = config |
| 40 | repo.gateway = gateway |
| 41 | return |
| 42 | } |
| 43 | |
| 44 | func (repo CloudControllerRepository) Create(params models.AppParams) (models.Application, error) { |
| 45 | appResource := resources.NewApplicationEntityFromAppParams(params) |
no outgoing calls