github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/gits/mocks/matchers/ptr_to_auth_authserver.go (about) 1 // Code generated by pegomock. DO NOT EDIT. 2 package matchers 3 4 import ( 5 "reflect" 6 7 auth "github.com/olli-ai/jx/v2/pkg/auth" 8 "github.com/petergtz/pegomock" 9 ) 10 11 func AnyPtrToAuthAuthServer() *auth.AuthServer { 12 pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*auth.AuthServer))(nil)).Elem())) 13 var nullValue *auth.AuthServer 14 return nullValue 15 } 16 17 func EqPtrToAuthAuthServer(value *auth.AuthServer) *auth.AuthServer { 18 pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value}) 19 var nullValue *auth.AuthServer 20 return nullValue 21 }