(client *client.Client)
| 119 | } |
| 120 | |
| 121 | func GetAllTenants(client *client.Client) ([]*tenants.Tenant, error) { |
| 122 | res, err := client.Tenants.GetAll() |
| 123 | if err != nil { |
| 124 | return nil, err |
| 125 | } |
| 126 | |
| 127 | return res, nil |
| 128 | } |
| 129 | |
| 130 | func GetTenant(client *client.Client, identifier string) (*tenants.Tenant, error) { |
| 131 | res, err := client.Tenants.GetByIdentifier(identifier) |
no outgoing calls
no test coverage detected