- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for armerror (0.18 sec)
-
istioctl/pkg/util/formatting/formatter_test.go
diag.MockResource("GrandCastle"), "the castle is too old", ) msgs := diag.Messages{firstMsg, secondMsg} output, _ := Print(msgs, LogFormat, true) g.Expect(output).To(Equal( "\033[1;31mError\033[0m [B1] (SoapBubble) Explosion accident: the bubble is too big\n" + "\033[33mWarning\033[0m [C1] (GrandCastle) Collapse danger: the castle is too old", )) } func TestFormatter_PrintJSON(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 4.1K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
netServer := fixture.netServer ztunnelServer := fixture.ztunnelServer podMeta := metav1.ObjectMeta{ Name: "foo", Namespace: "bar", UID: "123", } ztunnelServer.addError = errors.New("fake error") podIP := netip.MustParseAddr("99.9.9.9") podIPs := []netip.Addr{podIP} expectPodAddedToIPSet(fixture.ipsetDeps, podMeta)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
deletedPods atomic.Int32 addedPods atomic.Int32 addError error } func (f *fakeZtunnel) Run(ctx context.Context) { } func (f *fakeZtunnel) PodDeleted(ctx context.Context, uid string) error { f.deletedPods.Add(1) return nil } func (f *fakeZtunnel) PodAdded(ctx context.Context, pod *corev1.Pod, netns Netns) error { f.addedPods.Add(1) return f.addError } func (f *fakeZtunnel) Close() error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0)