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

Function DeleteGitRunbook

pkg/cmd/runbook/shared/shared.go:141–148  ·  view source on GitHub ↗
(client *client.Client, runbook *runbooks.Runbook, gitRef string)

Source from the content-addressed store, hash-verified

139}
140
141func DeleteGitRunbook(client *client.Client, runbook *runbooks.Runbook, gitRef string) error {
142 err := runbooks.DeleteGitRunbook(client, runbook.SpaceID, runbook.ProjectID, gitRef, runbook.ID)
143 if err != nil {
144 return err
145 }
146
147 return nil
148}
149
150func GetAllProjects(client *client.Client) ([]*projects.Project, error) {
151 res, err := client.Projects.GetAll()

Callers 1

NewGetRunbooksOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected