Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HasEnvoyFilters (1.84 sec)

  1. pilot/pkg/model/push_context_test.go

    			"istio-system": envoyFilters,
    			"test-ns":      envoyFilters,
    		},
    	}
    
    	if !push.HasEnvoyFilters("ef1", "test-ns") {
    		t.Errorf("Check presence of EnvoyFilter ef1 at test-ns got false, want true")
    	}
    	if push.HasEnvoyFilters("ef3", "test-ns") {
    		t.Errorf("Check presence of EnvoyFilter ef3 at test-ns got true, want false")
    	}
    
    	cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context.go

    			matchedEnvoyFilters = append(matchedEnvoyFilters, efw)
    		}
    	}
    	return matchedEnvoyFilters
    }
    
    // HasEnvoyFilters checks if an EnvoyFilter exists with the given name at the given namespace.
    func (ps *PushContext) HasEnvoyFilters(name, namespace string) bool {
    	for _, efw := range ps.envoyFiltersByNamespace[namespace] {
    		if efw.Name == name {
    			return true
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top