MCPcopy Create free account
hub / github.com/docker/cli / TestValidateIsolation

Function TestValidateIsolation

cli/compose/schema/schema_test.go:298–309  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

296}
297
298func TestValidateIsolation(t *testing.T) {
299 config := dict{
300 "version": "3.5",
301 "services": dict{
302 "foo": dict{
303 "image": "busybox",
304 "isolation": "some-isolation-value",
305 },
306 },
307 }
308 assert.NilError(t, Validate(config, "3.5"))
309}
310
311func TestValidateRollbackConfig(t *testing.T) {
312 config := dict{

Callers

nothing calls this directly

Calls 1

ValidateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…