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

Function LookupGuidedFailureModeString

pkg/executionscommon/executionscommon.go:328–339  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

326}
327
328func LookupGuidedFailureModeString(value string) string {
329 switch value {
330 case "", "default":
331 return "Use default setting from the target environment"
332 case "true", "True":
333 return "Use guided failure mode"
334 case "false", "False":
335 return "Do not use guided failure mode"
336 default:
337 return fmt.Sprintf("Unknown %s", value)
338 }
339}
340
341func LookupPackageDownloadString(value bool) string {
342 if value {

Callers 2

PrintAdvancedSummaryFunction · 0.92
PrintAdvancedSummaryFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected