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

Function GetAllSpaces

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

Source from the content-addressed store, hash-verified

110}
111
112func GetAllSpaces(client client.Client) ([]*spaces.Space, error) {
113 res, err := client.Spaces.GetAll()
114 if err != nil {
115 return nil, err
116 }
117
118 return res, nil
119}
120
121func GetAllTenants(client *client.Client) ([]*tenants.Tenant, error) {
122 res, err := client.Tenants.GetAll()

Callers 1

NewCreateOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected