MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Reload

Method Reload

command/v7/login_command.go:32–39  ·  view source on GitHub ↗
(config command.Config, ui command.UI)

Source from the content-addressed store, hash-verified

30type ActualActorReloader struct{}
31
32func (a ActualActorReloader) Reload(config command.Config, ui command.UI) (Actor, error) {
33 ccClient, uaaClient, routingClient, err := shared.GetNewClientsAndConnectToCF(config, ui, "")
34 if err != nil {
35 return nil, err
36 }
37
38 return v7action.NewActor(ccClient, config, nil, uaaClient, routingClient, clock.NewClock()), nil
39}
40
41const maxLoginTries = 3
42

Callers

nothing calls this directly

Calls 2

NewActorFunction · 0.92

Tested by

no test coverage detected