code: func NewDeploymentsController(service *goa.Service, config *configuration.Registry) *DeploymentsController {
  	return &DeploymentsController{
  		Controller: service.NewController("DeploymentsController"),
  		Config:     config,
  		ClientGetter: &defaultClientGetter{
  			config: config,
  		},
  	}
  }
docs: // NewDeploymentsController creates a deployments controller.