Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKongProperties ¶
func AddKongProperties(rootProps props)
Types ¶
type AgentConfig ¶
type AgentConfig struct { CentralCfg corecfg.CentralConfig `config:"central"` KongGatewayCfg *KongGatewayConfig `config:"kong"` }
AgentConfig - represents the config for agent
type KongACLConfig ¶
type KongACLConfig struct {
Disable bool `config:"disable"`
}
type KongAdminAuthConfig ¶
type KongAdminAuthConfig struct { APIKey KongAdminAuthAPIKeyConfig `config:"apiKey"` BasicAuth KongAdminBasicAuthConfig `config:"basicAuth"` }
type KongAdminConfig ¶
type KongAdminConfig struct { Url string `config:"url"` Auth KongAdminAuthConfig `config:"auth"` TLS corecfg.TLSConfig `config:"ssl"` }
type KongGatewayConfig ¶
type KongGatewayConfig struct { corecfg.IConfigValidator Admin KongAdminConfig `config:"admin"` Proxy KongProxyConfig `config:"proxy"` Spec KongSpecConfig `config:"spec"` ACL KongACLConfig `config:"acl"` }
KongGatewayConfig - represents the config for gateway
func ParseProperties ¶
func ParseProperties(rootProps props) *KongGatewayConfig
func (*KongGatewayConfig) ValidateCfg ¶
func (c *KongGatewayConfig) ValidateCfg() error
ValidateCfg - Validates the gateway config
type KongPortConfig ¶
type KongPortConfig struct { HTTP KongPortSettingsConfig `config:"http"` HTTPS KongPortSettingsConfig `config:"https"` }
type KongPortSettingsConfig ¶
type KongProxyConfig ¶
type KongProxyConfig struct { Host string `config:"host"` Ports KongPortConfig `config:"ports"` BasePath string `config:"basePath"` }
Click to show internal directories.
Click to hide internal directories.