Documentation ¶
Index ¶
- Constants
- type Config
- type Interceptor
- func (icp *Interceptor) BelongTo() (componentTypes []string)
- func (icp *Interceptor) Category() api.Category
- func (icp *Interceptor) Config() interface{}
- func (icp *Interceptor) IgnoreRetry() bool
- func (icp *Interceptor) Init(context api.Context) error
- func (icp *Interceptor) Intercept(invoker source.Invoker, invocation source.Invocation) api.Result
- func (icp *Interceptor) Order() int
- func (icp *Interceptor) Start() error
- func (icp *Interceptor) Stop()
- func (icp *Interceptor) String() string
- func (icp *Interceptor) Type() api.Type
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) 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
Click to show internal directories.
Click to hide internal directories.