- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for PodList (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
}, "normalFiltered": { in: &example.PodList{Items: []example.Pod{*podA, *podB}}, m: matchPodName("foo"), out: &example.PodList{Items: []example.Pod{*podB}}, }, "normalFilteredNoNamespace": { in: &example.PodList{Items: []example.Pod{*podA, *podB}}, m: matchPodName("foo"), out: &example.PodList{Items: []example.Pod{*podB}}, context: noNamespaceContext, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
pods = []*v1.Pod{} testKubelet.fakeRuntime.PodList = []*containertest.FakePod{{Pod: runningPod, NetnsPath: ""}} syncAndVerifyPodDir(t, testKubelet, pods, []*v1.Pod{apiPod}, true) // The pod is deleted and also not active on the node. The pod directory // should be removed. pods = []*v1.Pod{} testKubelet.fakeRuntime.PodList = []*containertest.FakePod{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
obj := &v1.PodList{} // selector should be in form: "name=dummy-target-X" where X is the number of resource selector := action.(core.ListAction).GetListRestrictions().Labels parsedSelector := strings.Split(selector.String(), "=") // list with filter if len(parsedSelector) > 1 { obj.Items = append(obj.Items, *podList[parsedSelector[1]]) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
) func printPodList(podList *api.PodList, options printers.GenerateOptions) ([]metav1.TableRow, error) { rows := make([]metav1.TableRow, 0, len(podList.Items)) for i := range podList.Items { r, err := printPod(&podList.Items[i], options) if err != nil { return nil, err } rows = append(rows, r...) } return rows, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
func (in *PodList) DeepCopy() *PodList { if in == nil { return nil } out := new(PodList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *PodList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
func (in *PodList) DeepCopy() *PodList { if in == nil { return nil } out := new(PodList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *PodList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
ctx := context.Background() testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */) defer testKubelet.Cleanup() kubelet := testKubelet.kubelet fakeRuntime := testKubelet.fakeRuntime fakeRuntime.PodList = []*containertest.FakePod{} podName := "podFoo" podNamespace := "nsFoo" containerName := "containerFoo" output, err := kubelet.RunInContainer( ctx,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
} } } func TestPrintPodList(t *testing.T) { tests := []struct { pods api.PodList expect []metav1.TableRow }{ // Test podList's pod: name, num of containers, restarts, container ready status { api.PodList{ Items: []api.Pod{ { ObjectMeta: metav1.ObjectMeta{Name: "test1"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0)