Skip to content
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

Merged
merged 11 commits into from
Aug 22, 2023
Merged

feat: simple APISIX sdk #4

merged 11 commits into from
Aug 22, 2023

Conversation

lingsamuel
Copy link
Contributor

@lingsamuel lingsamuel commented Aug 22, 2023

no tests yet

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>
cmd/dump.go Show resolved Hide resolved
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
Signed-off-by: Ling Samuel (WSL) <lingsamuelgrace@gmail.com>
Update(ctx context.Context, ups *types.Service) (*types.Service, error)
}

type Upstream interface {
Copy link
Contributor

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. 🤔️

Copy link
Contributor

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?

Copy link
Contributor Author

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>
@lingsamuel lingsamuel merged commit 0245e46 into main Aug 22, 2023
2 checks passed
@membphis membphis deleted the simple-sdk branch August 28, 2023 01:52
bzp2010 pushed a commit to bzp2010/adc that referenced this pull request Jul 12, 2024
bzp2010 pushed a commit to bzp2010/adc that referenced this pull request Jul 12, 2024
* 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>
bzp2010 pushed a commit to bzp2010/adc that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants