- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for Expect (0.31 sec)
-
cni/pkg/plugin/plugin_test.go
if len(mockIntercept.lastRedirect) == 0 { t.Fatalf("expected nsenterFunc to be called") } r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1] if r.includeInboundPorts != "*" { t.Fatalf("expect includeInboundPorts has value '*' set by istio, actual %v", r.includeInboundPorts) } } func TestCmdAddTwoContainersWithStarInboundPort(t *testing.T) { pod, ns := buildFakePodAndNSForClient()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
K8sServicePort: c.k8sServicePort, SkipTLSVerify: c.skipTLSVerify, } result, err := createKubeConfig(cfg) if err != nil { if !c.expectedFailure { t.Fatalf("did not expect failure: %v", err) } // Successful test case expecting failure return } else if c.expectedFailure { t.Fatalf("expected failure") } goldenFilepath := "testdata/kubeconfig-tls"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
if err != nil { t.Fatalf("could not parse webhook from generated YAML: %s", webhookYAML) } wh := whObject.(*admitv1.MutatingWebhookConfiguration) // expect both namespace.sidecar-injector.istio.io and object.sidecar-injector.istio.io webhooks if len(wh.Webhooks) != tc.numWebhooks { t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} case <-time.After(ztunnelKeepAliveCheckInterval): // do a short read, just to see if the connection to ztunnel is // still alive. As ztunnel shouldn't send anything unless we send // something first, we expect to get an os.ErrDeadlineExceeded error // here if the connection is still alive. // note that unlike tcp connections, reading is a good enough test here. _, err := conn.readMessage(time.Second / 100) switch {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
cni/pkg/install/install.go
// Install kubeconfig (if needed) - we write/update this in the shared node CNI netdir, // which may be watched by other CNIs, and so we don't want to trigger writes to this file // unless it's missing or the contents are not what we expect. if err := maybeWriteKubeConfigFile(in.cfg); err != nil { cniInstalls.With(resultLabel.Value(resultCreateKubeConfigFailure)).Increment() return copiedFiles, fmt.Errorf("write kubeconfig: %v", err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
netnsTaken := p.Take(string(pod.UID)) if netns1 != netnsTaken { t.Fatalf("Expected the original Netns for the same uid, got %p and %p", netns1, ns) } if nil != p.Take(string(pod.UID)) { // expect nil because we already took it t.Fatalf("Expected nil Netns for the same uid twice") } } var counter atomic.Int64 func inc() uintptr { return uintptr(counter.Add(1))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
t.Fatal(err) } for _, objs := range objss { g.Expect(objs.kind(name.HPAStr).size()).Should(Equal(3)) g.Expect(objs.kind(name.PDBStr).size()).Should(Equal(3)) g.Expect(objs.kind(name.ServiceStr).labels("istio=ingressgateway").size()).Should(Equal(3)) g.Expect(objs.kind(name.RoleStr).nameMatches(".*gateway.*").size()).Should(Equal(3)) g.Expect(objs.kind(name.RoleBindingStr).nameMatches(".*gateway.*").size()).Should(Equal(3))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
common/scripts/metallb-native.yaml
description: Authentication password for routers enforcing TCP MD5 authenticated sessions type: string peerASN: description: AS number to expect from the remote end of the session. format: int32 maximum: 4294967295 minimum: 0 type: integer peerAddress:
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Feb 23 23:56:31 GMT 2024 - 63.9K bytes - Viewed (0) -
common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto
// but is not limited to get, list, watch, create, update, patch, // delete, deletecollection, and proxy). Subresources may define // custom verbs outside the standard Kubernetes verb set. Clients // should expect the behavior of standard verbs to align with // Kubernetes interaction conventions. // +listType=set repeated string verbs = 4; }
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 7.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
) // Kubernetes a K8s specific struct to hold config type Kubernetes struct { Kubeconfig string `json:"kubeconfig"` ExcludeNamespaces []string `json:"exclude_namespaces"` } // Config is whatever you expect your configuration json to be. This is whatever // is passed in on stdin. Your plugin may wish to expose its functionality via // runtime args, see CONVENTIONS.md in the CNI spec. type Config struct { types.NetConf
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0)