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

Function NewSystemDependencies

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

Source from the content-addressed store, hash-verified

37}
38
39func NewSystemDependencies(f factory.Factory, cmd *cobra.Command) *Dependencies {
40 client, err := f.GetSystemClient(apiclient.NewRequester(cmd))
41 if err != nil {
42 panic(err)
43 }
44 return newDependencies(f, cmd, client)
45}
46
47func newDependencies(f factory.Factory, cmd *cobra.Command, client *client.Client) *Dependencies {
48 return &Dependencies{

Callers 1

NewCreateOptionsFunction · 0.92

Calls 3

NewRequesterFunction · 0.92
newDependenciesFunction · 0.85
GetSystemClientMethod · 0.65

Tested by

no test coverage detected