- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MakePod (0.06 sec)
-
cni/pkg/repair/repair_test_helpers.go
// Pod specs var ( brokenPodTerminating = makePod(makePodArgs{ PodName: "broken-pod-terminating", Annotations: map[string]string{ "sidecar.istio.io/status": "something", }, Labels: map[string]string{ "testlabel": "true", }, NodeName: "test-node", InitContainerStatus: &brokenInitContainerTerminating, }) brokenPodWaiting = makePod(makePodArgs{ PodName: "broken-pod-waiting",
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Fri May 12 17:39:53 UTC 2023 - 4.7K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
"istio.io/istio/tools/istio-iptables/pkg/constants" ) func TestMatchesFilter(t *testing.T) { makeDetectPod := func(name string, terminationMessage string, exitCode int) *corev1.Pod { return makePod(makePodArgs{ PodName: name, Annotations: map[string]string{"sidecar.istio.io/status": "something"}, InitContainerStatus: &corev1.ContainerStatus{ Name: constants.ValidationContainerName,
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
} } func buildFakeDryRunPod() *corev1.Pod { app := corev1.Container{Name: "test"} proxy := corev1.Container{Name: "istio-proxy"} validate := corev1.Container{Name: "istio-validate"} fakePod := &corev1.Pod{ TypeMeta: metav1.TypeMeta{ APIVersion: "core/v1", Kind: "Pod", }, ObjectMeta: metav1.ObjectMeta{ Name: testPodName, Namespace: testNSName,
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
ambientEnabled, "mock", ) } func buildFakePodAndNSForClient() (*corev1.Pod, *corev1.Namespace) { proxy := corev1.Container{Name: "mockContainer"} app := corev1.Container{Name: "foo-init"} fakePod := &corev1.Pod{ TypeMeta: metav1.TypeMeta{ APIVersion: "core/v1", Kind: "Pod", }, ObjectMeta: metav1.ObjectMeta{ Name: testPodName, Namespace: testNSName,
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0)