Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 201 for Lange (4.08 sec)

  1. istioctl/pkg/cli/context_test.go

    			wantNamespace:    "test",
    		},
    		{
    			description:      "return default namespace",
    			namespace:        "",
    			defaultNamespace: "default",
    			wantNamespace:    "default",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.description, func(t *testing.T) {
    			gotNs := handleNamespace(tt.namespace, tt.defaultNamespace)
    			if gotNs != tt.wantNamespace {
    				t.Fatalf("unexpected namespace: wanted %v got %v", tt.wantNamespace, gotNs)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. manifests/charts/istio-control/istio-discovery/files/grpc-simple.yaml

                  "id": "'${NODE_ID}'",
                  "metadata": {
                    "GENERATOR": "grpc"
                  }
                }
              }' > /var/lib/grpc/data/bootstrap.json
      containers:
      {{- range $index, $container := .Spec.Containers }}
      - name: {{ $container.Name }}
        env:
          - name: GRPC_XDS_BOOTSTRAP
            value: /var/lib/grpc/data/bootstrap.json
          - name: GRPC_GO_LOG_VERBOSITY_LEVEL
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 10 20:56:20 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/services.go

    		}
    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT")
    
    	for _, svc := range svcs {
    		var ip string
    		if len(svc.Addresses) > 0 {
    			_, ip, _ = strings.Cut(svc.Addresses[0], "/")
    		}
    		waypoint := serviceWaypointName(svc, zDump.Services)
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/google.go

    	ret, err := creds.GetRequestMetadata(ctx, uri...)
    	if err != nil {
    		return err
    	}
    	for k, v := range ret {
    		if !strings.EqualFold(k, "authorization") {
    			if _, ok := dst[k]; ok {
    				return fmt.Errorf("underlying %s credentials contain a %s header which is already present in the combined credentials", kind, k)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener_test.go

    				Address: &core.Address{
    					Address: &core.Address_Pipe{
    						Pipe: &core.Pipe{Path: "unix:///dev/shm/uds.socket"},
    					},
    				},
    			},
    			expect: true,
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			if got := tt.inFilter.Verify(tt.inListener); got != tt.expect {
    				t.Errorf("%s: expect %v got %v", tt.desc, tt.expect, got)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject_test.go

    				" "),
    			GoldenFilename: "testdata/deployment/hello-with-proxyconfig-anno.yaml.injected",
    		},
    	}
    
    	kubeInject := InjectCommand(cli.NewFakeContext(nil))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, kubeInject, c)
    			cleanUpKubeInjectTestEnv()
    		})
    	}
    }
    
    func cleanUpKubeInjectTestEnv() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/revision-tags.yaml

      sideEffects: None
      rules:
      - operations: [ "CREATE" ]
        apiGroups: [""]
        apiVersions: ["v1"]
        resources: ["pods"]
      failurePolicy: Fail
      admissionReviewVersions: ["v1beta1", "v1"]
    {{- end }}
    {{- range $tagName := $.Values.revisionTags }}
    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
    {{- if eq $.Release.Namespace "istio-system"}}
      name: istio-revision-tag-{{ $tagName }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  8. istioctl/pkg/tag/revision.go

    	webhooks, err := Webhooks(context.Background(), client)
    	if err != nil {
    		return nil, fmt.Errorf("error while listing mutating webhooks: %v", err)
    	}
    	for _, hook := range webhooks {
    		rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName)
    		tagLabel := hook.GetLabels()[IstioTagLabel]
    		ri, revPresent := revisions[rev]
    		if revPresent {
    			if tagLabel != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard_test.go

    			WantException:  false,
    		},
    	}
    
    	dbCmd := Dashboard(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace: "istio-system",
    	}))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, dbCmd, c)
    			cleanupTestCase()
    		})
    	}
    }
    
    func cleanupTestCase() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. istioctl/pkg/proxystatus/proxystatus_test.go

    	) (*discovery.DiscoveryResponse, error) {
    		return &discovery.DiscoveryResponse{}, nil
    	}
    	t.Cleanup(func() {
    		multixds.GetXdsResponse = xds.GetXdsResponse
    	})
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				IstioNamespace: "istio-system",
    			})
    			if !c.noIstiod {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
Back to top