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

Function GetAllProjects

pkg/cmd/tenant/shared/shared.go:139–146  ·  view source on GitHub ↗
(client *client.Client)

Source from the content-addressed store, hash-verified

137}
138
139func GetAllProjects(client *client.Client) ([]*projects.Project, error) {
140 res, err := client.Projects.GetAll()
141 if err != nil {
142 return nil, err
143 }
144
145 return res, nil
146}
147
148func GetProject(client *client.Client, identifier string) (*projects.Project, error) {
149 res, err := client.Projects.GetByIdentifier(identifier)

Callers 10

NewUpdateOptionsFunction · 0.92
NewExcludeOptionsFunction · 0.92
NewCreateOptionsFunction · 0.92
NewIncludeOptionsFunction · 0.92
NewCloneOptionsFunction · 0.92
NewConvertOptionsFunction · 0.92
NewCreateOptionsFunction · 0.92
NewUpdateOptionsFunction · 0.92
NewConnectOptionsFunction · 0.92
NewDisconnectOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected