Categorygithub.com/wisdom-oss/golang-kong-access
modulepackage
1.0.3
Repository: https://github.com/wisdom-oss/golang-kong-access.git
Documentation: pkg.go.dev

# Functions

AddPluginToService adds a new plugin to the supplied service with the supplied configuration.
CreateNewRoute sets up a new route entry in the gateway allowing the service to be reached under the path.
CreateNewUpstream Create a new upstream object in the api gateway.
CreateService creates a new service object which uses the supplied upstream as host to which the requests are routed */.
CreateTargetInUpstream creates a new target with the supplied targetAddress on the supplied upstream */.
IsAddressInUpstreamTargetList checks if the supplied target address is in the target list of the supplied upstream.
IsServiceSetUp checks if a service with the supplied service name exists in the api gateway.
IsUpstreamSetUp checks if an upstream with the name is configured in the Kong API Gateway.
No description provided by the author
No description provided by the author
ReadServicePlugins returns a list of all configured plugins for a service */.
ReadUpstreamInformation Read the information about the upstream and return them as an object */.
ServiceHasPlugin checks if a service has a plugin set up with the supplied name */.
ServiceHasRouteSetUp checks if the service has any routes set up.
ServiceHasRouteWithPathSetUp checks if the service has a route set up matching the supplied path HINT: You need to include a leading slash in the path */.
ServiceHasUpstream tests if the supplied service name's configuration has the upstream in its host field */.
SetUpGatewayConnection Call this function to set up the connection to the API Gateway */.
UpdateServiceHost updates a services host address.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

PluginInformation contains the information about a plugin installed on either a service, path or globally.
No description provided by the author
RouteConfiguration contains all information about a route set up in the gateways.
No description provided by the author
ServiceConfiguration contains all data stored in the gateway for the service configuration.
No description provided by the author
UpstreamConfiguration specifies how the upstream is configured in the gateway.
UpstreamTargetInformation contains all information the gateway has stored about a upstream target.

# Type aliases

No description provided by the author
No description provided by the author