Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for fakefs (0.15 sec)

  1. istioctl/pkg/tag/tag.go

    	out, err := json.MarshalIndent(res, "", "\t")
    	if err != nil {
    		return fmt.Errorf("error while marshaling to JSON: %v", err)
    	}
    	fmt.Fprintln(w, string(out))
    	return nil
    }
    
    // buildDeleteTagConfirmation takes a list of webhooks and creates a message prompting confirmation for their deletion.
    func buildDeleteTagConfirmation(tag string, taggedNamespaces []string) string {
    	var sb strings.Builder
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  2. 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 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // claims in a way that maintains the identity of a pod. Every claim in
      // this list must have at least one matching (by name) volumeMount in one
      // container in the template. A claim in this list takes precedence over
      // any volumes in the template, with the same name.
      // TODO: Define the behavior if a claim already exists with the same name.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  4. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                              type: string
                            retryOn:
                              description: Specifies the conditions under which retry
                                takes place.
                              type: string
                            retryRemoteLocalities:
                              description: Flag to specify whether the retries should
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  5. architecture/ambient/ztunnel.md

    Ztunnel was not designed to be a feature-rich data plane.
    Quite the opposite - an *aggressively* small feature set is the key feature that makes ztunnel viable.
    It very intentionally does not offer L7 (HTTP) functionality, for instance, which would likely violate some of the goals above, without contributing to them.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/ztunnelserver_test.go

    	}
    	sendAck(ztunClient)
    
    	ztunClient.Close()
    	// this will retry for a bit, so shouldn't flake
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(0))
    }
    
    func podAndNetns() (*v1.Pod, *fakeNs) {
    	devNull, err := os.Open(os.DevNull)
    	if err != nil {
    		panic(err)
    	}
    	// we can't close this now, because we need to pass it from the ztunnel server to the client
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  8. 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 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. 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 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 556 bytes
    - Viewed (0)
  10. 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 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1K bytes
    - Viewed (0)
Back to top