Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for joihin (0.13 sec)

  1. cni/pkg/install/install_test.go

    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    			if err := file.AtomicCopy(filepath.Join("testdata", c.existingConfigFilename), cniNetDir, c.configFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			// Create existing binary files
    			if err := os.WriteFile(filepath.Join(cniBinDir, "istio-cni"), []byte{1, 2, 3}, 0o755); err != nil {
    				t.Fatal(err)
    			}
    
    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)
  2. istioctl/pkg/describe/describe_test.go

    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for 'istioctl %s'\n got %v\nwant: %v", strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    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)
  3. istioctl/pkg/tag/generate_test.go

    			}
    			webhookConfig, err = fixWhConfig(fakeClient, webhookConfig)
    			if err != nil {
    				t.Fatalf("webhook fixing failed with error: %v", err)
    			}
    			opts := &GenerateOptions{
    				ManifestsPath: filepath.Join(env.IstioSrc, "manifests"),
    			}
    			if tc.userManaged {
    				opts.UserManaged = true
    			}
    			webhookYAML, err := generateValidatingWebhook(webhookConfig, opts)
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    	fieldSelectors = append(fieldSelectors, fmt.Sprintf("spec.nodeName=%v", cfg.NodeName))
    	c.pods = kclient.NewFiltered[*corev1.Pod](client, kclient.Filter{
    		LabelSelector: cfg.LabelSelectors,
    		FieldSelector: strings.Join(fieldSelectors, ","),
    	})
    	c.queue = controllers.NewQueue("repair pods",
    		controllers.WithReconciler(c.Reconcile),
    		controllers.WithMaxAttempts(5))
    	c.pods.AddEventHandler(controllers.ObjectHandler(c.queue.AddObject))
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml

                {{- $first = false }}
                {{- end }}
              {{- end}}
            {{- end}}
            ]
        - name: ISTIO_META_APP_CONTAINERS
          value: "{{ $containers | join "," }}"
        - name: ISTIO_META_CLUSTER_ID
          value: "{{ valueOrDefault .Values.global.multiCluster.clusterName `Kubernetes` }}"
        - name: ISTIO_META_NODE_NAME
          valueFrom:
            fieldRef:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/tag.go

    	}
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 1, ' ', 0)
    	fmt.Fprintln(w, "TAG\tREVISION\tNAMESPACES")
    	for _, t := range tags {
    		fmt.Fprintf(w, "%s\t%s\t%s\n", t.Tag, t.Revision, strings.Join(t.Namespaces, ","))
    	}
    
    	return w.Flush()
    }
    
    func PrintJSON(w io.Writer, res any) error {
    	out, err := json.MarshalIndent(res, "", "\t")
    	if err != nil {
    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)
  7. cni/pkg/install/cniconfig.go

    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBECONFIG_FILENAME__", vars.kubeconfigFilename)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBECONFIG_FILEPATH__", filepath.Join(vars.cniNetDir, vars.kubeconfigFilename))
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_HOST__", vars.k8sServiceHost)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    		}
    	}
    	return errors.Join(execErrs...)
    }
    
    func (cfg *IptablesConfigurator) executeIptablesCommands(iptVer *dep.IptablesVersion, args [][]string) error {
    	var iptErrs []error
    	for _, argSet := range args {
    		iptErrs = append(iptErrs, cfg.ext.Run(iptablesconstants.IPTables, iptVer, nil, argSet...))
    	}
    	return errors.Join(iptErrs...)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. cni/test/install_cni.go

    	wg := sync.WaitGroup{}
    	wg.Add(1)
    	defer func() {
    		cancel()
    		wg.Wait()
    	}()
    	go func() {
    		runInstall(ctx, tempCNIConfDir, tempCNIBinDir, tempK8sSvcAcctDir, envPreconf, filepath.Join(env.IstioSrc, "cni/test/testdata/bindir"), chainedCNIPlugin, t)
    		wg.Done()
    	}()
    
    	resultFile := tempCNIConfDir + "/" + resultFileName
    	if chainedCNIPlugin && delayedConfFile != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver.go

    	z.conns.mu.Lock()
    	defer z.conns.mu.Unlock()
    	for conn := range z.conns.connectionSet {
    		_, err := conn.send(ctx, data, nil)
    		if err != nil {
    			delErr = append(delErr, err)
    		}
    	}
    	return errors.Join(delErr...)
    }
    
    func podToWorkload(pod *v1.Pod) *zdsapi.WorkloadInfo {
    	namespace := pod.ObjectMeta.Namespace
    	name := pod.ObjectMeta.Name
    	svcAccount := pod.Spec.ServiceAccountName
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top