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

Function GetAllGroups

pkg/cmd/project/shared/shared.go:15–21  ·  view source on GitHub ↗
(client client.Client)

Source from the content-addressed store, hash-verified

13type GetAllGroupsCallback func() ([]*projectgroups.ProjectGroup, error)
14
15func GetAllGroups(client client.Client) ([]*projectgroups.ProjectGroup, error) {
16 res, err := client.ProjectGroups.GetAll()
17 if err != nil {
18 return nil, err
19 }
20 return res, nil
21}
22
23func CreateProjectGroup(dependencies *cmd.Dependencies) (string, cmd.Dependable, error) {
24 optValues := projectGroupCreate.NewCreateFlags()

Callers 1

NewCreateOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected