Home
last modified time | relevance | path

Searched refs:makeTestPod (Results 1 – 9 of 9) sorted by relevance

/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/apiserver/pkg/storage/cacher/
H A Dwatch_cache_test.go99 pod1 := makeTestPod("pod", 1)
111 pod2 := makeTestPod("pod", 2)
123 pod3 := makeTestPod("pod", 3)
132 store.Add(makeTestPod("pod1", 4))
133 store.Add(makeTestPod("pod2", 5))
153 makeTestPod("pod4", 7),
154 makeTestPod("pod5", 8),
179 store.Add(makeTestPod("pod", 3))
301 makeTestPod("pod1", 5),
302 makeTestPod("pod2", 9),
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/apiserver/pkg/storage/cacher/
H A Dwatch_cache_test.go99 pod1 := makeTestPod("pod", 1)
111 pod2 := makeTestPod("pod", 2)
123 pod3 := makeTestPod("pod", 3)
132 store.Add(makeTestPod("pod1", 4))
133 store.Add(makeTestPod("pod2", 5))
153 makeTestPod("pod4", 7),
154 makeTestPod("pod5", 8),
179 store.Add(makeTestPod("pod", 3))
301 makeTestPod("pod1", 5),
302 makeTestPod("pod2", 9),
[all …]
/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/apiserver/pkg/storage/tests/
H A Dcacher_test.go172 podFoo := makeTestPod("foo")
265 podFoo := makeTestPod("foo")
266 podBar := makeTestPod("bar")
267 podBaz := makeTestPod("baz")
351 podFoo := makeTestPod("foo")
418 podFoo := makeTestPod("foo")
419 podBar := makeTestPod("bar")
558 podFoo := makeTestPod("foo")
727 podFoo := makeTestPod("foo")
728 podBar := makeTestPod("bar")
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/apiserver/pkg/storage/tests/
H A Dcacher_test.go172 podFoo := makeTestPod("foo")
265 podFoo := makeTestPod("foo")
266 podBar := makeTestPod("bar")
267 podBaz := makeTestPod("baz")
351 podFoo := makeTestPod("foo")
418 podFoo := makeTestPod("foo")
419 podBar := makeTestPod("bar")
558 podFoo := makeTestPod("foo")
727 podFoo := makeTestPod("foo")
728 podBar := makeTestPod("bar")
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/lifecycle/
H A Dpredicate_test.go46 pod: makeTestPod(
53 expectedPod: makeTestPod(
60 pod: makeTestPod(
67 expectedPod: makeTestPod(
73 pod: makeTestPod(
80 expectedPod: makeTestPod(
95 func makeTestPod(requests, limits v1.ResourceList) *v1.Pod { func
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/security/podsecuritypolicy/apparmor/
H A Dstrategy_test.go153 pod, container := makeTestPod(test.podAnnotations)
164 func makeTestPod(annotations map[string]string) (*api.Pod, *api.Container) { func
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/kuberuntime/
H A Dkuberuntime_gc_test.go51 makeTestPod("foo1", "new", "1234", []v1.Container{
55 makeTestPod("foo2", "new", "5678", []v1.Container{
58 makeTestPod("deleted", "new", "9012", []v1.Container{
194 pod := makeTestPod(podName, "test-ns", podName, []v1.Container{container})
H A Dkuberuntime_manager_test.go207 func makeTestPod(podName, podNamespace, podUID string, containers []v1.Container) *v1.Pod { func
/dports/sysutils/kubectl/kubernetes-1.22.2/plugin/pkg/admission/noderestriction/
H A Dadmission_test.go46 func makeTestPod(namespace, name, node string, mirror bool) (*api.Pod, *corev1.Pod) { func
257 coremymirrorpod, v1mymirrorpod = makeTestPod("ns", "mymirrorpod", "mynode", true)
259 coreunboundmirrorpod, v1unboundmirrorpod = makeTestPod("ns", "unboundmirrorpod", "", true)
260 coremypod, v1mypod = makeTestPod("ns", "mypod", "mynode", false)
262 coreunboundpod, v1unboundpod = makeTestPod("ns", "unboundpod", "", false)
263 coreunnamedpod, _ = makeTestPod("ns", "", "mynode", false)
382 sapod, _ := makeTestPod("ns", "mysapod", "mynode", true)
385 secretpod, _ := makeTestPod("ns", "mysecretpod", "mynode", true)
388 configmappod, _ := makeTestPod("ns", "myconfigmappod", "mynode", true)
391 pvcpod, _ := makeTestPod("ns", "mypvcpod", "mynode", true)
[all …]