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

Function NewDeleteOptions

pkg/cmd/worker/delete/delete.go:26–31  ·  view source on GitHub ↗
(dependencies *cmd.Dependencies)

Source from the content-addressed store, hash-verified

24}
25
26func NewDeleteOptions(dependencies *cmd.Dependencies) *DeleteOptions {
27 return &DeleteOptions{
28 Dependencies: dependencies,
29 GetWorkersOptions: shared.NewGetWorkersOptions(dependencies, nil),
30 }
31}
32
33func NewCmdDelete(f factory.Factory) *cobra.Command {
34 var skipConfirmation bool

Callers 1

NewCmdDeleteFunction · 0.70

Calls 1

NewGetWorkersOptionsFunction · 0.92

Tested by

no test coverage detected