Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetTypedConfig (0.19 sec)

  1. istioctl/pkg/writer/envoy/configdump/ecds.go

    		}
    
    		ecds = append(ecds, c)
    	}
    
    	sort.Slice(ecds, func(i, j int) bool {
    		if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() {
    			return ecds[i].GetName() < ecds[j].GetName()
    		}
    
    		return ecds[i].GetTypedConfig().GetTypeUrl() < ecds[j].GetTypedConfig().GetTypeUrl()
    	})
    
    	return ecds, nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/listener.go

    		} else if filter.Name == TCPListener {
    			if !strings.Contains(string(filter.GetTypedConfig().GetValue()), util.BlackHoleCluster) {
    				tcpProxy := &tcp.TcpProxy{}
    				// Allow Unmarshal to work even if Envoy and istioctl are different
    				filter.GetTypedConfig().TypeUrl = "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy"
    				err := filter.GetTypedConfig().UnmarshalTo(tcpProxy)
    				if err != nil {
    					return err.Error()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  3. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top