MCPcopy
hub / github.com/docker/compose / RunDockerComposeCmdNoCheck

Method RunDockerComposeCmdNoCheck

pkg/e2e/framework.go:369–375  ·  pkg/e2e/framework.go::CLI.RunDockerComposeCmdNoCheck

RunDockerComposeCmdNoCheck runs a docker compose command, don't presume of any expectation and returns a result

(t testing.TB, args ...string)

Source from the content-addressed store, hash-verified

367
368// RunDockerComposeCmdNoCheck runs a docker compose command, don't presume of any expectation and returns a result
369func (c *CLI) RunDockerComposeCmdNoCheck(t testing.TB, args ...string) *icmd.Result {
370 t.Helper()
371 cmd := c.NewDockerComposeCmd(t, args...)
372 cmd.Stdout = os.Stdout
373 t.Logf("Running command: %s", strings.Join(cmd.Command, " "))
374 return icmd.RunCmd(cmd)
375}
376
377// NewDockerComposeCmd creates a command object for Compose, either in plugin
378// or standalone mode (based on build tags).

Callers 15

TestCascadeFailFunction · 0.95
doTestFunction · 0.95
TestWatchExecFunction · 0.95
TestWatchMultiServicesFunction · 0.95
TestWatchIncludesFunction · 0.95
NewCLIFunction · 0.95
RunDockerComposeCmdMethod · 0.95
TestPostStartHookInErrorFunction · 0.80
TestPreStopHookInErrorFunction · 0.80

Calls 2

NewDockerComposeCmdMethod · 0.95
RunCmdMethod · 0.80

Tested by 15

TestCascadeFailFunction · 0.76
doTestFunction · 0.76
TestWatchExecFunction · 0.76
TestWatchMultiServicesFunction · 0.76
TestWatchIncludesFunction · 0.76
TestPostStartHookInErrorFunction · 0.64
TestPreStopHookInErrorFunction · 0.64
TestPreStartHookInErrorFunction · 0.64