MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewDependencies

Function NewDependencies

pkg/cmd/dependencies.go:30–37  ·  view source on GitHub ↗
(f factory.Factory, cmd *cobra.Command)

Source from the content-addressed store, hash-verified

28}
29
30func NewDependencies(f factory.Factory, cmd *cobra.Command) *Dependencies {
31 client, err := f.GetSpacedClient(apiclient.NewRequester(cmd))
32 if err != nil {
33 panic(err)
34 }
35
36 return newDependencies(f, cmd, client)
37}
38
39func NewSystemDependencies(f factory.Factory, cmd *cobra.Command) *Dependencies {
40 client, err := f.GetSystemClient(apiclient.NewRequester(cmd))

Callers 2

createRunFunction · 0.92

Calls 3

NewRequesterFunction · 0.92
newDependenciesFunction · 0.85
GetSpacedClientMethod · 0.65

Tested by

no test coverage detected