MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / NewCloudFoundryContext

Function NewCloudFoundryContext

util/cf_context.go:15–17  ·  view source on GitHub ↗
(cliConnection plugin.CliConnection)

Source from the content-addressed store, hash-verified

13}
14
15func NewCloudFoundryContext(cliConnection plugin.CliConnection) CloudFoundryContext {
16 return CloudFoundryContext{cliConnection: cliConnection}
17}
18
19// GetOrg gets the current org from the CLI connection
20func (c *CloudFoundryContext) GetOrg() (plugin_models.Organization, error) {

Callers 2

GetCFTargetMethod · 0.92
cf_context_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected