mock

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputMock

type InputMock struct {
	GroupMeta             map[string]string
	GroupTags             map[string]string
	Tags                  map[string]string
	Fields                map[string]interface{}
	Index                 int64
	OpenPrometheusPattern bool
	// contains filtered or unexported fields
}

func (*InputMock) Collect

func (r *InputMock) Collect(collector pipeline.Collector) error

func (*InputMock) Description

func (r *InputMock) Description() string

func (*InputMock) Init

func (r *InputMock) Init(context pipeline.Context) (int, error)

func (*InputMock) Read added in v1.4.0

func (r *InputMock) Read(context pipeline.PipelineContext) error

Jump to

Keyboard shortcuts

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