-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: simple APISIX sdk #4
Conversation
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
pkg/api/apisix/apisix.go
Outdated
Update(ctx context.Context, ups *types.Service) (*types.Service, error) | ||
} | ||
|
||
type Upstream interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can delete the Upstream
interface. 🤔️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but we should use this to call Admin API, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we really don't need the upstream resources, we can
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
* feat: simple apisix sdk Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com> * rollback changes * fmt code Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com> * rollback types changes * simple rename Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com> * generic client * fix service types Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com> * remove v2 version admin API Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com> * feat: add route api Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com> * remove upstream api Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com> --------- Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
no tests yet