Documentation ¶
Index ¶
- Variables
- func AppenderPlugin(name string, a appender.AppenderConstructor) map[string][]interface{}
- func BuilderPlugin(name string, b builder.BuilderConstructor) map[string][]interface{}
- type Register
- func (r *Register) AddAppender(name string, appender appender.AppenderConstructor)
- func (r *Register) AddBuilder(name string, indexer builder.BuilderConstructor)
- func (r *Register) AddDefaultAppenderConfig(name string, config common.Config)
- func (r *Register) AddDefaultBuilderConfig(name string, config common.Config)
- func (r *Register) GetAppender(name string) appender.AppenderConstructor
- func (r *Register) GetBuilder(name string) builder.BuilderConstructor
- func (r *Register) GetDefaultAppenderConfigs() map[string]common.Config
- func (r *Register) GetDefaultBuilderConfigs() map[string]common.Config
Constants ¶
This section is empty.
Variables ¶
View Source
var BuilderRegistry = NewRegister()
BuilderRegistry is the singleton Register instance where all Builders and Matchers are stored
Functions ¶
func AppenderPlugin ¶
func AppenderPlugin(name string, a appender.AppenderConstructor) map[string][]interface{}
func BuilderPlugin ¶
func BuilderPlugin(name string, b builder.BuilderConstructor) map[string][]interface{}
Types ¶
type Register ¶
Register contains Builder to use on pod indexing and event matching
func (*Register) AddAppender ¶
func (r *Register) AddAppender(name string, appender appender.AppenderConstructor)
Add Appender to the register
func (*Register) AddBuilder ¶
func (r *Register) AddBuilder(name string, indexer builder.BuilderConstructor)
Add Builder to the register
func (*Register) AddDefaultAppenderConfig ¶
Add Appender to the register
func (*Register) AddDefaultBuilderConfig ¶
Add Builder to the register
func (*Register) GetAppender ¶
func (r *Register) GetAppender(name string) appender.AppenderConstructor
Get Appender from the register
func (*Register) GetBuilder ¶
func (r *Register) GetBuilder(name string) builder.BuilderConstructor
Get Builder from the register
func (*Register) GetDefaultAppenderConfigs ¶
Click to show internal directories.
Click to hide internal directories.