Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKongClient ¶
func GetKongClient(opt KongClientConfig) (*kong.Client, error)
GetKongClient returns a Kong client
Types ¶
type HeaderRoundTripper ¶
type HeaderRoundTripper struct {
// contains filtered or unexported fields
}
HeaderRoundTripper injects Headers into requests made via RT.
type KongClientConfig ¶
type KongClientConfig struct {
Address string
Headers []string
TLSSkipVerify bool
TLSServerName string
TLSCACert string
Debug bool
}
KongClientConfig holds config details to use to talk to a Kong server.
type KongRawState ¶
type KongRawState struct {
Services []*kong.Service
Routes []*kong.Route
Plugins []*kong.Plugin
Upstreams []*kong.Upstream
Targets []*kong.Target
Certificates []*kong.Certificate
SNIs []*kong.SNI
Consumers []*kong.Consumer
CustomEntities []*custom.Entity
}
KongRawState contains all of Kong Data
Click to show internal directories.
Click to hide internal directories.