Expand description
Apisix Client Library
Provides a REST models for service consumers of Apisix.
Maintained by Trust1Team for Apisix
Modules§
Structs§
Enums§
Functions§
- Check if the Admin API is up and running
- Creates or updates a new Consumer group with the specified id
- Create new Consumer
- Creates or updates a Route with the specified id
- Creates or updates a Service with the specified id
- Creates or updates a Route with the specified id
- Removes the Consumer with the specified username
- Removes the Consumer group with the specified id
- Removes the Route with the specified id
- Removes the Service with the specified id
- Creates an Upstream and assigns a random id The default behaviour is that Apisix generated an ID for you, but that causes problems as Apisix allows the use of integers or strings for id’s. We force a random generated string, fallback is the default Apisix behaviour Removes the Upstream with the specified id
- Fetches specified Consumer by username
- Fetches specified Consumer group by id
- Fetches a list of all configured Consumer Groups
- Fetches a list of all Consumers
- Fetches specified Route by id
- Fetches a list of all configured Routes
- Fetches specified Service by id
- Fetches a list of available Services
- Fetches specified Upstream by id
- Fetch a list of all configured Upstreams
- Triggers a full garbage collection in the HTTP subsystem. Note: When stream proxy is enabled, APISIX runs another Lua VM for the stream subsystem. Full garbage collection is not triggered in this VM.
- Returns a health check of the APISIX instance
- Returns the JSON schema used by the APISIX instance (untyped JSON)
- Get configuration based on the Apisix development environment variables Function is used during development, and in combination with a Smart ID demo client application
- Get configuration based on the environment variables (default config override) Function will panic when the environment variables are not set The following variables must be set: