Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginName = "discoverEventLocal"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoverEventConfig ¶ added in v1.17.0
type DiscoverEventConfig struct { QueueSize int `json:"queueSize"` OutputPath string `json:"outputPath"` RotationMaxSize int `json:"rotationMaxSize"` RotationMaxAge int `json:"rotationMaxAge"` RotationMaxBackups int `json:"rotationMaxBackups"` }
DiscoverEventConfig 服务实例事件插件配置
func DefaultDiscoverEventConfig ¶ added in v1.17.0
func DefaultDiscoverEventConfig() *DiscoverEventConfig
DefaultDiscoverEventConfig 创建一个默认的服务事件插件配置
func (*DiscoverEventConfig) Validate ¶ added in v1.17.0
func (c *DiscoverEventConfig) Validate() error
Validate 检查配置是否正确配置
Click to show internal directories.
Click to hide internal directories.