Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sandboxIDs (0.11 sec)

  1. cmd/kubeadm/app/util/runtime/runtime.go

    	ctx, cancel := defaultContext()
    	defer cancel()
    
    	sandboxes, err := runtime.impl.ListPodSandbox(ctx, runtime.runtimeService, nil)
    	if err != nil {
    		return nil, errors.Wrap(err, "failed to list pod sandboxes")
    	}
    
    	pods := []string{}
    	for _, sandbox := range sandboxes {
    		pods = append(pods, sandbox.GetId())
    	}
    	return pods, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top