Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 6,107 for ctan (0.08 sec)

  1. pkg/adsc/adsc.go

    	Updates     chan string
    	errChan     chan error
    	XDSUpdates  chan *discovery.DiscoveryResponse
    	VersionInfo map[string]string
    
    	// Last received message, by type
    	Received map[string]*discovery.DiscoveryResponse
    
    	mutex sync.RWMutex
    
    	Mesh *v1alpha1.MeshConfig
    
    	// Retrieved configurations can be stored using the common istio model interface.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/gatewayclass.go

    		_, f := builtinClasses[gateway.ObjectName(o.GetName())]
    		return f
    	}))
    	return gc
    }
    
    func (c *ClassController) Run(stop <-chan struct{}) {
    	// Ensure we initially reconcile the current state
    	c.queue.Add(types.NamespacedName{})
    	c.queue.Run(stop)
    }
    
    func (c *ClassController) Reconcile(types.NamespacedName) error {
    	err := istiomultierror.New()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress_test.go

    	_, ctx := ktesting.NewTestContext(t)
    	logger := klog.FromContext(ctx)
    
    	clock := testingclock.NewFakeClock(time.Now())
    	pr := newTestConditionalProgressRequester(clock)
    	stopCh := make(chan struct{})
    	go pr.Run(stopCh)
    	var wantRequestsSent int32
    	var requestsSent int32
    
    	logger.Info("Wait for ticker to be created")
    	for !clock.HasWaiters() {
    		time.Sleep(pollPeriod)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:51:06 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/establish/establishing_controller.go

    func (ec *EstablishingController) QueueCRD(key string, timeout time.Duration) {
    	ec.queue.AddAfter(key, timeout)
    }
    
    // Run starts the EstablishingController.
    func (ec *EstablishingController) Run(stopCh <-chan struct{}) {
    	defer utilruntime.HandleCrash()
    	defer ec.queue.ShutDown()
    
    	klog.Info("Starting EstablishingController")
    	defer klog.Info("Shutting down EstablishingController")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. internal/logger/target/kafka/kafka.go

    	wg sync.WaitGroup
    
    	// Channel of log entries.
    	// Reading logCh must hold read lock on logChMu (to avoid read race)
    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    	// store to persist and replay the logs to the target
    	// to avoid missing events when the target is down.
    	store          store.Store[interface{}]
    	storeCtxCancel context.CancelFunc
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. pkg/kube/multicluster/cluster.go

    )
    
    // Cluster defines cluster struct
    type Cluster struct {
    	// ID of the cluster.
    	ID cluster.ID
    	// Client for accessing the cluster.
    	Client kube.Client
    
    	kubeConfigSha [sha256.Size]byte
    
    	stop chan struct{}
    	// initialSync is marked when RunAndWait completes
    	initialSync *atomic.Bool
    	// initialSyncTimeout is set when RunAndWait timed out
    	initialSyncTimeout *atomic.Bool
    }
    
    type ACTION int
    
    const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. internal/event/target/nats.go

    	}
    	clientID := u.String()
    
    	connOpts := []stan.Option{stan.NatsURL(addressURL)}
    	if n.Streaming.MaxPubAcksInflight > 0 {
    		connOpts = append(connOpts, stan.MaxPubAcksInflight(n.Streaming.MaxPubAcksInflight))
    	}
    	if n.UserCredentials != "" {
    		connOpts = append(connOpts, stan.NatsOptions(nats.UserCredentials(n.UserCredentials)))
    	}
    
    	return stan.Connect(n.Streaming.ClusterID, clientID, connOpts...)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. pilot/pkg/xds/bench_test.go

    	b.Run("key", func(b *testing.B) {
    		key := makeCacheKey(1)
    		for n := 0; n < b.N; n++ {
    			_ = key.Key()
    		}
    	})
    	b.Run("insert", func(b *testing.B) {
    		c := model.NewXdsCache()
    		stop := make(chan struct{})
    		defer close(stop)
    		c.Run(stop)
    		for n := 0; n < b.N; n++ {
    			key := makeCacheKey(n)
    			req := &model.PushRequest{Start: zeroTime.Add(time.Duration(n))}
    			c.Add(key, req, res)
    		}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/server.go

    	waitingForLeader := make(chan struct{})
    	isLeader := func() bool {
    		select {
    		case _, ok := <-waitingForLeader:
    			// if channel is closed, we are leading
    			return !ok
    		default:
    			// channel is open, we are waiting for a leader
    			return false
    		}
    	}
    
    	handlerSyncReadyCh := make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. cmd/metacache-walk.go

    		return err
    	}))
    }
    
    // WalkDirHandler - remote caller to list files and folders in a requested directory path.
    func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) {
    	var opts WalkDirOptions
    	_, err := opts.UnmarshalMsg(payload)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	if !s.checkID(opts.DiskID) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top