Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAction (0.15 sec)

  1. istioctl/pkg/authz/listener.go

    		policyToRule[name][rule] = struct{}{}
    	}
    
    	for _, parsed := range parsedListeners {
    		for _, fc := range parsed.filterChains {
    			for _, rbacHTTP := range fc.rbacHTTP {
    				action := rbacHTTP.GetRules().GetAction()
    				for name := range rbacHTTP.GetRules().GetPolicies() {
    					nameOfPolicy, indexOfRule := extractName(name)
    					addPolicy(action, nameOfPolicy, indexOfRule)
    				}
    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/util/configdump/listener.go

    }
    
    // GetListenerConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error) {
    	listenerDumpAny, err := w.getSection(listeners)
    	if err != nil {
    		return nil, err
    	}
    	listenerDump := &admin.ListenersConfigDump{}
    	err = listenerDumpAny.UnmarshalTo(listenerDump)
    	if err != nil {
    		return nil, err
    	}
    	return listenerDump, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    		return ""
    	}
    	if len(vh.GetRoutes()) != 1 {
    		return ""
    	}
    	r := vh.GetRoutes()[0]
    	if r.GetMatch().GetPrefix() != "/" {
    		return ""
    	}
    	a, ok := r.GetAction().(*route.Route_Route)
    	if !ok {
    		return ""
    	}
    	cl, ok := a.Route.ClusterSpecifier.(*route.RouteAction_Cluster)
    	if !ok {
    		return ""
    	}
    	if strings.Contains(cl.Cluster, "Cluster") {
    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