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