(client *client.Client)
| 148 | } |
| 149 | |
| 150 | func GetAllProjects(client *client.Client) ([]*projects.Project, error) { |
| 151 | res, err := client.Projects.GetAll() |
| 152 | if err != nil { |
| 153 | return nil, err |
| 154 | } |
| 155 | |
| 156 | return res, nil |
| 157 | } |
| 158 | |
| 159 | func GetProject(octopus *client.Client, projectIdentifier string) (*projects.Project, error) { |
| 160 | project, err := octopus.Projects.GetByIdentifier(projectIdentifier) |
no outgoing calls
no test coverage detected