You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/01 12:54:58 UTC

[GitHub] [apisix-ingress-controller] fhuzero commented on issue #562: discuss: support for APISIXRoute/v2alpha1 type in pkg/type/apisix

fhuzero commented on issue #562:
URL: https://github.com/apache/apisix-ingress-controller/issues/562#issuecomment-872221852


   @tokers Thanks for your explanation! Maybe I didn't explain my question clearly, my bad. From my understanding, the Apisix Route prototype refers to struct `Route` in _pkg/type/apisix/v1/types.go_. I want to implement traffic-split feature in my code when translating Ingress. Then I find that field `http[].backends.weight` suits my need. But I cannot find a field in `Route`  which represents `http[].backends` field in ApisixRoute/v2alpha1. What should I do if I want to access `backends` field in ApisixRoute/v2alpha1 spec?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org