// ListPodSandbox returns a list of PodSandboxes.
ListPodSandbox returns a list of PodSandboxes.
// ListPodSandbox returns a list of PodSandboxes .
func (p *PrivilegedRuntime) ListPodSandbox(filter *kubeapi.PodSandboxFilter) ([]*kubeapi.PodSandbox, error) {
	request := &kubeapi.ListPodSandboxRequest{
		Filter: filter,
	}
	logrus.Debugf("ListPodSandboxRequest: %v", request)
	r, err := runtimeClient.ListPodSandbox(context.Background(), request)
	logrus.Debugf("ListPodSandboxResponse: %v", r)
	if err != nil {
		return nil, err
	}
	return r.Items, nil
}
func ( p * PrivilegedRuntime ) ListPodSandbox ( filter * kubeapi . PodSandboxFilter ) ( [ ] * kubeapi . PodSandbox , error ) { request := & kubeapi . ListPodSandboxRequest { Filter : filter , } logrus . Debugf ( " " , request ) r , err := runtimeClient . ListPodSandbox ( context . Background ( ) , request ) logrus . Debugf ( " " , r ) if err != nil { return nil , err } return r . Items , nil }
ListPodSandbox returns a list of PodSandboxes.
ListPodSandbox returns a list of PodSandboxes .