Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTypedConfig (0.12 sec)

  1. 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)
  2. 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