(client *client.Client, identifier string)
| 128 | } |
| 129 | |
| 130 | func GetTenant(client *client.Client, identifier string) (*tenants.Tenant, error) { |
| 131 | res, err := client.Tenants.GetByIdentifier(identifier) |
| 132 | if err != nil { |
| 133 | return nil, err |
| 134 | } |
| 135 | |
| 136 | return res, nil |
| 137 | } |
| 138 | |
| 139 | func GetAllProjects(client *client.Client) ([]*projects.Project, error) { |
| 140 | res, err := client.Projects.GetAll() |
no outgoing calls
no test coverage detected