service

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) RawTransform

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

func (*K8sTag) SampleConfig

func (g *K8sTag) SampleConfig() string

func (*K8sTag) SetStats added in v1.5.1

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