MCPcopy Create free account
hub / github.com/containerd/nerdctl / CleanUp

Method CleanUp

pkg/testutil/compose.go:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func (cd *ComposeDir) CleanUp() {
59 os.RemoveAll(cd.dir)
60}
61
62func NewComposeDir(t tig.T, dockerComposeYAML string) *ComposeDir {
63 tmpDir, err := os.MkdirTemp("", "nerdctl-compose-test")

Callers 15

TestParseFunction · 0.95
TestParseDeprecatedFunction · 0.95
TestParseDeployFunction · 0.95
TestParseDevicesFunction · 0.95
TestParseRelativeFunction · 0.95
TestParseNetworkModeFunction · 0.95
TestParseConfigsFunction · 0.95
TestParseRestartPolicyFunction · 0.95
TestParseHealthCheckFunction · 0.95
TestParseBuildFunction · 0.95

Calls

no outgoing calls

Tested by 15

TestParseFunction · 0.76
TestParseDeprecatedFunction · 0.76
TestParseDeployFunction · 0.76
TestParseDevicesFunction · 0.76
TestParseRelativeFunction · 0.76
TestParseNetworkModeFunction · 0.76
TestParseConfigsFunction · 0.76
TestParseRestartPolicyFunction · 0.76
TestParseHealthCheckFunction · 0.76
TestParseBuildFunction · 0.76