mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-03 10:38:32 +00:00
* Moved CommandContext and CommandResult to models (#193) * Moved CommandContext and CommandResult to models * move from models to command rename CommandContext -> Context rename CommandResult -> Result * moved command related helpers into command package * move ProjectCommandContext and ProjectResult to command/project package * move project command context and project result * revert unrelated code * move tests * fix left over * fix linting * fix tests * remove unused import * fix project context dependencies * fix depenedecies * fix typo
34 lines
869 B
Go
34 lines
869 B
Go
// Code generated by pegomock. DO NOT EDIT.
|
|
package matchers
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/petergtz/pegomock"
|
|
"github.com/runatlantis/atlantis/server/events/command"
|
|
)
|
|
|
|
func AnyModelsCommandName() command.Name {
|
|
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(command.Name))(nil)).Elem()))
|
|
var nullValue command.Name
|
|
return nullValue
|
|
}
|
|
|
|
func EqModelsCommandName(value command.Name) command.Name {
|
|
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
|
|
var nullValue command.Name
|
|
return nullValue
|
|
}
|
|
|
|
func NotEqModelsCommandName(value command.Name) command.Name {
|
|
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
|
|
var nullValue command.Name
|
|
return nullValue
|
|
}
|
|
|
|
func ModelsCommandNameThat(matcher pegomock.ArgumentMatcher) command.Name {
|
|
pegomock.RegisterMatcher(matcher)
|
|
var nullValue command.Name
|
|
return nullValue
|
|
}
|