logmeta

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginDockerUpdateFile    = 1
	PluginDockerDeleteFile    = 2
	PluginDockerUpdateFileAll = 3
	PluginDockerStopFile      = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerFileUpdateCmd

type DockerFileUpdateCmd struct {
	ID   string
	Path string
	Tags []string
}

type DockerFileUpdateCmdAll

type DockerFileUpdateCmdAll struct {
	AllCmd []DockerFileUpdateCmd
}

type InputDockerFile

type InputDockerFile struct {
	IncludeLabel          map[string]string // Deprecated: use IncludeContainerLabel and IncludeK8sLabel instead.
	ExcludeLabel          map[string]string // Deprecated: use ExcludeContainerLabel and ExcludeK8sLabel instead.
	IncludeEnv            map[string]string
	ExcludeEnv            map[string]string
	IncludeContainerLabel map[string]string
	ExcludeContainerLabel map[string]string
	IncludeK8sLabel       map[string]string
	ExcludeK8sLabel       map[string]string
	ExternalEnvTag        map[string]string
	ExternalK8sLabelTag   map[string]string
	LogPath               string
	FileParttern          string
	MountPath             string
	HostFlag              bool
	K8sNamespaceRegex     string
	K8sPodRegex           string
	K8sContainerRegex     string

	// export from ilogtail-trace component
	IncludeLabelRegex map[string]*regexp.Regexp
	ExcludeLabelRegex map[string]*regexp.Regexp
	IncludeEnvRegex   map[string]*regexp.Regexp
	ExcludeEnvRegex   map[string]*regexp.Regexp
	K8sFilter         *helper.K8SFilter

	FlushIntervalMs int `comment:"the interval of container discovery, and the timeunit is millisecond. Default value is 3000."`

	CollectContainersFlag bool
	// contains filtered or unexported fields
}

func (*InputDockerFile) Collect

func (idf *InputDockerFile) Collect(collector pipeline.Collector) error

func (*InputDockerFile) Description

func (idf *InputDockerFile) Description() string

func (*InputDockerFile) Init

func (idf *InputDockerFile) Init(context pipeline.Context) (int, error)

func (*InputDockerFile) Name

func (idf *InputDockerFile) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL