tester

package
v0.0.0-...-6d34543 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EsimWatcher

type EsimWatcher interface {
	// contains filtered or unexported methods
}

func NewFsnotifyWatcher

func NewFsnotifyWatcher(options ...FwOption) EsimWatcher

type FwOption

type FwOption func(*fsnotifyWatcher)

func WithFwLogger

func WithFwLogger(logger log.Logger) FwOption

type Option

type Option func(*Tester)

func WithTesterExec

func WithTesterExec(execer pkg.Exec) Option

func WithTesterLogger

func WithTesterLogger(logger log.Logger) Option

func WithTesterWatcher

func WithTesterWatcher(watcher EsimWatcher) Option

type Tester

type Tester struct {
	// contains filtered or unexported fields
}

func NewTester

func NewTester(options ...Option) *Tester

func (*Tester) Run

func (tester *Tester) Run(v *viper.Viper)

Run read directory recursively by withWatchDir and watching them.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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