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

Function WithPodLogDirectory

integration/main_test.go:252–256  ·  view source on GitHub ↗

Add pod log directory.

(dir string)

Source from the content-addressed store, hash-verified

250
251// Add pod log directory.
252func WithPodLogDirectory(dir string) PodSandboxOpts {
253 return func(p *runtime.PodSandboxConfig) {
254 p.LogDirectory = dir
255 }
256}
257
258// Add pod hostname.
259func WithPodHostname(hostname string) PodSandboxOpts {

Callers 15

TestPodUserNSFunction · 0.85
TestIssue10598Function · 0.85
TestLongContainerLogFunction · 0.85
TestAdditionalGidsFunction · 0.85
TestWindowsRootfsSizeFunction · 0.85
execToExistingContainerFunction · 0.85
TestPodDualStackFunction · 0.85
TestWindowsDeviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…