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

Function FindProject

pkg/question/selectors/projects.go:20–27  ·  view source on GitHub ↗
(octopus *octopusApiClient.Client, projectIdentifier string)

Source from the content-addressed store, hash-verified

18}
19
20func FindProject(octopus *octopusApiClient.Client, projectIdentifier string) (*projects.Project, error) {
21 project, err := octopus.Projects.GetByIdentifier(projectIdentifier)
22 if err != nil {
23 return nil, err
24 }
25
26 return project, nil
27}

Callers 13

deployRunFunction · 0.92
AskQuestionsFunction · 0.92
deleteRunFunction · 0.92
listRunFunction · 0.92
GetReleaseIDFunction · 0.92
createRunFunction · 0.92
AskQuestionsFunction · 0.92
listRunFunction · 0.92
listRunFunction · 0.92
createRunFunction · 0.92
publishRunFunction · 0.92
selectProjectFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected