Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetTypedConfig (0.15 sec)

  1. istioctl/pkg/describe/describe.go

    	for _, httpFilter := range hcm.HttpFilters {
    		if httpFilter.Name == wellknown.HTTPRoleBasedAccessControl {
    			rbac := &rbachttp.RBAC{}
    			if err := httpFilter.GetTypedConfig().UnmarshalTo(rbac); err == nil {
    				policies := []string{}
    				for polName := range rbac.Rules.Policies {
    					policies = append(policies, polName)
    				}
    				return policies, nil
    			}
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top