addk8smeta

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "addK8sMeta"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	interceptor.ExtensionConfig `yaml:",inline"`

	PatternFields string            `yaml:"patternFields,omitempty"`
	Pattern       string            `yaml:"pattern,omitempty" validate:"required"`
	FieldsName    string            `yaml:"fieldsName" default:"kubernetes"`
	AddFields     map[string]string `yaml:"addFields,omitempty"`
}

type Interceptor

type Interceptor struct {
	Splits   []string
	Matchers []string
	// contains filtered or unexported fields
}

func (*Interceptor) BelongTo

func (icp *Interceptor) BelongTo() (componentTypes []string)

func (*Interceptor) Category

func (icp *Interceptor) Category() api.Category

func (*Interceptor) Config

func (icp *Interceptor) Config() interface{}

func (*Interceptor) IgnoreRetry

func (icp *Interceptor) IgnoreRetry() bool

func (*Interceptor) Init

func (icp *Interceptor) Init(context api.Context) error

func (*Interceptor) Intercept

func (icp *Interceptor) Intercept(invoker source.Invoker, invocation source.Invocation) api.Result

func (*Interceptor) Order

func (icp *Interceptor) Order() int

func (*Interceptor) Start

func (icp *Interceptor) Start() error

func (*Interceptor) Stop

func (icp *Interceptor) Stop()

func (*Interceptor) String

func (icp *Interceptor) String() string

func (*Interceptor) Type

func (icp *Interceptor) Type() api.Type

Jump to

Keyboard shortcuts

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