- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ListPodSandbox (0.42 sec)
-
cmd/kubeadm/app/util/runtime/impl.go
return runtimeService.Status(ctx, verbose) } func (*defaultImpl) ListPodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, filter *runtimeapi.PodSandboxFilter) ([]*runtimeapi.PodSandbox, error) { return runtimeService.ListPodSandbox(ctx, filter) } func (*defaultImpl) StopPodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, sandboxID string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/kubelet/cm/helpers.go
func buildContainerMapAndRunningSetFromRuntime(ctx context.Context, runtimeService internalapi.RuntimeService) (containermap.ContainerMap, sets.Set[string]) { podSandboxMap := make(map[string]string) podSandboxList, _ := runtimeService.ListPodSandbox(ctx, nil) for _, p := range podSandboxList { podSandboxMap[p.Id] = p.Metadata.Uid } runningSet := sets.New[string]() containerMap := containermap.NewContainerMap()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 2.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/runtime/runtime_fake_test.go
} func (fake *fakeImpl) ImageStatusReturns(res *v1.ImageStatusResponse, err error) { fake.imageStatusReturns = struct { res *v1.ImageStatusResponse err error }{res, err} } func (fake *fakeImpl) ListPodSandbox(context.Context, cri.RuntimeService, *v1.PodSandboxFilter) ([]*v1.PodSandbox, error) { fakeReturns := fake.listPodSandboxReturns return fakeReturns.res, fakeReturns.err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 4K bytes - Viewed (0) -
cmd/kubeadm/app/util/runtime/runtime.go
} // 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 { return nil, errors.Wrap(err, "failed to list pod sandboxes") } pods := []string{} for _, sandbox := range sandboxes {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 06:33:22 UTC 2024 - 8.4K bytes - Viewed (0)