service

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

service transformers

专门存放业务相关的特定Transformers

Documentation

Index

Constants

View Source
const (
	K8sTagType       = "k8stag"
	K8sPodName       = "k8s_pod_name"
	K8sNamespace     = "k8s_namespace"
	K8sContainerName = "k8s_container_name"
	K8sContainerId   = "k8s_container_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sTag

type K8sTag struct {
	SourceFileKey string `json:"sourcefilefield"`
	// contains filtered or unexported fields
}

func (*K8sTag) ConfigOptions

func (g *K8sTag) ConfigOptions() []Option

func (*K8sTag) Description

func (g *K8sTag) Description() string

func (*K8sTag) Init

func (g *K8sTag) Init() error

func (*K8sTag) RawTransform

func (g *K8sTag) RawTransform(datas []string) ([]string, error)

func (*K8sTag) SampleConfig

func (g *K8sTag) SampleConfig() string

func (*K8sTag) SetStats

func (g *K8sTag) SetStats(err string) StatsInfo

func (*K8sTag) Stage

func (g *K8sTag) Stage() string

func (*K8sTag) Stats

func (g *K8sTag) Stats() StatsInfo

func (*K8sTag) Transform

func (g *K8sTag) Transform(datas []Data) ([]Data, error)

func (*K8sTag) Type

func (g *K8sTag) Type() string

Jump to

Keyboard shortcuts

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