Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetTypedConfig (0.06 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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 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()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/sds/util.go

    	if customValidator := secret.GetValidationContext().GetCustomValidatorConfig(); customValidator != nil {
    		if customValidator.GetTypedConfig().GetTypeUrl() == "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.SPIFFECertValidatorConfig" {
    			spiffeConfig := &auth.SPIFFECertValidatorConfig{}
    			if err := customValidator.GetTypedConfig().UnmarshalTo(spiffeConfig); err != nil {
    				return nil, fmt.Errorf("error unmarshaling spiffe config: %v", err)
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. 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
    			}
    		}
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top