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

Function NewCloudControllerRepository

cf/api/password/password.go:25–29  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

23}
24
25func NewCloudControllerRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerRepository) {
26 repo.config = config
27 repo.gateway = gateway
28 return
29}
30
31func (repo CloudControllerRepository) UpdatePassword(old string, new string) error {
32 uaaEndpoint := repo.config.UaaEndpoint()

Callers 2

NewRepositoryLocatorFunction · 0.92
createPasswordRepoFunction · 0.70

Calls

no outgoing calls

Tested by 1

createPasswordRepoFunction · 0.56