- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ListKubeContainers (0.22 sec)
-
cmd/kubeadm/app/util/runtime/runtime.go
condition.GetType(), condition.GetReason(), condition.GetMessage(), ) } } return nil } // ListKubeContainers lists running k8s CRI pods func (runtime *CRIRuntime) ListKubeContainers() ([]string, error) { ctx, cancel := defaultContext() defer cancel() sandboxes, err := runtime.impl.ListPodSandbox(ctx, runtime.runtimeService, nil) if err != 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) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go
containerRuntime := utilruntime.NewContainerRuntime(criSocketPath) if err := containerRuntime.Connect(); err != nil { return err } containers, err := containerRuntime.ListKubeContainers() if err != nil { return err } return containerRuntime.RemoveContainers(containers) } // resetConfigDir is used to cleanup the files in the folder defined in dirsToClean.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 7.1K bytes - Viewed (0)