Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetStringValue (0.06 sec)

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

    	istioMetadata, ok := metadata.FilterMetadata[pilot_util.IstioMetadataKey]
    	if !ok {
    		return ""
    	}
    	config, ok := istioMetadata.Fields["config"]
    	if !ok {
    		return ""
    	}
    	return renderConfig(config.GetStringValue())
    }
    
    func renderConfig(configPath string) string {
    	if strings.HasPrefix(configPath, "/apis/networking.istio.io/") {
    		pieces := strings.Split(configPath, "/")
    		if len(pieces) != 8 {
    			return ""
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    		&structpb.Value{
    			Kind: &structpb.Value_StructValue{
    				StructValue: s,
    			},
    		},
    	}
    }
    
    func (v *myProtoValue) keyAsString(key string) string {
    	s := v.keyAsStruct(key)
    	return s.GetStringValue()
    }
    
    func getIstioRBACPolicies(cd *configdump.Wrapper, port int32) ([]string, error) {
    	hcm, err := getInboundHTTPConnectionManager(cd, port)
    	if err != nil || hcm == nil {
    		return []string{}, err
    	}
    
    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