Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for write1 (0.12 sec)

  1. pilot/pkg/model/endpointshards.go

    	ep := &EndpointShards{
    		Shards:          map[ShardKey][]*IstioEndpoint{},
    		ServiceAccounts: sets.String{},
    	}
    	e.shardsBySvc[serviceName][namespace] = ep
    	// Clear the cache here to avoid race in cache writes.
    	e.clearCacheForService(serviceName, namespace)
    	return ep, true
    }
    
    func (e *EndpointIndex) DeleteServiceShard(shard ShardKey, serviceName, namespace string, preserveKeys bool) {
    	e.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/crdclient/client.go

    		return "", err
    	}
    	return meta.GetResourceVersion(), nil
    }
    
    // Patch applies only the modifications made in the PatchFunc rather than doing a full replace. Useful to avoid
    // read-modify-write conflicts when there are many concurrent-writers to the same resource.
    func (cl *Client) Patch(orig config.Config, patchFn config.PatchFunc) (string, error) {
    	modified, patchType := patchFn(orig.DeepCopy())
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. pilot/pkg/xds/delta.go

    		removed := subscribed.DeleteAll(currentResources...)
    		resp.RemovedResources = sets.SortedList(removed)
    	}
    	var newResourceNames []string
    	if shouldSetWatchedResources(w) {
    		// Set the new watched resources. Do not write to w directly, as it can be a copy from the 'filtered' logic above
    		if usedDelta {
    			// Apply the delta
    			newResourceNames = sets.SortedList(sets.New(w.ResourceNames...).
    				DeleteAll(resp.RemovedResources...).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top