Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Chan (0.17 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    type updateRequest struct {
    	Update []byte
    	Fd     *int
    
    	Resp chan updateResponse
    }
    
    type ZtunnelConnection struct {
    	u       *net.UnixConn
    	Updates chan updateRequest
    }
    
    func newZtunnelConnection(u *net.UnixConn) *ZtunnelConnection {
    	return &ZtunnelConnection{u: u, Updates: make(chan updateRequest, 100)}
    }
    
    func (z *ZtunnelConnection) Close() {
    	z.u.Close()
    }
    
    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. istioctl/pkg/dashboard/dashboard.go

    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    					log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", labelSelector, pl.Items[0].Name)
    				}
    
    				// only use the first pod in the list
    				podName = pl.Items[0].Name
    				ns = pl.Items[0].Namespace
    			} else {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    			// Call with goroutine to test fsnotify watcher
    			parent, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			resultChan, errChan := make(chan string, 1), make(chan error, 1)
    			go func(resultChan chan string, errChan chan error, ctx context.Context, cfg pluginConfig) {
    				result, err := getCNIConfigFilepath(ctx, cfg)
    				if err != nil {
    					errChan <- err
    					return
    				}
    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)
  4. licenses/github.com/hashicorp/go-multierror/LICENSE

          otherwise, or (b) ownership of more than fifty percent (50%) of the
          outstanding shares or beneficial ownership of such entity.
    
    
    2. License Grants and Conditions
    
    2.1. Grants
    
         Each Contributor hereby grants You a world-wide, royalty-free,
         non-exclusive license:
    
         a. under intellectual property rights (other than patent or trademark)
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      optional string type = 1;
    
      // value contains the amount of change which is permitted by the policy.
      // It must be greater than zero
      optional int32 value = 2;
    
      // periodSeconds specifies the window of time for which the policy should hold true.
      // PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
      optional int32 periodSeconds = 3;
    }
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    		resource.Namespace(ctx.Namespace()),
    		resource.Namespace(ctx.IstioNamespace()),
    		nil,
    	)
    	if err != nil {
    		return nil, err
    	}
    	sa.AddRunningKubeSource(cli)
    	cancel := make(chan struct{})
    	result, err := sa.Analyze(cancel)
    	if err != nil {
    		return nil, err
    	}
    	if result.Messages != nil {
    		msgs = append(msgs, result.Messages...)
    	}
    
    	return msgs, nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. cni/pkg/install/install_test.go

    				t.Fatal(err)
    			}
    
    			// Listen for isReady to be set to true
    			ticker := time.NewTicker(500 * time.Millisecond)
    			defer ticker.Stop()
    			readyChan := make(chan bool)
    			go func(ctx context.Context, tick <-chan time.Time) {
    				for {
    					select {
    					case <-ctx.Done():
    						return
    					case <-tick:
    						if isReady.Load().(bool) {
    							readyChan <- true
    						}
    					}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. istioctl/pkg/wait/wait.go

    	})
    	return g
    }
    
    type watcher struct {
    	resultsChan chan string
    	errorChan   chan error
    	ctx         context.Context
    }
    
    func withContext(ctx context.Context) *watcher {
    	return &watcher{
    		resultsChan: make(chan string, 1),
    		errorChan:   make(chan error, 1),
    		ctx:         ctx,
    	}
    }
    
    func (w *watcher) Go(f func(chan string) error) {
    	go func() {
    		if err := f(w.resultsChan); err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/go-version/LICENSE

          otherwise, or (b) ownership of more than fifty percent (50%) of the
          outstanding shares or beneficial ownership of such entity.
    
    
    2. License Grants and Conditions
    
    2.1. Grants
    
         Each Contributor hereby grants You a world-wide, royalty-free,
         non-exclusive license:
    
         a. under intellectual property rights (other than patent or trademark)
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 15.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      optional string type = 1;
    
      // value contains the amount of change which is permitted by the policy.
      // It must be greater than zero
      optional int32 value = 2;
    
      // periodSeconds specifies the window of time for which the policy should hold true.
      // PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
      optional int32 periodSeconds = 3;
    }
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top