Documentation ¶
Index ¶
- func BuildFluentBitConfig(pipeline *telemetryv1alpha1.LogPipeline, defaults PipelineDefaults) (string, error)
- func BuildFluentBitParsersConfig(logParsers *telemetryv1alpha1.LogParserList) string
- type PipelineDefaults
- type SectionBuilder
- func (sb *SectionBuilder) AddConfigParam(key string, value string) *SectionBuilder
- func (sb *SectionBuilder) AddIfNotEmpty(key string, value string) *SectionBuilder
- func (sb *SectionBuilder) AddIfNotEmptyOrDefault(key string, value string, defaultValue string) *SectionBuilder
- func (sb *SectionBuilder) Build() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFluentBitConfig ¶
func BuildFluentBitConfig(pipeline *telemetryv1alpha1.LogPipeline, defaults PipelineDefaults) (string, error)
BuildFluentBitConfig merges Fluent Bit filters and outputs to a single Fluent Bit configuration.
func BuildFluentBitParsersConfig ¶
func BuildFluentBitParsersConfig(logParsers *telemetryv1alpha1.LogParserList) string
BuildFluentBitParsersConfig merges Fluent Bit parsers to a single Fluent Bit configuration.
Types ¶
type PipelineDefaults ¶
type SectionBuilder ¶
type SectionBuilder struct {
// contains filtered or unexported fields
}
func NewFilterSectionBuilder ¶
func NewFilterSectionBuilder() *SectionBuilder
func NewOutputSectionBuilder ¶
func NewOutputSectionBuilder() *SectionBuilder
func (*SectionBuilder) AddConfigParam ¶
func (sb *SectionBuilder) AddConfigParam(key string, value string) *SectionBuilder
func (*SectionBuilder) AddIfNotEmpty ¶
func (sb *SectionBuilder) AddIfNotEmpty(key string, value string) *SectionBuilder
func (*SectionBuilder) AddIfNotEmptyOrDefault ¶
func (sb *SectionBuilder) AddIfNotEmptyOrDefault(key string, value string, defaultValue string) *SectionBuilder
func (*SectionBuilder) Build ¶
func (sb *SectionBuilder) Build() string
Click to show internal directories.
Click to hide internal directories.