error_finder

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLogMatchedError

func CreateLogMatchedError(description string, details []string, solution, code string) interfaces.LogMatchedError

Types

type ErrorFinder

type ErrorFinder struct {
	Matchers []interfaces.ErrorMatcher
}

func (*ErrorFinder) FindErrors

func (e *ErrorFinder) FindErrors(responseString string) []interfaces.LogMatchedError

type ErrorMatcherFactory

type ErrorMatcherFactory struct {
}

func (*ErrorMatcherFactory) CreateErrorMatcher

func (f *ErrorMatcherFactory) CreateErrorMatcher(descriptor structs.ErrorMatcherDescriptor) (interfaces.ErrorMatcher, error)

type RegExErrorMatcher

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

func (*RegExErrorMatcher) Descriptor

func (m *RegExErrorMatcher) Descriptor() string

func (*RegExErrorMatcher) Match

func (m *RegExErrorMatcher) Match(matchTo []byte) interfaces.LogMatchedError

Jump to

Keyboard shortcuts

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