MCPcopy Index your code
hub / github.com/cloudfoundry/cli / QuickDeleteApp

Function QuickDeleteApp

integration/helpers/app.go:26–31  ·  view source on GitHub ↗

QuickDeleteApp deletes the app with the given name, if provided, using 'cf curl /v3/app... -X DELETE'.

(appName string)

Source from the content-addressed store, hash-verified

24// QuickDeleteApp deletes the app with the given name, if provided, using
25// 'cf curl /v3/app... -X DELETE'.
26func QuickDeleteApp(appName string) {
27 guid := AppGUID(appName)
28 url := fmt.Sprintf("/v3/apps/%s", guid)
29 session := CF("curl", "-X", "DELETE", url)
30 Eventually(session).Should(Exit(0))
31}
32
33// WithHelloWorldApp creates a simple application to use with your CLI command
34// (typically CF Push). When pushing, be aware of specifying '-b

Callers 1

Calls 2

AppGUIDFunction · 0.85
CFFunction · 0.85

Tested by

no test coverage detected