Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NonRootAgentUserGroup = model.AgentUserGroup{
User: nonRootUserName,
UID: nonRootUID,
Group: nonRootGroupName,
GID: nonRootGID,
}
NonRootAgentUserGroup is a non-root agent user group that should exist by default for Fluent Bit container images that has a writable homedir for on-disk buffers.
Functions ¶
func ContainerConfig ¶
func ContainerConfig( masterHost string, masterPort int, inputs []ConfigSection, filters []ConfigSection, loggingConfig model.LoggingConfig, tlsConfig model.TLSClientConfig, ) ([]string, map[string][]byte)
ContainerConfig computes the command-line arguments and extra files needed to start Fluent Bit with an appropriate configuration. The files are returned as a map from name to content; the contents should be placed into files in the same directory and Fluent Bit should be started in that directory.
Types ¶
type ConfigItem ¶
type ConfigItem struct {
Name, Value string
}
ConfigItem describes one line in a Fluent Bit config file.
type ConfigSection ¶
type ConfigSection []ConfigItem
ConfigSection describes the contents of one section (input, output, parser, etc.) in a Fluent Bit config file.
func (ConfigSection) String ¶
func (c ConfigSection) String() string
Click to show internal directories.
Click to hide internal directories.