Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Case (0.17 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    	ret := make(chan updateResponse, 1)
    	req := updateRequest{
    		Update: data,
    		Fd:     fd,
    		Resp:   ret,
    	}
    	select {
    	case z.Updates <- req:
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    
    	select {
    	case r := <-ret:
    		return r.resp, r.err
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig.go

    func getDefaultCNINetwork(confDir string) (string, error) {
    	files, err := libcni.ConfFiles(confDir, []string{".conf", ".conflist"})
    	switch {
    	case err != nil:
    		return "", err
    	case len(files) == 0:
    		return "", fmt.Errorf("no networks found in %s", confDir)
    	}
    
    	sort.Strings(files)
    	for _, confFile := range files {
    		var confList *libcni.NetworkConfigList
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. istioctl/pkg/dashboard/dashboard.go

    	if !browser {
    		fmt.Fprint(writer, "skipping opening a browser")
    		return
    	}
    
    	switch runtime.GOOS {
    	case "linux":
    		err = exec.Command("xdg-open", url).Start()
    	case "windows":
    		err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
    	case "darwin":
    		err = exec.Command("open", url).Start()
    	default:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1/generated.proto

      // capacity that the driver deployment will report by creating
      // CSIStorageCapacity objects with capacity information, if set to true.
      //
      // The check can be enabled immediately when deploying a driver.
      // In that case, provisioning new volumes with late binding
      // will pause until the driver deployment has published
      // some suitable CSIStorageCapacity object.
      //
      // Alternatively, the driver can be deployed with the field
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  5. licenses/github.com/hashicorp/go-multierror/LICENSE

    1.4. “Covered Software”
    
         means Source Code Form to which the initial Contributor has attached the
         notice in Exhibit A, the Executable Form of such Source Code Form, and
         Modifications of such Source Code Form, in each case including portions
         thereof.
    
    1.5. “Incompatible With Secondary Licenses”
         means
    
         a. that the initial Contributor has attached the notice described in
            Exhibit B to the Covered Software; or
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	// as we are running within a privileged container - and we don't want to take the time to
    	// redetect for each pod anyway.
    	//
    	// Extreme corner case:
    	// If for some reason your host had both binaries, and you were injecting out-of-band
    	// iptables rules within a pod context into `legacy` tables, but your host context preferred
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers.go

    			})
    		}
    	}
    }
    
    func (s *InformerHandlers) reconcile(input any) error {
    	event := input.(controllers.Event)
    	switch event.Latest().(type) {
    	case *corev1.Namespace:
    		return s.reconcileNamespace(input)
    	case *corev1.Pod:
    		return s.reconcilePod(input)
    	default:
    		return fmt.Errorf("unexpected event type: %+v", input)
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    	equality := "="
    	switch v := match.GetMatcherTree().GetTreeType().(type) {
    	case *matcher.Matcher_MatcherTree_ExactMatchMap:
    		m = v.ExactMatchMap.Map
    	case *matcher.Matcher_MatcherTree_PrefixMatchMap:
    		m = v.PrefixMatchMap.Map
    		equality = "^"
    	case *matcher.Matcher_MatcherTree_CustomMatch:
    		tc := v.CustomMatch.GetTypedConfig()
    		switch tc.TypeUrl {
    		case IPMatcher:
    			ip := protoconv.SilentlyUnmarshalAny[matcher.IPMatcher](tc)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    				FQDN:      host.Name(fqdn),
    				Port:      port,
    				Subset:    subset,
    				Direction: model.TrafficDirection(direction),
    			}
    			switch outputFormat {
    			case summaryOutput:
    				return configWriter.PrintClusterSummary(filter)
    			case jsonOutput, yamlOutput:
    				return configWriter.PrintClusterDump(filter, outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    			expectedOutput:    "Error: expecting a workload namespace\n",
    		},
    		{
    			description:       "valid case - minimal flags, infer defaults",
    			args:              strings.Split("group create --name foo --namespace bar", " "),
    			expectedException: false,
    			expectedOutput:    defaultYAML,
    		},
    		{
    			description: "valid case - create full workload group",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top