mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-03 07:38:34 +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
35 lines
944 B
Go
35 lines
944 B
Go
// Code generated by pegomock. DO NOT EDIT.
|
|
package matchers
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/petergtz/pegomock"
|
|
|
|
github "github.com/google/go-github/v31/github"
|
|
)
|
|
|
|
func AnyPtrToGithubRepository() *github.Repository {
|
|
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*github.Repository))(nil)).Elem()))
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|
|
|
|
func EqPtrToGithubRepository(value *github.Repository) *github.Repository {
|
|
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|
|
|
|
func NotEqPtrToGithubRepository(value *github.Repository) *github.Repository {
|
|
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|
|
|
|
func PtrToGithubRepositoryThat(matcher pegomock.ArgumentMatcher) *github.Repository {
|
|
pegomock.RegisterMatcher(matcher)
|
|
var nullValue *github.Repository
|
|
return nullValue
|
|
}
|