Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "dockerlog"
)
Variables ¶
This section is empty.
Functions ¶
func GetContainerInfo ¶
func InitHandler ¶
func InitHandler(confraw *config.ConfigRaw) (retconf config.TypeInputConfig, err error)
Types ¶
type ContainerLogStream ¶
func NewContainerLogStream ¶
type ErrorContainerLogLoopRunning ¶
type ErrorContainerLogLoopRunning struct {
ID string
}
func (*ErrorContainerLogLoopRunning) Error ¶
func (t *ErrorContainerLogLoopRunning) Error() string
type InputConfig ¶
type InputConfig struct { config.InputConfig DockerURL string `json:"dockerurl"` IncludePatterns []string `json:"include_patterns"` ExcludePatterns []string `json:"exclude_patterns"` SincePath string `json:"sincepath"` StartPos string `json:"start_position,omitempty"` // one of ["beginning", "end"] ConnectionRetryInterval int `json:"connection_retry_interval,omitempty"` // contains filtered or unexported fields }
func DefaultInputConfig ¶
func DefaultInputConfig() InputConfig
func (*InputConfig) Start ¶
func (t *InputConfig) Start()
type SinceFile ¶
func NewSinceFile ¶
Click to show internal directories.
Click to hide internal directories.