Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for SELECT (0.16 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. common/scripts/metallb-native.yaml

                      IPAddressPools have the same priority, choice will be random.
                    properties:
                      namespaceSelectors:
                        description: NamespaceSelectors list of label selectors to select
                          namespace(s) for ip pool, an alternative to using namespace
                          list.
                        items:
                          description: A label selector is a label query over a set of
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/core/v1/generated.proto

    message ConfigMapEnvSource {
      // The ConfigMap to select from.
      optional LocalObjectReference localObjectReference = 1;
    
      // Specify whether the ConfigMap must be defined
      // +optional
      optional bool optional = 2;
    }
    
    // Selects a key from a ConfigMap.
    // +structType=atomic
    message ConfigMapKeySelector {
      // The ConfigMap to select from.
      optional LocalObjectReference localObjectReference = 1;
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  4. cni/pkg/util/pluginutil.go

    	Events  chan struct{}
    	Errors  chan error
    }
    
    // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
    func (w *Watcher) Wait(ctx context.Context) error {
    	select {
    	case <-w.Events:
    		return nil
    	case err := <-w.Errors:
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    }
    
    func (w *Watcher) Close() {
    	_ = w.watcher.Close()
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/server_test.go

    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    		select {
    		case <-wg.C():
    			return
    		case <-time.After(time.Second):
    			t.Fatal("Wait group timed out!\n")
    		}
    	}
    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    	atomic.AddInt32(&wg.count, i)
    }
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. cni/pkg/install/cniconfig_test.go

    				result, err := getCNIConfigFilepath(ctx, cfg)
    				if err != nil {
    					errChan <- err
    					return
    				}
    				resultChan <- result
    			}(resultChan, errChan, parent, cfg)
    
    			select {
    			case result := <-resultChan:
    				if len(c.delayedConfName) > 0 {
    					// Delayed case
    					t.Fatalf("did not expect to retrieve a CNI config file %s", result)
    				} else if result != expectedFilepath {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher.go

    	unixListener, err := pluginlistener.NewListener(s.sockAddress)
    	if err != nil {
    		return fmt.Errorf("failed to create CNI listener: %v", err)
    	}
    	go func() {
    		err := s.cniListenServer.Serve(unixListener)
    
    		select {
    		case <-s.ctx.Done():
    			// ctx done, we should silently go away
    			return
    		default:
    			// If the cniListener exits, at least we should record an error log
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-diff.go

    		false, "Compare directory.")
    	cmd.PersistentFlags().BoolVarP(&diffArgs.verbose, "verbose", "v",
    		false, "Verbose output.")
    	cmd.PersistentFlags().StringVar(&diffArgs.selectResources, "select", "::",
    		"Constrain the list of resources to compare to only the ones in this list, ignoring all others.\n"+
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. istioctl/pkg/internaldebug/internal-debug.go

      istioctl x internal-debug syncz --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs
    
      # Retrieve syncz information via XDS from specific control plane in multi-control plane in-cluster configuration
      # (Select a specific control plane in an in-cluster canary Istio configuration.)
      istioctl x internal-debug syncz --xds-label istio.io/rev=default
    `,
    		RunE: func(c *cobra.Command, args []string) error {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. istioctl/pkg/proxystatus/proxystatus.go

      istioctl ps --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs
    
      # Retrieve proxy status information via XDS from specific control plane in multi-control plane in-cluster configuration
      # (Select a specific control plane in an in-cluster canary Istio configuration.)
      istioctl ps --xds-label istio.io/rev=default
    `,
    		Aliases: []string{"ps"},
    		RunE: func(c *cobra.Command, args []string) error {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top