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

Function GetProject

pkg/cmd/runbook/shared/shared.go:159–166  ·  view source on GitHub ↗
(octopus *client.Client, projectIdentifier string)

Source from the content-addressed store, hash-verified

157}
158
159func GetProject(octopus *client.Client, projectIdentifier string) (*projects.Project, error) {
160 project, err := octopus.Projects.GetByIdentifier(projectIdentifier)
161 if err != nil {
162 return nil, err
163 }
164
165 return project, nil
166}
167
168func AreRunbooksInGit(project *projects.Project) bool {
169 inGit := false

Callers 1

NewGetRunbooksOptionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected