Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ss (1.96 sec)

  1. istioctl/pkg/describe/describe.go

    	// nolint: gosimple
    	re := regexp.MustCompile("/apis/networking(\\.istio\\.io)?/v1alpha3/namespaces/(?P<namespace>[^/]+)/virtual-service/(?P<name>[^/]+)")
    	ss := re.FindStringSubmatch(path)
    	if ss == nil {
    		return "", "", fmt.Errorf("not a VS path: %s", path)
    	}
    	return ss[3], ss[2], nil
    }
    
    // getIstioVirtualServicePathForSvcFromRoute returns something like "/apis/networking/v1alpha3/namespaces/default/virtual-service/reviews"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top