Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Post (2.09 sec)

  1. cni/pkg/plugin/cnieventclient.go

    	"istio.io/istio/cni/pkg/nodeagent"
    )
    
    // newCNIClient is a unit test override variable for mocking.
    var newCNIClient = buildClient
    
    // An udsCore write entries to an UDS server with HTTP Post. Log messages will be encoded into a JSON array.
    type CNIEventClient struct {
    	client *http.Client
    	url    string
    }
    
    func buildClient(address, path string) CNIEventClient {
    	c := &http.Client{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. istioctl/pkg/util/handlers/handlers_test.go

    		},
    		{
    			proxyName:     "istio-security-post-install-1.2.2-bm9w2.istio-system",
    			namespace:     "istio-system",
    			wantPodName:   "istio-security-post-install-1.2.2-bm9w2",
    			wantNamespace: "istio-system",
    		},
    		{
    			proxyName:     "istio-security-post-install-1.2.2-bm9w2.istio-system",
    			namespace:     "",
    			wantPodName:   "istio-security-post-install-1.2.2-bm9w2",
    			wantNamespace: "istio-system",
    		},
    		{
    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)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	path := "logging"
    	if param != "" {
    		path = path + "?" + param
    	}
    	// "Envoy" applies despite this being ztunnel
    	result, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "POST", path, port)
    	if err != nil {
    		return "", fmt.Errorf("failed to execute command on Ztunnel: %v", err)
    	}
    	return string(result), nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    	err := copyDir(string(liveCharts), string(tmpCharts))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Add a default tag which is the webhook that will be processed post-install
    	rs, err := readFile(filepath.Join(testDataDir, "input-extra-resources", whSource+".yaml"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck.go

    		for _, hostname := range vs.Spec.Hosts {
    			if host.Name(hostname).IsWildCarded() {
    				res := ObjectToInstance(vs)
    				messages.Add(msg.NewUpdateIncompatibility(res,
    					"PERSIST_OLDEST_FIRST_HEURISTIC_FOR_VIRTUAL_SERVICE_HOST_MATCHING", "1.20",
    					"previously, VirtualServices with overlapping wildcard hosts would have the oldest "+
    						"VirtualService take precedence. Now, the most specific VirtualService will win", "1.20"),
    				)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/options.go

    	HostProbeSNATIPV6 = netip.MustParseAddr(env.RegisterStringVar("HOST_PROBE_SNAT_IPV6", DefaultHostProbeSNATIPV6, "").Get())
    )
    
    const (
    	// to reliably identify kubelet healthprobes from inside the pod (versus standard kube-proxy traffic,
    	// since the IP is normally the same), we SNAT identified host probes in the host netns to a fixed
    	// APIPA/"link-local" IP.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher_test.go

    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		valid.Netns,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 08:18:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. cni/pkg/cmd/root.go

    		Title:   "Istio CNI Plugin Installer",
    		Section: "install-cni CLI",
    		Manual:  "Istio CNI Plugin Installer",
    	}))
    
    	registerStringParameter(constants.CNINetDir, "/etc/cni/net.d", "Directory on the host where CNI network plugins are installed")
    	registerStringParameter(constants.CNIConfName, "", "Name of the CNI configuration file")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. cni/pkg/install/kubeconfig.go

    	Redacted string
    }
    
    func createKubeConfig(cfg *config.InstallConfig) (kubeconfig, error) {
    	if len(cfg.K8sServiceHost) == 0 {
    		return kubeconfig{}, fmt.Errorf("KUBERNETES_SERVICE_HOST not set. Is this not running within a pod?")
    	}
    
    	if len(cfg.K8sServicePort) == 0 {
    		return kubeconfig{}, fmt.Errorf("KUBERNETES_SERVICE_PORT not set. Is this not running within a pod?")
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret.go

    func getServerFromKubeconfig(client kube.CLIClient) (string, Warning, error) {
    	restCfg := client.RESTConfig()
    	if restCfg == nil {
    		return "", nil, fmt.Errorf("failed getting REST config from client")
    	}
    	server := restCfg.Host
    	if strings.Contains(server, "127.0.0.1") || strings.Contains(server, "localhost") {
    		return server, fmt.Errorf(
    			"server in Kubeconfig is %s. This is likely not reachable from inside the cluster, "+
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
Back to top