Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
type AgentConfig struct { CentralCfg corecfg.CentralConfig `config:"central"` KongGatewayCfg *KongGatewayConfig `config:"kong"` }
AgentConfig - represents the config for agent
type KongAdminAuthConfig ¶
type KongAdminAuthConfig struct {
APIKey KongAdminAuthAPIKeyConfig `config:"apikey"`
}
type KongAdminConfig ¶
type KongAdminConfig struct { URL string `config:"url"` Auth KongAdminAuthConfig `config:"auth"` }
type KongGatewayConfig ¶
type KongGatewayConfig struct { corecfg.IConfigValidator Admin KongAdminConfig `config:"admin"` Proxy KongProxyConfig `config:"proxy"` Spec KongSpecConfig `config:"spec"` }
KongGatewayConfig - represents the config for gateway
func (*KongGatewayConfig) ValidateCfg ¶
func (c *KongGatewayConfig) ValidateCfg() (err error)
ValidateCfg - Validates the gateway config
type KongProxyConfig ¶
type KongProxyConfig struct { Host string `config:"host"` Port KongProxyPortConfig `config:"port"` }
type KongProxyPortConfig ¶
type KongSpecConfig ¶
Click to show internal directories.
Click to hide internal directories.