(config coreconfig.Reader, gateway net.Gateway)
| 28 | } |
| 29 | |
| 30 | func NewCloudControllerServiceKeyRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerServiceKeyRepository) { |
| 31 | return CloudControllerServiceKeyRepository{ |
| 32 | config: config, |
| 33 | gateway: gateway, |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | func (c CloudControllerServiceKeyRepository) CreateServiceKey(instanceGUID string, keyName string, params map[string]interface{}) error { |
| 38 | path := "/v2/service_keys" |
no outgoing calls
no test coverage detected