MCPcopy Index your code
hub / github.com/containerd/containerd / WithImageConfig

Function WithImageConfig

pkg/oci/spec_opts.go:366–368  ·  view source on GitHub ↗

WithImageConfig configures the spec to from the configuration of an Image

(image Image)

Source from the content-addressed store, hash-verified

364
365// WithImageConfig configures the spec to from the configuration of an Image
366func WithImageConfig(image Image) SpecOpts {
367 return WithImageConfigArgs(image, nil)
368}
369
370// WithImageConfigArgs configures the spec to from the configuration of an Image with additional args that
371// replaces the CMD of the image

Callers 15

testExportImportFunction · 0.92
TestContainerStartFunction · 0.92
TestContainerOutputFunction · 0.92
TestContainerWaitFunction · 0.92
TestContainerExecFunction · 0.92
TestContainerPidsFunction · 0.92
TestContainerCloseIOFunction · 0.92
TestContainerKillFunction · 0.92

Calls 1

WithImageConfigArgsFunction · 0.85

Tested by 15

testExportImportFunction · 0.74
TestContainerStartFunction · 0.74
TestContainerOutputFunction · 0.74
TestContainerWaitFunction · 0.74
TestContainerExecFunction · 0.74
TestContainerPidsFunction · 0.74
TestContainerCloseIOFunction · 0.74
TestContainerKillFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…