Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getIstioVersionFromXdsMetadata (0.26 sec)

  1. istioctl/pkg/version/version.go

    				pi = append(pi, istioVersion.ProxyInfo{
    					ID:           node.Id,
    					IstioVersion: getIstioVersionFromXdsMetadata(node.Metadata),
    				})
    			default:
    				return nil, fmt.Errorf("unexpected resource type %q", resource.TypeUrl)
    			}
    		}
    		return &pi, nil
    	}
    }
    
    func getIstioVersionFromXdsMetadata(metadata *structpb.Struct) string {
    	meta, err := model.ParseMetadata(metadata)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top