Documentation
¶
Index ¶
- func Get(client *kong.Client) (*utils.KongRawState, error)
- func GetAllCertificates(client *kong.Client) ([]*kong.Certificate, error)
- func GetAllConsumers(client *kong.Client) ([]*kong.Consumer, error)
- func GetAllPlugins(client *kong.Client) ([]*kong.Plugin, error)
- func GetAllRoutes(client *kong.Client) ([]*kong.Route, error)
- func GetAllSNIs(client *kong.Client) ([]*kong.SNI, error)
- func GetAllServices(client *kong.Client) ([]*kong.Service, error)
- func GetAllTargets(client *kong.Client, upstreams []*kong.Upstream) ([]*kong.Target, error)
- func GetAllUpstreams(client *kong.Client) ([]*kong.Upstream, error)
- func GetState(client *kong.Client) (*state.KongState, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(client *kong.Client) (*utils.KongRawState, error)
Get queries all the entities using client and returns all the entities in KongRawState.
func GetAllCertificates ¶
func GetAllCertificates(client *kong.Client) ([]*kong.Certificate, error)
GetAllCertificates queries Kong for all the certificates using client.
func GetAllConsumers ¶
GetAllConsumers queries Kong for all the consumers using client. Please use this method with caution if you have a lot of consumers.
func GetAllPlugins ¶
GetAllPlugins queries Kong for all the plugins using client.
func GetAllRoutes ¶
GetAllRoutes queries Kong for all the routes using client.
func GetAllSNIs ¶
GetAllSNIs queries Kong for all the SNIs using client.
func GetAllServices ¶
GetAllServices queries Kong for all the services using client.
func GetAllTargets ¶
GetAllTargets queries Kong for all the Targets of upstreams using client. Targets are queries per upstream as there exists no endpoint in Kong to list all targets of all upstreams.
func GetAllUpstreams ¶
GetAllUpstreams queries Kong for all the Upstreams using client.
Types ¶
This section is empty.