Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetLedger (0.12 sec)

  1. pilot/pkg/bootstrap/configcontroller.go

    			UpdateInterval: features.StatusUpdateInterval,
    			PodName:        args.PodName,
    		}
    		s.addStartFunc("status reporter init", func(stop <-chan struct{}) error {
    			s.statusReporter.Init(s.environment.GetLedger(), stop)
    			return nil
    		})
    		s.addTerminatingStartFunc("status reporter", func(stop <-chan struct{}) error {
    			if writeStatus {
    				s.statusReporter.Start(s.kubeClient.Kube(), args.Namespace, args.PodName, stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. pilot/pkg/model/context.go

    	return
    }
    
    func (e *Environment) ClusterLocal() ClusterLocalProvider {
    	return e.clusterLocalServices
    }
    
    func (e *Environment) GetLedger() ledger.Ledger {
    	return e.ledger
    }
    
    func (e *Environment) SetLedger(l ledger.Ledger) {
    	e.ledger = l
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/ads_test.go

    	}
    
    	ledger := ledger.Make(time.Minute)
    	ledger.Put("key", "value") // If there is no config, ledger would be empty
    	s.Env().SetLedger(ledger)
    	reporter := &distribution.Reporter{
    		UpdateInterval: features.StatusUpdateInterval,
    	}
    	reporter.Init(s.Env().GetLedger(), test.NewStop(t))
    	s.Discovery.StatusReporter = reporter
    
    	ads := s.ConnectADS().WithType(v3.ClusterType)
    	// Subscribe to clusters
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. pilot/pkg/xds/debug.go

    	if len(nonce) < VersionLen {
    		return ""
    	}
    	configVersion := nonce[:VersionLen]
    	result, ok := cache[configVersion]
    	if !ok {
    		lookupResult, err := s.Env.GetLedger().GetPreviousValue(configVersion, key)
    		if err != nil {
    			istiolog.Errorf("Unable to retrieve resource %s at version %s: %v", key, configVersion, err)
    			lookupResult = ""
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/server.go

    func NewServer(args *PilotArgs, initFuncs ...func(*Server)) (*Server, error) {
    	e := model.NewEnvironment()
    	e.DomainSuffix = args.RegistryOptions.KubeOptions.DomainSuffix
    	e.SetLedger(buildLedger(args.RegistryOptions))
    
    	ac := aggregate.NewController(aggregate.Options{
    		MeshHolder: e,
    	})
    	e.ServiceDiscovery = ac
    
    	s := &Server{
    		clusterID:               getClusterID(args),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top