Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dependentConfigs (0.13 sec)

  1. pilot/pkg/networking/core/cluster_cache.go

    		h.WriteString(sa)
    		h.Write(Separator)
    	}
    	h.Write(Separator)
    
    	if t.endpointBuilder != nil {
    		t.endpointBuilder.WriteHash(h)
    	}
    
    	return h.Sum64()
    }
    
    func (t *clusterCache) DependentConfigs() []model.ConfigHash {
    	drs := t.destinationRule.GetFrom()
    	configs := make([]model.ConfigHash, 0, len(drs)+1+len(t.envoyFilterKeys))
    	if t.destinationRule != nil {
    		for _, dr := range drs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/endpoint_builder.go

    	// invalidate the results.
    	// Service being nil means the EDS will be empty anyways, so not much lost here.
    	return b.service != nil
    }
    
    func (b *EndpointBuilder) DependentConfigs() []model.ConfigHash {
    	drs := b.destinationRule.GetFrom()
    	configs := make([]model.ConfigHash, 0, len(drs)+1)
    	if b.destinationRule != nil {
    		for _, dr := range drs {
    			configs = append(configs, model.ConfigKey{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. pilot/pkg/xds/sds.go

    func (sr SecretResource) Type() string {
    	return model.SDSType
    }
    
    func (sr SecretResource) Key() any {
    	return sr.SecretResource.Key() + "/" + sr.pkpConfHash
    }
    
    func (sr SecretResource) DependentConfigs() []model.ConfigHash {
    	configs := []model.ConfigHash{}
    	for _, config := range relatedConfigs(model.ConfigKey{Kind: kind.Secret, Name: sr.Name, Namespace: sr.Namespace}) {
    		configs = append(configs, config.HashCode())
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top