Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Action (0.78 sec)

  1. istioctl/pkg/authz/listener.go

    	if parsedListeners == nil {
    		return
    	}
    
    	actionToPolicy := map[rbacpb.RBAC_Action]map[string]struct{}{}
    	policyToRule := map[string]map[string]struct{}{}
    
    	addPolicy := func(action rbacpb.RBAC_Action, name string, rule string) {
    		if actionToPolicy[action] == nil {
    			actionToPolicy[action] = map[string]struct{}{}
    		}
    		if policyToRule[name] == nil {
    			policyToRule[name] = map[string]struct{}{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/listener.go

    	if l.FilterChainMatcher == nil {
    		return []string{getMatches(fc.GetFilterChainMatch())}
    	}
    	switch v := l.GetFilterChainMatcher().GetOnNoMatch().GetOnMatch().(type) {
    	case *matcher.Matcher_OnMatch_Action:
    		if v.Action.GetName() == fc.GetName() {
    			return []string{"UNMATCHED"}
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(fc.GetName(), v.Matcher)
    		if !f {
    			return []string{"NONE"}
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top