Documentation ¶
Overview ¶
Package mock_generated is a generated GoMock package.
Index ¶
- type MockMutationResolver
- func (m *MockMutationResolver) CreateOauthClient(ctx context.Context, input model.CreateOauthClientInput) (*model.OauthClient, error)
- func (m *MockMutationResolver) CreateUser(ctx context.Context, input model.CreateUserInput) (*model.User, error)
- func (m *MockMutationResolver) EXPECT() *MockMutationResolverMockRecorder
- func (m *MockMutationResolver) IndexingPhotos(ctx context.Context, input *model.IndexingPhotosInput) (bool, error)
- func (m *MockMutationResolver) UpdateMe(ctx context.Context, input model.UpdateMeInput) (*model.User, error)
- func (m *MockMutationResolver) UploadPhoto(ctx context.Context) (*model.PhotoUploadInfo, error)
- type MockMutationResolverMockRecorder
- func (mr *MockMutationResolverMockRecorder) CreateOauthClient(ctx, input interface{}) *gomock.Call
- func (mr *MockMutationResolverMockRecorder) CreateUser(ctx, input interface{}) *gomock.Call
- func (mr *MockMutationResolverMockRecorder) IndexingPhotos(ctx, input interface{}) *gomock.Call
- func (mr *MockMutationResolverMockRecorder) UpdateMe(ctx, input interface{}) *gomock.Call
- func (mr *MockMutationResolverMockRecorder) UploadPhoto(ctx interface{}) *gomock.Call
- type MockOauthClientResolver
- type MockOauthClientResolverMockRecorder
- type MockPhotoFileResolver
- type MockPhotoFileResolverMockRecorder
- type MockPhotoResolver
- type MockPhotoResolverMockRecorder
- type MockQueryResolver
- func (m *MockQueryResolver) AggregateDateTimeOriginal(ctx context.Context, year, month *int) ([]*model.DateAggregationItem, error)
- func (m *MockQueryResolver) EXPECT() *MockQueryResolverMockRecorder
- func (m *MockQueryResolver) ExistUserID(ctx context.Context, id string) (bool, error)
- func (m *MockQueryResolver) GqlStatus(ctx context.Context) (*model.GqlStatus, error)
- func (m *MockQueryResolver) Me(ctx context.Context) (*model.User, error)
- func (m *MockQueryResolver) Photo(ctx context.Context, id string) (*model.Photo, error)
- func (m *MockQueryResolver) PhotoFile(ctx context.Context, id string) (*model.PhotoFile, error)
- func (m *MockQueryResolver) PhotoFiles(ctx context.Context, photoID string) ([]*model.PhotoFile, error)
- func (m *MockQueryResolver) Photos(ctx context.Context, id *string, limit, offset, year, month, date *int) (*model.PhotoPagination, error)
- func (m *MockQueryResolver) User(ctx context.Context, id string) (*model.User, error)
- func (m *MockQueryResolver) Users(ctx context.Context, id *string, limit, offset *int) (*model.UserPagination, error)
- type MockQueryResolverMockRecorder
- func (mr *MockQueryResolverMockRecorder) AggregateDateTimeOriginal(ctx, year, month interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) ExistUserID(ctx, id interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) GqlStatus(ctx interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) Me(ctx interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) Photo(ctx, id interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) PhotoFile(ctx, id interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) PhotoFiles(ctx, photoID interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) Photos(ctx, id, limit, offset, year, month, date interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) User(ctx, id interface{}) *gomock.Call
- func (mr *MockQueryResolverMockRecorder) Users(ctx, id, limit, offset interface{}) *gomock.Call
- type MockResolverRoot
- func (m *MockResolverRoot) EXPECT() *MockResolverRootMockRecorder
- func (m *MockResolverRoot) Mutation() generated.MutationResolver
- func (m *MockResolverRoot) OauthClient() generated.OauthClientResolver
- func (m *MockResolverRoot) Photo() generated.PhotoResolver
- func (m *MockResolverRoot) PhotoFile() generated.PhotoFileResolver
- func (m *MockResolverRoot) Query() generated.QueryResolver
- func (m *MockResolverRoot) User() generated.UserResolver
- type MockResolverRootMockRecorder
- func (mr *MockResolverRootMockRecorder) Mutation() *gomock.Call
- func (mr *MockResolverRootMockRecorder) OauthClient() *gomock.Call
- func (mr *MockResolverRootMockRecorder) Photo() *gomock.Call
- func (mr *MockResolverRootMockRecorder) PhotoFile() *gomock.Call
- func (mr *MockResolverRootMockRecorder) Query() *gomock.Call
- func (mr *MockResolverRootMockRecorder) User() *gomock.Call
- type MockUserResolver
- type MockUserResolverMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMutationResolver ¶
type MockMutationResolver struct {
// contains filtered or unexported fields
}
MockMutationResolver is a mock of MutationResolver interface.
func NewMockMutationResolver ¶
func NewMockMutationResolver(ctrl *gomock.Controller) *MockMutationResolver
NewMockMutationResolver creates a new mock instance.
func (*MockMutationResolver) CreateOauthClient ¶
func (m *MockMutationResolver) CreateOauthClient(ctx context.Context, input model.CreateOauthClientInput) (*model.OauthClient, error)
CreateOauthClient mocks base method.
func (*MockMutationResolver) CreateUser ¶
func (m *MockMutationResolver) CreateUser(ctx context.Context, input model.CreateUserInput) (*model.User, error)
CreateUser mocks base method.
func (*MockMutationResolver) EXPECT ¶
func (m *MockMutationResolver) EXPECT() *MockMutationResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMutationResolver) IndexingPhotos ¶
func (m *MockMutationResolver) IndexingPhotos(ctx context.Context, input *model.IndexingPhotosInput) (bool, error)
IndexingPhotos mocks base method.
func (*MockMutationResolver) UpdateMe ¶
func (m *MockMutationResolver) UpdateMe(ctx context.Context, input model.UpdateMeInput) (*model.User, error)
UpdateMe mocks base method.
func (*MockMutationResolver) UploadPhoto ¶
func (m *MockMutationResolver) UploadPhoto(ctx context.Context) (*model.PhotoUploadInfo, error)
UploadPhoto mocks base method.
type MockMutationResolverMockRecorder ¶
type MockMutationResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockMutationResolverMockRecorder is the mock recorder for MockMutationResolver.
func (*MockMutationResolverMockRecorder) CreateOauthClient ¶
func (mr *MockMutationResolverMockRecorder) CreateOauthClient(ctx, input interface{}) *gomock.Call
CreateOauthClient indicates an expected call of CreateOauthClient.
func (*MockMutationResolverMockRecorder) CreateUser ¶
func (mr *MockMutationResolverMockRecorder) CreateUser(ctx, input interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockMutationResolverMockRecorder) IndexingPhotos ¶
func (mr *MockMutationResolverMockRecorder) IndexingPhotos(ctx, input interface{}) *gomock.Call
IndexingPhotos indicates an expected call of IndexingPhotos.
func (*MockMutationResolverMockRecorder) UpdateMe ¶
func (mr *MockMutationResolverMockRecorder) UpdateMe(ctx, input interface{}) *gomock.Call
UpdateMe indicates an expected call of UpdateMe.
func (*MockMutationResolverMockRecorder) UploadPhoto ¶
func (mr *MockMutationResolverMockRecorder) UploadPhoto(ctx interface{}) *gomock.Call
UploadPhoto indicates an expected call of UploadPhoto.
type MockOauthClientResolver ¶
type MockOauthClientResolver struct {
// contains filtered or unexported fields
}
MockOauthClientResolver is a mock of OauthClientResolver interface.
func NewMockOauthClientResolver ¶
func NewMockOauthClientResolver(ctrl *gomock.Controller) *MockOauthClientResolver
NewMockOauthClientResolver creates a new mock instance.
func (*MockOauthClientResolver) EXPECT ¶
func (m *MockOauthClientResolver) EXPECT() *MockOauthClientResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOauthClientResolver) RedirectUrls ¶
func (m *MockOauthClientResolver) RedirectUrls(ctx context.Context, obj *model.OauthClient) ([]string, error)
RedirectUrls mocks base method.
type MockOauthClientResolverMockRecorder ¶
type MockOauthClientResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockOauthClientResolverMockRecorder is the mock recorder for MockOauthClientResolver.
func (*MockOauthClientResolverMockRecorder) RedirectUrls ¶
func (mr *MockOauthClientResolverMockRecorder) RedirectUrls(ctx, obj interface{}) *gomock.Call
RedirectUrls indicates an expected call of RedirectUrls.
type MockPhotoFileResolver ¶
type MockPhotoFileResolver struct {
// contains filtered or unexported fields
}
MockPhotoFileResolver is a mock of PhotoFileResolver interface.
func NewMockPhotoFileResolver ¶
func NewMockPhotoFileResolver(ctrl *gomock.Controller) *MockPhotoFileResolver
NewMockPhotoFileResolver creates a new mock instance.
func (*MockPhotoFileResolver) EXPECT ¶
func (m *MockPhotoFileResolver) EXPECT() *MockPhotoFileResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPhotoFileResolverMockRecorder ¶
type MockPhotoFileResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockPhotoFileResolverMockRecorder is the mock recorder for MockPhotoFileResolver.
func (*MockPhotoFileResolverMockRecorder) Photo ¶
func (mr *MockPhotoFileResolverMockRecorder) Photo(ctx, obj interface{}) *gomock.Call
Photo indicates an expected call of Photo.
type MockPhotoResolver ¶
type MockPhotoResolver struct {
// contains filtered or unexported fields
}
MockPhotoResolver is a mock of PhotoResolver interface.
func NewMockPhotoResolver ¶
func NewMockPhotoResolver(ctrl *gomock.Controller) *MockPhotoResolver
NewMockPhotoResolver creates a new mock instance.
func (*MockPhotoResolver) EXPECT ¶
func (m *MockPhotoResolver) EXPECT() *MockPhotoResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPhotoResolverMockRecorder ¶
type MockPhotoResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockPhotoResolverMockRecorder is the mock recorder for MockPhotoResolver.
func (*MockPhotoResolverMockRecorder) ExifData ¶
func (mr *MockPhotoResolverMockRecorder) ExifData(ctx, obj interface{}) *gomock.Call
ExifData indicates an expected call of ExifData.
func (*MockPhotoResolverMockRecorder) Files ¶
func (mr *MockPhotoResolverMockRecorder) Files(ctx, obj interface{}) *gomock.Call
Files indicates an expected call of Files.
type MockQueryResolver ¶
type MockQueryResolver struct {
// contains filtered or unexported fields
}
MockQueryResolver is a mock of QueryResolver interface.
func NewMockQueryResolver ¶
func NewMockQueryResolver(ctrl *gomock.Controller) *MockQueryResolver
NewMockQueryResolver creates a new mock instance.
func (*MockQueryResolver) AggregateDateTimeOriginal ¶
func (m *MockQueryResolver) AggregateDateTimeOriginal(ctx context.Context, year, month *int) ([]*model.DateAggregationItem, error)
AggregateDateTimeOriginal mocks base method.
func (*MockQueryResolver) EXPECT ¶
func (m *MockQueryResolver) EXPECT() *MockQueryResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryResolver) ExistUserID ¶
ExistUserID mocks base method.
func (*MockQueryResolver) PhotoFiles ¶
func (m *MockQueryResolver) PhotoFiles(ctx context.Context, photoID string) ([]*model.PhotoFile, error)
PhotoFiles mocks base method.
func (*MockQueryResolver) Photos ¶
func (m *MockQueryResolver) Photos(ctx context.Context, id *string, limit, offset, year, month, date *int) (*model.PhotoPagination, error)
Photos mocks base method.
func (*MockQueryResolver) Users ¶
func (m *MockQueryResolver) Users(ctx context.Context, id *string, limit, offset *int) (*model.UserPagination, error)
Users mocks base method.
type MockQueryResolverMockRecorder ¶
type MockQueryResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryResolverMockRecorder is the mock recorder for MockQueryResolver.
func (*MockQueryResolverMockRecorder) AggregateDateTimeOriginal ¶
func (mr *MockQueryResolverMockRecorder) AggregateDateTimeOriginal(ctx, year, month interface{}) *gomock.Call
AggregateDateTimeOriginal indicates an expected call of AggregateDateTimeOriginal.
func (*MockQueryResolverMockRecorder) ExistUserID ¶
func (mr *MockQueryResolverMockRecorder) ExistUserID(ctx, id interface{}) *gomock.Call
ExistUserID indicates an expected call of ExistUserID.
func (*MockQueryResolverMockRecorder) GqlStatus ¶
func (mr *MockQueryResolverMockRecorder) GqlStatus(ctx interface{}) *gomock.Call
GqlStatus indicates an expected call of GqlStatus.
func (*MockQueryResolverMockRecorder) Me ¶
func (mr *MockQueryResolverMockRecorder) Me(ctx interface{}) *gomock.Call
Me indicates an expected call of Me.
func (*MockQueryResolverMockRecorder) Photo ¶
func (mr *MockQueryResolverMockRecorder) Photo(ctx, id interface{}) *gomock.Call
Photo indicates an expected call of Photo.
func (*MockQueryResolverMockRecorder) PhotoFile ¶
func (mr *MockQueryResolverMockRecorder) PhotoFile(ctx, id interface{}) *gomock.Call
PhotoFile indicates an expected call of PhotoFile.
func (*MockQueryResolverMockRecorder) PhotoFiles ¶
func (mr *MockQueryResolverMockRecorder) PhotoFiles(ctx, photoID interface{}) *gomock.Call
PhotoFiles indicates an expected call of PhotoFiles.
func (*MockQueryResolverMockRecorder) Photos ¶
func (mr *MockQueryResolverMockRecorder) Photos(ctx, id, limit, offset, year, month, date interface{}) *gomock.Call
Photos indicates an expected call of Photos.
func (*MockQueryResolverMockRecorder) User ¶
func (mr *MockQueryResolverMockRecorder) User(ctx, id interface{}) *gomock.Call
User indicates an expected call of User.
func (*MockQueryResolverMockRecorder) Users ¶
func (mr *MockQueryResolverMockRecorder) Users(ctx, id, limit, offset interface{}) *gomock.Call
Users indicates an expected call of Users.
type MockResolverRoot ¶
type MockResolverRoot struct {
// contains filtered or unexported fields
}
MockResolverRoot is a mock of ResolverRoot interface.
func NewMockResolverRoot ¶
func NewMockResolverRoot(ctrl *gomock.Controller) *MockResolverRoot
NewMockResolverRoot creates a new mock instance.
func (*MockResolverRoot) EXPECT ¶
func (m *MockResolverRoot) EXPECT() *MockResolverRootMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResolverRoot) Mutation ¶
func (m *MockResolverRoot) Mutation() generated.MutationResolver
Mutation mocks base method.
func (*MockResolverRoot) OauthClient ¶
func (m *MockResolverRoot) OauthClient() generated.OauthClientResolver
OauthClient mocks base method.
func (*MockResolverRoot) Photo ¶
func (m *MockResolverRoot) Photo() generated.PhotoResolver
Photo mocks base method.
func (*MockResolverRoot) PhotoFile ¶
func (m *MockResolverRoot) PhotoFile() generated.PhotoFileResolver
PhotoFile mocks base method.
func (*MockResolverRoot) Query ¶
func (m *MockResolverRoot) Query() generated.QueryResolver
Query mocks base method.
func (*MockResolverRoot) User ¶
func (m *MockResolverRoot) User() generated.UserResolver
User mocks base method.
type MockResolverRootMockRecorder ¶
type MockResolverRootMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverRootMockRecorder is the mock recorder for MockResolverRoot.
func (*MockResolverRootMockRecorder) Mutation ¶
func (mr *MockResolverRootMockRecorder) Mutation() *gomock.Call
Mutation indicates an expected call of Mutation.
func (*MockResolverRootMockRecorder) OauthClient ¶
func (mr *MockResolverRootMockRecorder) OauthClient() *gomock.Call
OauthClient indicates an expected call of OauthClient.
func (*MockResolverRootMockRecorder) Photo ¶
func (mr *MockResolverRootMockRecorder) Photo() *gomock.Call
Photo indicates an expected call of Photo.
func (*MockResolverRootMockRecorder) PhotoFile ¶
func (mr *MockResolverRootMockRecorder) PhotoFile() *gomock.Call
PhotoFile indicates an expected call of PhotoFile.
func (*MockResolverRootMockRecorder) Query ¶
func (mr *MockResolverRootMockRecorder) Query() *gomock.Call
Query indicates an expected call of Query.
func (*MockResolverRootMockRecorder) User ¶
func (mr *MockResolverRootMockRecorder) User() *gomock.Call
User indicates an expected call of User.
type MockUserResolver ¶
type MockUserResolver struct {
// contains filtered or unexported fields
}
MockUserResolver is a mock of UserResolver interface.
func NewMockUserResolver ¶
func NewMockUserResolver(ctrl *gomock.Controller) *MockUserResolver
NewMockUserResolver creates a new mock instance.
func (*MockUserResolver) EXPECT ¶
func (m *MockUserResolver) EXPECT() *MockUserResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserResolver) Password ¶
func (m *MockUserResolver) Password(ctx context.Context, obj *model.User) (*model.UserPassword, error)
Password mocks base method.
type MockUserResolverMockRecorder ¶
type MockUserResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockUserResolverMockRecorder is the mock recorder for MockUserResolver.
func (*MockUserResolverMockRecorder) Password ¶
func (mr *MockUserResolverMockRecorder) Password(ctx, obj interface{}) *gomock.Call
Password indicates an expected call of Password.