Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Hosken (0.16 sec)

  1. istioctl/pkg/multixds/gather.go

    				// ignore unknown types.
    			}
    		}
    		return response, nil
    	}
    
    	responses := []*discovery.DiscoveryResponse{}
    	if all {
    		token := ""
    		touchedPods := 0
    
    	GetProxyLoop:
    		for {
    			list, err := kubeClient.GetProxyPods(context.TODO(), int64(kubeClientGetPodLimit), token)
    			if err != nil {
    				return nil, err
    			}
    			// Iterate all the pod.
    			for _, pod := range list.Items {
    				touchedPods++
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug.go

      # Retrieve syncz debug information directly from the control plane, using token security
      # (This is the usual way to get the debug information with an out-of-cluster control plane.)
      istioctl x internal-debug syncz --xds-address istio.cloudprovider.example.com:15012
    
      # Retrieve syncz debug information via Kubernetes config, using token security
      # (This is the usual way to get the debug information with an in-cluster control plane.)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. istioctl/pkg/proxystatus/proxystatus.go

      # SECURITY OPTIONS
    
      # Retrieve proxy status information directly from the control plane, using token security
      # (This is the usual way to get the proxy-status with an out-of-cluster control plane.)
      istioctl ps --xds-address istio.cloudprovider.example.com:15012
    
      # Retrieve proxy status information via Kubernetes config, using token security
      # (This is the usual way to get the proxy-status with an in-cluster control plane.)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    var generated = map[string]bool{
    	"hosts":         true,
    	"istio-token":   true,
    	"mesh.yaml":     true,
    	"root-cert.pem": true,
    	"cluster.env":   true,
    }
    
    const goldenSuffix = ".golden"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cni/pkg/install/kubeconfig_test.go

    )
    
    const (
    	k8sServiceHost = "10.96.0.1"
    	k8sServicePort = "443"
    	kubeCAFilepath = "testdata/kube-ca.crt"
    	saToken        = "service_account_token_string"
    )
    
    func TestCreateValidKubeconfigFile(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    	constants.ServiceAccountPath = tmp
    	cases := []struct {
    		name               string
    		expectedFailure    bool
    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)
  6. istioctl/pkg/xds/client.go

    	ns, serviceAccount string, kubeClient kube.CLIClient,
    ) ([]grpc.DialOption, error) {
    	ctx := context.TODO()
    	// If we are using the insecure 15010 don't bother getting a token
    	if opts.Plaintext || opts.CertDir != "" {
    		return make([]grpc.DialOption, 0), nil
    	}
    	// Use bearer token
    	aud := tokenAudiences
    	isMCP := strings.HasSuffix(opts.Xds, ".googleapis.com") || strings.HasSuffix(opts.Xds, ".googleapis.com:443")
    	if isMCP {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. cni/pkg/install/install_test.go

    			validConfigFilename:   "list.conflist.golden",
    			saFilename:            "token-foo",
    		},
    		{
    			name:                "standalone CNI plugin",
    			cniConfigFilename:   "istio-cni.conf",
    			validConfigFilename: "istio-cni.conf",
    			saFilename:          "token-foo",
    			saNewFilename:       "token-bar",
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe_test.go

    					"initContainers": [
    						"istio-init"
    					],
    					"containers": [
    						"istio-proxy"
    					],
    					"volumes": [
    						"istio-envoy",
    						"istio-data",
    						"istio-podinfo",
    						"istio-token",
    						"istiod-ca-cert"
    					],
    					"imagePullSecrets": null,
    					"revision": "1-13-2"
    				}`,
    			},
    			expected: "1-13-2",
    		},
    	}
    
    	for _, tc := range cases {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret_test.go

          user:
            token: token
    ---
    `, clusterNameAnnotationKey, secretName, key)
    
    				if diff := cmp.Diff(got, wantOutput); diff != "" {
    					tt.Errorf("got\n%v\nwant\n%vdiff %v", got, c.want, diff)
    				}
    			}
    		})
    	}
    }
    
    func TestGetServiceAccountSecretToken(t *testing.T) {
    	secret := makeSecret("secret", "caData", "token")
    
    	type tc struct {
    		name string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret.go

    				AuthInfo: clusterName,
    			},
    		},
    		CurrentContext: clusterName,
    	}
    }
    
    func createBearerTokenKubeconfig(caData, token []byte, clusterName, server string) *api.Config {
    	c := createBaseKubeconfig(caData, clusterName, server)
    	c.AuthInfos[c.CurrentContext] = &api.AuthInfo{
    		Token: string(token),
    	}
    	return c
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
Back to top