Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 97 of 97 for bytes (0.13 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	path := "config_dump"
    	debug, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "GET", path, 15000)
    	if err != nil {
    		return nil, fmt.Errorf("failed to execute command on %s.%s Ztunnel: %v", podName, podNamespace, err)
    	}
    	return debug, err
    }
    
    func setupConfigdumpZtunnelConfigWriter(debug []byte, out io.Writer) (*ztunnelDump.ConfigWriter, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  2. cni/pkg/install/kubeconfig.go

    		installLog.Info("kubeconfig either does not exist or is out of date, writing a new one")
    		kubeconfigFilepath := filepath.Join(cfg.MountedCNINetDir, cfg.KubeconfigFilename)
    		if err := file.AtomicWrite(kubeconfigFilepath, []byte(kc.Full), os.FileMode(cfg.KubeconfigMode)); err != nil {
    			return err
    		}
    		installLog.Infof("wrote kubeconfig file %s with: \n%+v", kubeconfigFilepath, kc.Redacted)
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher.go

    		log.Errorf("Failed to handle add event: %v", err)
    		http.Error(w, err.Error(), http.StatusInternalServerError)
    		return
    	}
    }
    
    func processAddEvent(body []byte) (CNIPluginAddEvent, error) {
    	var msg CNIPluginAddEvent
    	err := json.Unmarshal(body, &msg)
    	if err != nil {
    		log.Errorf("Failed to unmarshal CNI plugin event: %v", err)
    		return msg, err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	err = writeFile(filepath.Join(tmpDir, operatorSubdirFilePath+"/"+testIstioDiscoveryChartPath+"/"+testResourceFile+".yaml"), []byte(rs))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			g := NewWithT(t)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  5. istioctl/pkg/version/version.go

    					Info: istioVersion.BuildInfo{
    						Version: "MISSING CP ID",
    					},
    					Revision: "MISSING CP ID",
    				},
    			}, nil
    		}
    		cpID := xds.IstioControlPlaneInstance{}
    		err = json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse CP Identifier: %w", err)
    		}
    		return &istioVersion.MeshInfo{
    			istioVersion.ServerInfo{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. cni/pkg/install/cniconfig_test.go

    	"type": "istio-cni"
    }`,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			if c.fileContents != "" {
    				err := os.WriteFile(filepath.Join(c.dir, c.inFilename), []byte(c.fileContents), 0o644)
    				if err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			result, err := getDefaultCNINetwork(c.dir)
    			if (c.expectedFailure && err == nil) || (!c.expectedFailure && err != nil) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    		if err != nil {
    			fmt.Printf("Error getting configmap %s: %v\n", configMapName, err)
    		}
    		meshData := make(map[string]interface{})
    		if data, exists := configMap.Data["mesh"]; exists {
    			if err := yaml.Unmarshal([]byte(data), &meshData); err != nil {
    				fmt.Printf("Error parsing meshConfig: %v\n", err)
    				return err
    			}
    		}
    		if scopingImpacted = meshData["discoverySelectors"] != nil; !scopingImpacted {
    			continue
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top