Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for newtgts (0.11 sec)

  1. cmd/bucket-targets.go

    			if t.Endpoint == tgt.Endpoint {
    				return BucketRemoteAlreadyExists{Bucket: t.TargetBucket}
    			}
    		}
    		newtgts[idx] = t
    	}
    	if !found && !update {
    		newtgts = append(newtgts, *tgt)
    	}
    
    	sys.targetsMap[bucket] = newtgts
    	sys.arnRemotesMap[tgt.Arn] = arnTarget{Client: clnt}
    	sys.updateBandwidthLimit(bucket, tgt.Arn, tgt.BandwidthLimit)
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. internal/logger/targets.go

    		currentTgt, ok := oldTargets[i].(*http.Target)
    		if !ok {
    			continue
    		}
    		var newTgt *http.Target
    
    		for ii := range tgts {
    			if currentTgt.Name() == tgts[ii].Name() {
    				newTgt = tgts[ii]
    				currentTgt.AssignMigrateTarget(newTgt)
    				http.CreateOrAdjustGlobalBuffer(currentTgt, newTgt)
    				break
    			}
    		}
    	}
    
    	for _, t := range tgts {
    		err := t.Init(ctx)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/logger/target/http/http.go

    // which are used to migrate log entries between old and new targets.
    func CreateOrAdjustGlobalBuffer(currentTgt *Target, newTgt *Target) {
    	logChLock.Lock()
    	defer logChLock.Unlock()
    
    	requiredCap := currentTgt.config.QueueSize + (currentTgt.config.BatchSize * int(currentTgt.maxWorkers))
    	currentCap := 0
    	name := newTgt.Name()
    
    	currentBuff, ok := logChBuffers[name]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    	}
    	return []grpc.DialOption{
    		// nolint: gosec
    		// Only runs over istioctl experimental
    		// TODO: https://github.com/istio/istio/issues/41937
    		grpc.WithTransportCredentials(credentials.NewTLS(
    			&tls.Config{
    				// Always skip verifying, because without it we always get "certificate signed by unknown authority".
    				// We don't set the XDSSAN for the same reason.
    				InsecureSkipVerify: true,
    			})),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. istioctl/pkg/xds/google.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to get application default credentials: %w", err)
    	}
    
    	return []grpc.DialOption{
    		grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{
    			RootCAs:    systemRoots,
    			MinVersion: tls.VersionTLS12,
    		})),
    		grpc.WithPerRPCCredentials(&meshAuthCredentials{
    			k8sCreds: k8sCreds,
    			gcpCreds: gcpCreds,
    			project:  gcpProject,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top