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

Function GetAllUsers

pkg/cmd/tenant/shared/shared.go:103–110  ·  view source on GitHub ↗
(client client.Client)

Source from the content-addressed store, hash-verified

101}
102
103func GetAllUsers(client client.Client) ([]*users.User, error) {
104 res, err := client.Users.GetAll()
105 if err != nil {
106 return nil, err
107 }
108
109 return res, nil
110}
111
112func GetAllSpaces(client client.Client) ([]*spaces.Space, error) {
113 res, err := client.Spaces.GetAll()

Callers 1

NewCreateOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected