Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for adsupdate (0.16 sec)

  1. pilot/pkg/serviceregistry/util/xdsfake/updater.go

    	"istio.io/istio/pkg/test"
    )
    
    // NewFakeXDS creates a XdsUpdater reporting events via a channel.
    func NewFakeXDS() *Updater {
    	return &Updater{
    		SplitEvents: false,
    		Events:      make(chan Event, 100),
    	}
    }
    
    // NewWithDelegate creates a XdsUpdater reporting events via a channel.
    func NewWithDelegate(delegate model.XDSUpdater) *Updater {
    	return &Updater{
    		Events:   make(chan Event, 100),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/ready/probe.go

    	}
    
    	s, err := util.GetUpdateStatusStats(p.LocalHostAddr, p.AdminPort)
    	if err != nil {
    		return err
    	}
    
    	CDSUpdated := s.CDSUpdatesSuccess > 0
    	LDSUpdated := s.LDSUpdatesSuccess > 0
    	if CDSUpdated && LDSUpdated {
    		p.receivedFirstUpdate = true
    		return nil
    	}
    
    	if !CDSUpdated && !LDSUpdated {
    		return fmt.Errorf("config not received from XDS server (is Istiod running?): %s", s.String())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/serviceexportcache.go

    		// Also update any internal caching.
    		endpoints := ec.buildEndpointsForService(svc, true)
    		shard := model.ShardKeyFromRegistry(ec)
    		ec.opts.XDSUpdater.EDSUpdate(shard, svc.Hostname.String(), se.GetNamespace(), endpoints)
    	}
    }
    
    func (ec *serviceExportCacheImpl) EndpointDiscoverabilityPolicy(svc *model.Service) model.EndpointDiscoverabilityPolicy {
    	if svc == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/fake.go

    	DomainSuffix      string
    	XDSUpdater        model.XDSUpdater
    	Stop              chan struct{}
    	SkipRun           bool
    	ConfigCluster     bool
    	SystemNamespace   string
    }
    
    type FakeController struct {
    	*Controller
    	Endpoints *model.EndpointIndex
    }
    
    func NewFakeControllerWithOptions(t test.Failer, opts FakeControllerOptions) (*FakeController, *xdsfake.Updater) {
    	xdsUpdater := opts.XDSUpdater
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. pilot/pkg/model/network_test.go

    			t.Logf("failed shutting down fake dns servers")
    		}
    	})
    
    	meshNetworks := mesh.NewFixedNetworksWatcher(nil)
    	xdsUpdater := xdsfake.NewFakeXDS()
    	env := &model.Environment{NetworksWatcher: meshNetworks, ServiceDiscovery: memory.NewServiceDiscovery()}
    	if err := env.InitNetworksManager(xdsUpdater); err != nil {
    		t.Fatal(err)
    	}
    
    	var gateways []model.NetworkGateway
    	t.Run("initial resolution", func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileIntegrityViolationSuppressingObjectHolderDecorator.java

        @Override
        public T update(final UpdateAction<T> updateAction) {
            return doUpdate(updateAction, () -> delegate.update(updateAction));
        }
    
        @Override
        public T maybeUpdate(final UpdateAction<T> updateAction) {
            return doUpdate(updateAction, () -> delegate.maybeUpdate(updateAction));
        }
    
        private T doUpdate(UpdateAction<T> updateAction, Supplier<T> work) {
            try {
                return work.get();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFailureUrlBhv.java

            doInsert(entity, null);
        }
    
        public void update(FailureUrl entity) {
            doUpdate(entity, null);
        }
    
        public void update(FailureUrl entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
        public void insertOrUpdate(FailureUrl entity) {
            doInsertOrUpdate(entity, null, null);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRelatedQueryBhv.java

            doInsert(entity, null);
        }
    
        public void update(RelatedQuery entity) {
            doUpdate(entity, null);
        }
    
        public void update(RelatedQuery entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
        public void insertOrUpdate(RelatedQuery entity) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/bsbhv/BsUserInfoBhv.java

            doInsert(entity, null);
        }
    
        public void update(UserInfo entity) {
            doUpdate(entity, null);
        }
    
        public void update(UserInfo entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doUpdate(entity, null);
        }
    
        public void insertOrUpdate(UserInfo entity) {
            doInsertOrUpdate(entity, null, null);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/servicecontroller.go

    	args.RegistryOptions.KubeOptions.ClusterID = s.clusterID
    	args.RegistryOptions.KubeOptions.Revision = args.Revision
    	args.RegistryOptions.KubeOptions.Metrics = s.environment
    	args.RegistryOptions.KubeOptions.XDSUpdater = s.XDSServer
    	args.RegistryOptions.KubeOptions.MeshNetworksWatcher = s.environment.NetworksWatcher
    	args.RegistryOptions.KubeOptions.MeshWatcher = s.environment.Watcher
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top