- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 195 for fake (0.14 sec)
-
cni/pkg/nodeagent/server_test.go
server := &fakeServer{} server.Start(fakeCtx) server.On("DelPodFromMesh", fakeCtx, pod, ).Return(errors.New("fake error")) fakeClientSet := fake.NewSimpleClientset() m := meshDataplane{ kubeClient: fakeClientSet, netServer: server, } // pod is not in fake client, so if this will try to remove annotation, it will fail. err := m.DelPodFromMesh(fakeCtx, pod) assert.Error(t, err) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 7.8K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
istioNamespace: constants.IstioSystemNamespace, watchedNamespaces: constants.IstioSystemNamespace, operatorNamespace: operatorDefaultNamespace, // placeholders, since the fake API server does not actually pull images and create pods. hub: "fake hub", tag: "fake tag", } _, mstr, err := renderOperatorManifest(nil, ocArgs) if err != nil { return err } if err := applyWithReconciler(reconciler, mstr); err != nil {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
istioctl/pkg/waypoint/waypoint_test.go
makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true), }, expectedOutFile: "default-gateway", }, { name: "all namespaces gateways", args: strings.Split("list -A", " "), gateways: []*gateway.Gateway{ makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true), makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true), }, expectedOutFile: "all-gateway", },
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
ns := scheme.Codecs.WithoutConversion() codec := scheme.Codecs.LegacyCodec(scheme.Scheme.PrioritizedVersionsAllGroups()...) factory.Client = &fake.RESTClient{ GroupVersion: schema.GroupVersion{Group: "", Version: "v1"}, NegotiatedSerializer: ns, Client: fake.CreateHTTPClient(func(req *http.Request) (*http.Response, error) { switch p, m := req.URL.Path, req.Method; {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/root-cert.pem.golden
fake-CA-cert...
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 12 bytes - Viewed (0) -
istioctl/pkg/kubeinject/testdata/deployment/hello-with-proxyconfig-anno.yaml
labels: app: hello tier: backend track: stable spec: containers: - name: hello image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports: - name: http
Others - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 556 bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
"github.com/spf13/cobra" "google.golang.org/grpc" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/cli-runtime/pkg/resource" "k8s.io/client-go/rest/fake" cmdtesting "k8s.io/kubectl/pkg/cmd/testing" cmdutil "k8s.io/kubectl/pkg/cmd/util" "istio.io/api/label" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/testdata/deployment/hello.yaml.injected
creationTimestamp: null labels: app: hello tier: backend track: stable spec: containers: - image: fake.docker.io/google-samples/hello-go-gke:1.0 name: hello ports: - containerPort: 80 name: http resources: {} - image: docker.io/istio/proxy_debug:unittest
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
ObjectMeta: metav1.ObjectMeta{ Name: "bookinfo", Namespace: "default", }, Spec: v1alpha32.VirtualService{ Hosts: []string{"productpage"}, Gateways: []string{"fake-gw"}, Http: []*v1alpha32.HTTPRoute{ { Match: []*v1alpha32.HTTPMatchRequest{ { Uri: &v1alpha32.StringMatch{ MatchType: &v1alpha32.StringMatch_Prefix{
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
// Namespaces could be anything though, so we watch all of those // // NOTE that we are requeueing namespaces here explicitly to work around // test flakes with the fake kube client in `pkg/kube/client.go` - // because we are using `List()` in the handler, without this requeue, // the fake client will sometimes drop pod events leading to test flakes. // // WaitForCacheSync *helps*, but does not entirely fix this problem
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 9.9K bytes - Viewed (0)