MCPcopy
hub / github.com/cloudfoundry/cli / HaveRollbackOutput

Function HaveRollbackOutput

integration/v7/isolated/rollback_command_test.go:232–238  ·  view source on GitHub ↗
(appName, orgName, spaceName, userName string)

Source from the content-addressed store, hash-verified

230}
231
232func HaveRollbackOutput(appName, orgName, spaceName, userName string) *CLIMatcher {
233 return &CLIMatcher{Lines: []Line{
234 AppInOrgSpaceAsUser(appName, orgName, spaceName, userName),
235 KeyValue("name", appName),
236 KeyValue("routes", fmt.Sprintf("%s.%s", appName, helpers.DefaultSharedDomain())),
237 }}
238}
239
240// Per-style guide: https://github.com/cloudfoundry/cli/wiki/CF-CLI-Style-Guide#system-feedback--transparency
241func AppInOrgSpaceAsUser(appName, orgName, spaceName, userName string) Line {

Callers 1

Calls 3

DefaultSharedDomainFunction · 0.92
AppInOrgSpaceAsUserFunction · 0.85
KeyValueFunction · 0.85

Tested by

no test coverage detected