tester

package
v0.0.0-...-8a90fd1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package tester contains a static source tester.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tester

type Tester struct {
	Unit chan unit.Unit
	// contains filtered or unexported fields
}

Tester is a static source tester.

func New

func New(createFunc func(defs.StaticSourceParent) defs.StaticSource, conf *conf.Path) *Tester

New allocates a tester.

func (*Tester) Close

func (t *Tester) Close()

Close closes the tester.

func (*Tester) Log

func (t *Tester) Log(_ logger.Level, _ string, _ ...interface{})

Log implements StaticSourceParent.

func (*Tester) SetNotReady

func (t *Tester) SetNotReady(_ defs.PathSourceStaticSetNotReadyReq)

SetNotReady implements StaticSourceParent.

func (*Tester) SetReady

SetReady implements StaticSourceParent.

Jump to

Keyboard shortcuts

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