config

package
v0.0.0-alpha13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKongProperties

func AddKongProperties(rootProps properties.Properties)

func SetAgentConfig

func SetAgentConfig(cfg *AgentConfig)

Types

type AgentConfig

type AgentConfig struct {
	CentralCfg          corecfg.CentralConfig    `config:"central"`
	HttpLogPluginConfig *KongHttpLogPluginConfig `config:"httpLogPlugin"`
}

AgentConfig - represents the config for agent

func GetAgentConfig

func GetAgentConfig() *AgentConfig

type KongHttpLogPluginConfig

type KongHttpLogPluginConfig struct {
	Path string `config:"path"`
	Port int    `config:"port"`
}

func ParseProperties

func ParseProperties(rootProps properties.Properties) *KongHttpLogPluginConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL