Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SandboxInfo ¶
type SandboxInfo struct { Pid uint32 `json:"pid"` Status string `json:"processStatus"` NetNSClosed bool `json:"netNamespaceClosed"` Image string `json:"image"` SnapshotKey string `json:"snapshotKey"` Snapshotter string `json:"snapshotter"` // Note: a new field `RuntimeHandler` has been added into the CRI PodSandboxStatus struct, and // should be set. This `RuntimeHandler` field will be deprecated after containerd 1.3 (tracked // in https://github.com/containerd/cri/issues/1064). RuntimeHandler string `json:"runtimeHandler"` // see the Note above RuntimeType string `json:"runtimeType"` RuntimeOptions interface{} `json:"runtimeOptions"` Config *runtime.PodSandboxConfig `json:"config"` // Note: RuntimeSpec may not be populated if the sandbox has not been fully created. RuntimeSpec *specs.Spec `json:"runtimeSpec"` CNIResult *cni.Result `json:"cniResult"` Metadata *sandbox.Metadata `json:"sandboxMetadata"` }
SandboxInfo is extra information for sandbox. TODO (mikebrow): discuss predefining constants structures for some or all of these field names in CRI
Click to show internal directories.
Click to hide internal directories.