Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for if (0.37 sec)

  1. istioctl/pkg/precheck/precheck.go

    		if err := checkExternalNameAlias(cli, &messages); err != nil {
    			return nil, err
    		}
    		// PERSIST_OLDEST_FIRST_HEURISTIC_FOR_VIRTUAL_SERVICE_HOST_MATCHING
    		if err := checkVirtualServiceHostMatching(cli, &messages); err != nil {
    			return nil, err
    		}
    	}
    	if minor <= 21 {
    		if err := checkPassthroughTargetPorts(cli, &messages); err != nil {
    			return nil, err
    		}
    		if err := checkTracing(cli, &messages); err != nil {
    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)
  2. istioctl/pkg/tag/generate.go

    	if err != nil {
    		return "", fmt.Errorf("failed to create tag webhook: %w", err)
    	}
    
    	if opts.Tag == DefaultRevisionName {
    		if !opts.Generate {
    			// deactivate other istio-injection=enabled injectors if using default revisions.
    			err := DeactivateIstioInjectionWebhook(ctx, client.Kube())
    			if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload.go

    			if err != nil {
    				return err
    			}
    
    			wg := &clientv1alpha3.WorkloadGroup{}
    			if filename != "" {
    				if err := readWorkloadGroup(filename, wg); err != nil {
    					return err
    				}
    			} else {
    				wg, err = kubeClient.Istio().NetworkingV1alpha3().WorkloadGroups(namespace).Get(context.Background(), name, metav1.GetOptions{})
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-egress/templates/deployment.yaml

            runAsUser: 1337
            runAsGroup: 1337
    {{- end }}
            runAsNonRoot: true
    {{- end }}
          serviceAccountName: {{ $gateway.name }}-service-account
    {{- if .Values.global.priorityClassName }}
          priorityClassName: "{{ .Values.global.priorityClassName }}"
    {{- end }}
    {{- if .Values.global.proxy.enableCoreDump }}
          initContainers:
            - name: enable-core-dump
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    		RunE: func(c *cobra.Command, args []string) error {
    			if err := opts.prepare(ctx); err != nil {
    				return err
    			}
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			out, warn, err := CreateRemoteSecret(client, opts)
    			if err != nil {
    				_, _ = fmt.Fprintf(c.OutOrStderr(), "error: %v\n", err)
    				return err
    			}
    			if warn != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    		podCount := podCountByRevision(allPods[resource.Namespace(namespace.Name)], revision)
    		if len(podCount) == 0 {
    			// This namespace has no pods, but we wish to display it if new pods will be auto-injected
    			if revision != "" {
    				podCount[revision] = revisionCount{}
    			}
    		}
    		for injectedRevision, count := range podCount {
    			if outputCount == 0 {
    				fmt.Fprintln(w, "NAMESPACE\tISTIO-REVISION\tPOD-REVISIONS")
    			}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. operator/cmd/mesh/test-util_test.go

    	out := make(map[string]any)
    	if name != "" {
    		out["name"] = name
    	}
    	if port != -1 {
    		out["port"] = port
    	}
    	if targetPort != -1 {
    		out["targetPort"] = targetPort
    	}
    	return out
    }
    
    // checkRoleBindingsReferenceRoles fails if any RoleBinding in objs references a Role that isn't found in objs.
    func checkRoleBindingsReferenceRoles(g *WithT, objs *ObjectSet) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns.go

    	/*
    		for each process, find its netns inode,
    		if we already seen the inode, skip it
    		if we haven't seen the inode, check the process cgroup and see if we
    		can extract a pod uid from it.
    		if we can, open the netns, and save a map of uid->netns-fd
    	*/
    
    	podUIDNetns := make(PodToNetns)
    	netnsObserved := sets.New[uint64]()
    
    	entries, err := fs.ReadDir(p.proc, ".")
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    		switch header.Typeflag {
    		case tar.TypeDir:
    			if _, err := os.Stat(dest); err != nil {
    				if err := os.Mkdir(dest, 0o755); err != nil {
    					return fmt.Errorf("mkdir: %v", err)
    				}
    			}
    		case tar.TypeReg:
    			// Create containing folder if not present
    			dir := path.Dir(dest)
    			if _, err := os.Stat(dir); err != nil {
    				if err := os.MkdirAll(dir, 0o755); err != nil {
    					return 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)
  10. cni/pkg/install/cniconfig_test.go

    				if err != nil {
    					assert.Equal(t, resultFilepath, "")
    					if err == context.DeadlineExceeded {
    						if len(c.expectedConfName) > 0 {
    							t.Fatalf("timed out waiting for expected %s", expectedFilepath)
    						}
    						// Successful test for never-created config file
    						return
    					}
    					t.Fatal(err)
    				}
    
    				if resultFilepath != expectedFilepath {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
Back to top