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

Method Initialize

commands/mta_command.go:34–38  ·  view source on GitHub ↗
(name string, cliConnection plugin.CliConnection)

Source from the content-addressed store, hash-verified

32}
33
34func (c *MtaCommand) Initialize(name string, cliConnection plugin.CliConnection) {
35 c.BaseCommand.Initialize(name, cliConnection)
36 delegate := cfrestclient.NewCloudFoundryRestClient(cliConnection)
37 c.CfClient = resilient.NewResilientCloudFoundryClient(delegate, maxRetriesCount, retryIntervalInSeconds)
38}
39
40// GetPluginCommand returns the plugin command details
41func (c *MtaCommand) GetPluginCommand() plugin.Command {

Callers

nothing calls this directly

Calls 3

InitializeMethod · 0.65

Tested by

no test coverage detected