mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-04 06:58:31 +00:00
* disable pegomock --use-experimental-model-gen, cause random fail by segv * make regen-mocks * fix mock code which uses non experimental pegomock codes
34 lines
981 B
Go
34 lines
981 B
Go
// Code generated by pegomock. DO NOT EDIT.
|
|
package matchers
|
|
|
|
import (
|
|
"github.com/petergtz/pegomock"
|
|
"reflect"
|
|
|
|
logging "github.com/runatlantis/atlantis/server/logging"
|
|
)
|
|
|
|
func AnyLoggingSimpleLogging() logging.SimpleLogging {
|
|
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(logging.SimpleLogging))(nil)).Elem()))
|
|
var nullValue logging.SimpleLogging
|
|
return nullValue
|
|
}
|
|
|
|
func EqLoggingSimpleLogging(value logging.SimpleLogging) logging.SimpleLogging {
|
|
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
|
|
var nullValue logging.SimpleLogging
|
|
return nullValue
|
|
}
|
|
|
|
func NotEqLoggingSimpleLogging(value logging.SimpleLogging) logging.SimpleLogging {
|
|
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
|
|
var nullValue logging.SimpleLogging
|
|
return nullValue
|
|
}
|
|
|
|
func LoggingSimpleLoggingThat(matcher pegomock.ArgumentMatcher) logging.SimpleLogging {
|
|
pegomock.RegisterMatcher(matcher)
|
|
var nullValue logging.SimpleLogging
|
|
return nullValue
|
|
}
|