config

package
v0.0.0-...-2cfd4b1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Fs               afero.Fs
	LogCtx           *log.Entry
	WorkingDirectory string
}

func New

func New(logLevel string) (Config, error)

type TestConfig

type TestConfig struct {
	Config     Config
	LogHandler *memory.Handler
}

func NewTest

func NewTest() TestConfig

func (TestConfig) HasLogEntry

func (testConfig TestConfig) HasLogEntry(logLevel log.Level, fields log.Fields, substringMessage string) bool

Jump to

Keyboard shortcuts

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