Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig.go

    		return fmt.Errorf("cannot update resource %s, got status %s", scope.Name, resp.Status)
    	}
    	return nil
    }
    
    func (c *ControlzClient) PutScopes(scopes []*ScopeInfo) error {
    	ch := make(chan struct {
    		err       error
    		scopeName string
    	}, len(scopes))
    	var wg sync.WaitGroup
    	for _, scope := range scopes {
    		wg.Add(1)
    		go func(si *ScopeInfo) {
    			defer wg.Done()
    			err := c.PutScope(si)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag.go

    		Long: `Command group used to interact with revision tags. Revision tags allow for the creation of mutable aliases
    referring to control plane revisions for sidecar injection.
    
    With revision tags, rather than relabeling a namespace from "istio.io/rev=revision-a" to "istio.io/rev=revision-b" to
    change which control plane revision handles injection, it's possible to create a revision tag "prod" and label our
    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)
  5. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    			if listAnalyzers {
    				fmt.Print(AnalyzersAsString(analyzers.All()))
    				return nil
    			}
    
    			readers, err := gatherFiles(cmd, args)
    			if err != nil {
    				return err
    			}
    			cancel := make(chan struct{})
    
    			// We use the "namespace" arg that's provided as part of root istioctl as a flag for specifying what namespace to use
    			// for file resources that don't have one specified.
    			selectedNamespace = ctx.Namespace()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    				}},
    			},
    		}
    
    		// only label if the user has provided their own value, otherwise we let istiod choose a default at runtime (service)
    		// this will allow for gateway class to provide a default for that class rather than always forcing service or requiring users to configure correctly
    		if trafficType != "" {
    			if !validTrafficTypes.Contains(trafficType) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/values.yaml

          # Controls whether or not the untaint controller is active
          enabled: false
          # What namespace the untaint controller should watch for istio-cni pods. This is only required when istio-cni is running in a different namespace than istiod
          namespace: ""
    
        affinity: {}
    
        tolerations: []
    
        cpu:
          targetAverageUtilization: 80
        memory: {}
          # targetAverageUtilization: 80
    
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K bytes
    - Viewed (0)
  9. architecture/ambient/ztunnel.md

    * Ensure traffic between mesh workloads is securely encrypted with an Istio identity.
    * Be lightweight enough to not limit adoption.
      * This puts a much tighter budget on CPU, memory, latency, and throughput requirements than traditional Istio sidecars.
    
    Ztunnel was not designed to be a feature-rich data plane.
    Quite the opposite - an *aggressively* small feature set is the key feature that makes ztunnel viable.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      //
      // BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
      //
      // The value of this field can be more than 100, implying that this
      // priority level can borrow a number of seats that is greater than
      // its own nominal concurrency limit (NominalCL).
      // When this field is left `nil`, the limit is effectively infinite.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top