Add pod log directory.
(dir string)
| 250 | |
| 251 | // Add pod log directory. |
| 252 | func WithPodLogDirectory(dir string) PodSandboxOpts { |
| 253 | return func(p *runtime.PodSandboxConfig) { |
| 254 | p.LogDirectory = dir |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | // Add pod hostname. |
| 259 | func WithPodHostname(hostname string) PodSandboxOpts { |
no outgoing calls
no test coverage detected
searching dependent graphs…