MCPcopy
hub / github.com/cloudfoundry/cli / SetOrganizationRepository

Method SetOrganizationRepository

cf/api/repository_locator.go:170–173  ·  view source on GitHub ↗
(repo organizations.OrganizationRepository)

Source from the content-addressed store, hash-verified

168}
169
170func (locator RepositoryLocator) SetOrganizationRepository(repo organizations.OrganizationRepository) RepositoryLocator {
171 locator.organizationRepo = repo
172 return locator
173}
174
175func (locator RepositoryLocator) GetOrganizationRepository() organizations.OrganizationRepository {
176 return locator.organizationRepo

Calls

no outgoing calls

Tested by

no test coverage detected