- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ToAPIPod (0.06 sec)
-
pkg/kubelet/container/runtime.go
for _, c := range p.Sandboxes { if c.ID == id { return c } } return nil } // ToAPIPod converts Pod to v1.Pod. Note that if a field in v1.Pod has no // corresponding field in Pod, the field would not be populated. func (p *Pod) ToAPIPod() *v1.Pod { var pod v1.Pod pod.UID = p.ID pod.Name = p.Name pod.Namespace = p.Namespace for _, c := range p.Containers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0)