Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendAll ¶
func AppendAll(f *builder.File, cfg *promtailcfg.Config, labelPrefix string, diags diag.Diagnostics) diag.Diagnostics
AppendAll analyzes the entire promtail config in memory and transforms it into Flow components. It then appends each argument to the file builder.
func Convert ¶
func Convert(in []byte) ([]byte, diag.Diagnostics)
Convert implements a Promtail config converter.
func DefaultLimitsConfig ¶
func DefaultPositionsConfig ¶
Types ¶
type Config ¶
type Config struct {
promtailcfg.Config `yaml:",inline"`
}
func (*Config) Clone ¶
func (c *Config) Clone() flagext.Registerer
Clone takes advantage of pass-by-value semantics to return a distinct *Config. This is primarily used to parse a different flag set without mutating the original *Config.
Click to show internal directories.
Click to hide internal directories.