Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for addConfig (0.13 sec)

  1. pkg/ledger/ledger_test.go

    	b.ReportAllocs()
    	b.SetBytes(8)
    	l := &smtLedger{tree: newSMT(HashCollider, nil, time.Minute)}
    	var eg errgroup.Group
    	ids := make([]string, 0, configSize)
    	for i := 0; i < configSize; i++ {
    		ids = append(ids, addConfig(l, b))
    	}
    	b.ResetTimer()
    	for n := 0; n < b.N; n++ {
    		eg.Go(func() error {
    			_, err := l.Put(ids[rand.Int()%configSize], strconv.Itoa(rand.Int()))
    			_ = l.RootHash()
    			return err
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 12 16:12:59 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/AddingConfigurationIntegrationTest.groovy

                    conf1
                    conf2
                }
    
                dependencies {
                    conf1 files(file1)
                    conf2 files(file2)
                }
    
                task addConfigs {
                    def files1 = configurations.conf1
                    def files2 = configurations.conf2
                    doLast {
                        FileCollection sum = files1
                        sum += files2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. pkg/adsc/adsc.go

    	InsecureSkipVerify bool
    
    	// BackoffPolicy determines the reconnect policy. Based on MCP client.
    	BackoffPolicy backoff.BackOff
    
    	GrpcOpts []grpc.DialOption
    }
    
    // ADSConfig for the ADS connection.
    type ADSConfig struct {
    	Config
    
    	// InitialDiscoveryRequests is a list of resources to watch at first, represented as URLs (for new XDS resource naming)
    	// or type URLs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    	grpcOpts []grpc.DialOption,
    ) (*discovery.DiscoveryResponse, error) {
    	adscConn, err := adsc.NewWithBackoffPolicy(opts.Xds, &adsc.ADSConfig{
    		Config: adsc.Config{
    			Meta: model.NodeMetadata{
    				Generator:      "event",
    				ServiceAccount: serviceAccount,
    				Namespace:      ns,
    				CloudrunAddr:   opts.IstiodAddr,
    			}.ToStruct(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pkg/adsc/adsc_test.go

    			desc: desc.desc,
    			inAdsc: &ADSC{
    				Received:   make(map[string]*discovery.DiscoveryResponse),
    				Updates:    make(chan string),
    				XDSUpdates: make(chan *discovery.DiscoveryResponse),
    				cfg: &ADSConfig{
    					Config:                   Config{},
    					InitialDiscoveryRequests: desc.initialRequests,
    				},
    				VersionInfo: map[string]string{},
    				sync:        map[string]time.Time{},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/common/deployment/echos.go

    	//
    	// Custom echo instances will be accessible from the `All` field in the namespace(s) under which they
    	// were created.
    	Configs echo.ConfigGetter
    }
    
    // AddConfigs appends to the configs to be deployed
    func (c *Config) AddConfigs(configs []echo.Config) *Config {
    	var existing echo.ConfigGetter
    	if c.Configs != nil {
    		existing = c.Configs
    	}
    	c.Configs = func() []echo.Config {
    		var out []echo.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller.go

    	instancesUpdated := []*model.ServiceInstance{}
    	instancesDeleted := []*model.ServiceInstance{}
    	fullPush := false
    	configsUpdated := sets.New[model.ConfigKey]()
    
    	addConfigs := func(se *networking.ServiceEntry, services []*model.Service) {
    		// If serviceentry's resolution is DNS, make a full push
    		// TODO: maybe cds?
    		if isDNSTypeServiceEntry(se) {
    			fullPush = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/configcontroller.go

    				return err
    			}
    			s.ConfigStores = append(s.ConfigStores, configController)
    			log.Infof("Started File configSource %s", configSource.Address)
    		case XDS:
    			xdsMCP, err := adsc.New(srcAddress.Host, &adsc.ADSConfig{
    				InitialDiscoveryRequests: adsc.ConfigInitialRequests(),
    				Config: adsc.Config{
    					Namespace: args.Namespace,
    					Workload:  args.PodName,
    					Revision:  args.Revision,
    					Meta: model.NodeMetadata{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. pilot/test/xds/fake.go

    		opts = append(opts, grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
    			return f.BufListener.Dial()
    		}))
    	}
    	adscConn, err := adsc.New(f.Listener.Addr().String(), &adsc.ADSConfig{
    		Config: adsc.Config{
    			IP:        p.IPAddresses[0],
    			NodeType:  p.Type,
    			Meta:      p.Metadata.ToStruct(),
    			Locality:  p.Locality,
    			Namespace: p.ConfigNamespace,
    			GrpcOpts:  opts,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top