Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type AuthService
- type AuthServiceMockRecorder
- type Database
- func (m *Database) Create(arg0 context.Context, arg1 string, arg2 ...any) (uint64, error)
- func (m *Database) DoAtomic(arg0 context.Context, arg1 func(context.Context) error) error
- func (m *Database) EXPECT() *DatabaseMockRecorder
- func (m *Database) Exec(arg0 context.Context, arg1 string, arg2 ...any) error
- func (m *Database) Get(arg0 context.Context, arg1 func(pgx.Row) error, arg2 string, arg3 ...any) error
- func (m *Database) List(arg0 context.Context, arg1 func(pgx.Rows) error, arg2 string, arg3 ...any) error
- func (m *Database) One(arg0 context.Context, arg1 string, arg2 ...any) error
- type DatabaseMockRecorder
- func (mr *DatabaseMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) DoAtomic(arg0, arg1 interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) Get(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) List(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) One(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type GenericProvider
- type GenericProviderMockRecorder
- type HelmProvider
- func (m *HelmProvider) EXPECT() *HelmProviderMockRecorder
- func (m *HelmProvider) FetchIndex(arg0 context.Context, arg1 string, arg2 map[string][]string) (map[string]map[string]semver.Version, error)
- func (m *HelmProvider) LatestVersions(arg0 context.Context, arg1, arg2 string, arg3 []string) (map[string]semver.Version, error)
- type HelmProviderMockRecorder
- type KetchupService
- func (m *KetchupService) Create(ctx context.Context, item model0.Ketchup) (model0.Ketchup, error)
- func (m *KetchupService) Delete(ctx context.Context, item model0.Ketchup) error
- func (m *KetchupService) EXPECT() *KetchupServiceMockRecorder
- func (m *KetchupService) List(ctx context.Context, pageSize uint, last string) ([]model0.Ketchup, uint64, error)
- func (m *KetchupService) ListForRepositories(ctx context.Context, repositories []model0.Repository, ...) ([]model0.Ketchup, error)
- func (m *KetchupService) ListOutdated(ctx context.Context, users ...model0.User) ([]model0.Ketchup, error)
- func (m *KetchupService) Update(ctx context.Context, oldPattern string, item model0.Ketchup) (model0.Ketchup, error)
- func (m *KetchupService) UpdateAll(ctx context.Context) error
- func (m *KetchupService) UpdateVersion(ctx context.Context, userID, repositoryID model0.Identifier, ...) error
- type KetchupServiceMockRecorder
- func (mr *KetchupServiceMockRecorder) Create(ctx, item interface{}) *gomock.Call
- func (mr *KetchupServiceMockRecorder) Delete(ctx, item interface{}) *gomock.Call
- func (mr *KetchupServiceMockRecorder) List(ctx, pageSize, last interface{}) *gomock.Call
- func (mr *KetchupServiceMockRecorder) ListForRepositories(ctx, repositories interface{}, frequencies ...interface{}) *gomock.Call
- func (mr *KetchupServiceMockRecorder) ListOutdated(ctx interface{}, users ...interface{}) *gomock.Call
- func (mr *KetchupServiceMockRecorder) Update(ctx, oldPattern, item interface{}) *gomock.Call
- func (mr *KetchupServiceMockRecorder) UpdateAll(ctx interface{}) *gomock.Call
- func (mr *KetchupServiceMockRecorder) UpdateVersion(ctx, userID, repositoryID, pattern, version interface{}) *gomock.Call
- type KetchupStore
- func (m *KetchupStore) Create(ctx context.Context, o model0.Ketchup) (model0.Identifier, error)
- func (m *KetchupStore) Delete(ctx context.Context, o model0.Ketchup) error
- func (m *KetchupStore) DoAtomic(ctx context.Context, action func(context.Context) error) error
- func (m *KetchupStore) EXPECT() *KetchupStoreMockRecorder
- func (m *KetchupStore) GetByRepository(ctx context.Context, id model0.Identifier, pattern string, forUpdate bool) (model0.Ketchup, error)
- func (m *KetchupStore) List(ctx context.Context, page uint, last string) ([]model0.Ketchup, uint64, error)
- func (m *KetchupStore) ListByRepositoriesIDAndFrequencies(ctx context.Context, ids []model0.Identifier, ...) ([]model0.Ketchup, error)
- func (m *KetchupStore) ListOutdated(ctx context.Context, usersIds ...model0.Identifier) ([]model0.Ketchup, error)
- func (m *KetchupStore) Update(ctx context.Context, o model0.Ketchup, oldPattern string) error
- func (m *KetchupStore) UpdateAll(ctx context.Context) error
- func (m *KetchupStore) UpdateVersion(ctx context.Context, userID, repositoryID model0.Identifier, ...) error
- type KetchupStoreMockRecorder
- func (mr *KetchupStoreMockRecorder) Create(ctx, o interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) Delete(ctx, o interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) DoAtomic(ctx, action interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) GetByRepository(ctx, id, pattern, forUpdate interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) List(ctx, page, last interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) ListByRepositoriesIDAndFrequencies(ctx, ids interface{}, frequencies ...interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) ListOutdated(ctx interface{}, usersIds ...interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) Update(ctx, o, oldPattern interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) UpdateAll(ctx interface{}) *gomock.Call
- func (mr *KetchupStoreMockRecorder) UpdateVersion(ctx, userID, repositoryID, pattern, version interface{}) *gomock.Call
- type Mailer
- type MailerMockRecorder
- type RepositoryService
- func (m *RepositoryService) Clean(arg0 context.Context) error
- func (m *RepositoryService) EXPECT() *RepositoryServiceMockRecorder
- func (m *RepositoryService) GetOrCreate(arg0 context.Context, arg1 model0.RepositoryKind, arg2, arg3, arg4 string) (model0.Repository, error)
- func (m *RepositoryService) LatestVersions(arg0 context.Context, arg1 model0.Repository) (map[string]semver.Version, error)
- func (m *RepositoryService) List(arg0 context.Context, arg1 uint, arg2 string) ([]model0.Repository, uint64, error)
- func (m *RepositoryService) ListByKinds(arg0 context.Context, arg1 uint, arg2 string, arg3 ...model0.RepositoryKind) ([]model0.Repository, uint64, error)
- func (m *RepositoryService) Suggest(arg0 context.Context, arg1 []model0.Identifier, arg2 uint64) ([]model0.Repository, error)
- func (m *RepositoryService) Update(arg0 context.Context, arg1 model0.Repository) error
- type RepositoryServiceMockRecorder
- func (mr *RepositoryServiceMockRecorder) Clean(arg0 interface{}) *gomock.Call
- func (mr *RepositoryServiceMockRecorder) GetOrCreate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *RepositoryServiceMockRecorder) LatestVersions(arg0, arg1 interface{}) *gomock.Call
- func (mr *RepositoryServiceMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *RepositoryServiceMockRecorder) ListByKinds(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *RepositoryServiceMockRecorder) Suggest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *RepositoryServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type RepositoryStore
- func (m *RepositoryStore) Create(ctx context.Context, o model0.Repository) (model0.Identifier, error)
- func (m *RepositoryStore) DeleteUnused(ctx context.Context) error
- func (m *RepositoryStore) DeleteUnusedVersions(ctx context.Context) error
- func (m *RepositoryStore) DoAtomic(ctx context.Context, action func(context.Context) error) error
- func (m *RepositoryStore) EXPECT() *RepositoryStoreMockRecorder
- func (m *RepositoryStore) Get(ctx context.Context, id model0.Identifier, forUpdate bool) (model0.Repository, error)
- func (m *RepositoryStore) GetByName(ctx context.Context, repositoryKind model0.RepositoryKind, name, part string) (model0.Repository, error)
- func (m *RepositoryStore) List(ctx context.Context, pageSize uint, last string) ([]model0.Repository, uint64, error)
- func (m *RepositoryStore) ListByKinds(ctx context.Context, pageSize uint, last string, ...) ([]model0.Repository, uint64, error)
- func (m *RepositoryStore) Suggest(ctx context.Context, ignoreIds []model0.Identifier, count uint64) ([]model0.Repository, error)
- func (m *RepositoryStore) UpdateVersions(ctx context.Context, o model0.Repository) error
- type RepositoryStoreMockRecorder
- func (mr *RepositoryStoreMockRecorder) Create(ctx, o interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) DeleteUnused(ctx interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) DeleteUnusedVersions(ctx interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) DoAtomic(ctx, action interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) Get(ctx, id, forUpdate interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) GetByName(ctx, repositoryKind, name, part interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) List(ctx, pageSize, last interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) ListByKinds(ctx, pageSize, last interface{}, kinds ...interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) Suggest(ctx, ignoreIds, count interface{}) *gomock.Call
- func (mr *RepositoryStoreMockRecorder) UpdateVersions(ctx, o interface{}) *gomock.Call
- type Row
- type RowMockRecorder
- type Rows
- func (m *Rows) Close()
- func (m *Rows) CommandTag() pgconn.CommandTag
- func (m *Rows) Conn() *pgx.Conn
- func (m *Rows) EXPECT() *RowsMockRecorder
- func (m *Rows) Err() error
- func (m *Rows) FieldDescriptions() []pgconn.FieldDescription
- func (m *Rows) Next() bool
- func (m *Rows) RawValues() [][]byte
- func (m *Rows) Scan(arg0 ...interface{}) error
- func (m *Rows) Values() ([]interface{}, error)
- type RowsMockRecorder
- func (mr *RowsMockRecorder) Close() *gomock.Call
- func (mr *RowsMockRecorder) CommandTag() *gomock.Call
- func (mr *RowsMockRecorder) Conn() *gomock.Call
- func (mr *RowsMockRecorder) Err() *gomock.Call
- func (mr *RowsMockRecorder) FieldDescriptions() *gomock.Call
- func (mr *RowsMockRecorder) Next() *gomock.Call
- func (mr *RowsMockRecorder) RawValues() *gomock.Call
- func (mr *RowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
- func (mr *RowsMockRecorder) Values() *gomock.Call
- type UserService
- type UserServiceMockRecorder
- type UserStore
- func (m *UserStore) Count(arg0 context.Context) (uint64, error)
- func (m *UserStore) Create(arg0 context.Context, arg1 model0.User) (model0.Identifier, error)
- func (m *UserStore) DoAtomic(arg0 context.Context, arg1 func(context.Context) error) error
- func (m *UserStore) EXPECT() *UserStoreMockRecorder
- func (m *UserStore) GetByEmail(arg0 context.Context, arg1 string) (model0.User, error)
- func (m *UserStore) GetByLoginID(arg0 context.Context, arg1 uint64) (model0.User, error)
- func (m *UserStore) ListReminderUsers(ctx context.Context) ([]model0.User, error)
- type UserStoreMockRecorder
- func (mr *UserStoreMockRecorder) Count(arg0 interface{}) *gomock.Call
- func (mr *UserStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *UserStoreMockRecorder) DoAtomic(arg0, arg1 interface{}) *gomock.Call
- func (mr *UserStoreMockRecorder) GetByEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *UserStoreMockRecorder) GetByLoginID(arg0, arg1 interface{}) *gomock.Call
- func (mr *UserStoreMockRecorder) ListReminderUsers(ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
AuthService is a mock of AuthService interface.
func NewAuthService ¶
func NewAuthService(ctrl *gomock.Controller) *AuthService
NewAuthService creates a new mock instance.
func (*AuthService) EXPECT ¶
func (m *AuthService) EXPECT() *AuthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type AuthServiceMockRecorder ¶
type AuthServiceMockRecorder struct {
// contains filtered or unexported fields
}
AuthServiceMockRecorder is the mock recorder for AuthService.
func (*AuthServiceMockRecorder) Check ¶
func (mr *AuthServiceMockRecorder) Check(arg0, arg1, arg2 interface{}) *gomock.Call
Check indicates an expected call of Check.
func (*AuthServiceMockRecorder) Create ¶
func (mr *AuthServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
type Database ¶ added in v1.17.0
type Database struct {
// contains filtered or unexported fields
}
Database is a mock of Database interface.
func NewDatabase ¶ added in v1.17.0
func NewDatabase(ctrl *gomock.Controller) *Database
NewDatabase creates a new mock instance.
func (*Database) EXPECT ¶ added in v1.17.0
func (m *Database) EXPECT() *DatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Database) Get ¶ added in v1.17.0
func (m *Database) Get(arg0 context.Context, arg1 func(pgx.Row) error, arg2 string, arg3 ...any) error
Get mocks base method.
type DatabaseMockRecorder ¶ added in v1.17.0
type DatabaseMockRecorder struct {
// contains filtered or unexported fields
}
DatabaseMockRecorder is the mock recorder for Database.
func (*DatabaseMockRecorder) Create ¶ added in v1.17.0
func (mr *DatabaseMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*DatabaseMockRecorder) DoAtomic ¶ added in v1.17.0
func (mr *DatabaseMockRecorder) DoAtomic(arg0, arg1 interface{}) *gomock.Call
DoAtomic indicates an expected call of DoAtomic.
func (*DatabaseMockRecorder) Exec ¶ added in v1.17.0
func (mr *DatabaseMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*DatabaseMockRecorder) Get ¶ added in v1.17.0
func (mr *DatabaseMockRecorder) Get(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*DatabaseMockRecorder) List ¶ added in v1.17.0
func (mr *DatabaseMockRecorder) List(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*DatabaseMockRecorder) One ¶ added in v1.17.0
func (mr *DatabaseMockRecorder) One(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
One indicates an expected call of One.
type GenericProvider ¶ added in v1.17.0
type GenericProvider struct {
// contains filtered or unexported fields
}
GenericProvider is a mock of GenericProvider interface.
func NewGenericProvider ¶ added in v1.17.0
func NewGenericProvider(ctrl *gomock.Controller) *GenericProvider
NewGenericProvider creates a new mock instance.
func (*GenericProvider) EXPECT ¶ added in v1.17.0
func (m *GenericProvider) EXPECT() *GenericProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type GenericProviderMockRecorder ¶ added in v1.17.0
type GenericProviderMockRecorder struct {
// contains filtered or unexported fields
}
GenericProviderMockRecorder is the mock recorder for GenericProvider.
func (*GenericProviderMockRecorder) LatestVersions ¶ added in v1.17.0
func (mr *GenericProviderMockRecorder) LatestVersions(arg0, arg1, arg2 interface{}) *gomock.Call
LatestVersions indicates an expected call of LatestVersions.
type HelmProvider ¶
type HelmProvider struct {
// contains filtered or unexported fields
}
HelmProvider is a mock of HelmProvider interface.
func NewHelmProvider ¶
func NewHelmProvider(ctrl *gomock.Controller) *HelmProvider
NewHelmProvider creates a new mock instance.
func (*HelmProvider) EXPECT ¶
func (m *HelmProvider) EXPECT() *HelmProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type HelmProviderMockRecorder ¶
type HelmProviderMockRecorder struct {
// contains filtered or unexported fields
}
HelmProviderMockRecorder is the mock recorder for HelmProvider.
func (*HelmProviderMockRecorder) FetchIndex ¶
func (mr *HelmProviderMockRecorder) FetchIndex(arg0, arg1, arg2 interface{}) *gomock.Call
FetchIndex indicates an expected call of FetchIndex.
func (*HelmProviderMockRecorder) LatestVersions ¶
func (mr *HelmProviderMockRecorder) LatestVersions(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
LatestVersions indicates an expected call of LatestVersions.
type KetchupService ¶
type KetchupService struct {
// contains filtered or unexported fields
}
KetchupService is a mock of KetchupService interface.
func NewKetchupService ¶
func NewKetchupService(ctrl *gomock.Controller) *KetchupService
NewKetchupService creates a new mock instance.
func (*KetchupService) EXPECT ¶
func (m *KetchupService) EXPECT() *KetchupServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*KetchupService) List ¶
func (m *KetchupService) List(ctx context.Context, pageSize uint, last string) ([]model0.Ketchup, uint64, error)
List mocks base method.
func (*KetchupService) ListForRepositories ¶
func (m *KetchupService) ListForRepositories(ctx context.Context, repositories []model0.Repository, frequencies ...model0.KetchupFrequency) ([]model0.Ketchup, error)
ListForRepositories mocks base method.
func (*KetchupService) ListOutdated ¶ added in v1.18.0
func (m *KetchupService) ListOutdated(ctx context.Context, users ...model0.User) ([]model0.Ketchup, error)
ListOutdated mocks base method.
func (*KetchupService) Update ¶
func (m *KetchupService) Update(ctx context.Context, oldPattern string, item model0.Ketchup) (model0.Ketchup, error)
Update mocks base method.
func (*KetchupService) UpdateAll ¶
func (m *KetchupService) UpdateAll(ctx context.Context) error
UpdateAll mocks base method.
func (*KetchupService) UpdateVersion ¶ added in v1.17.0
func (m *KetchupService) UpdateVersion(ctx context.Context, userID, repositoryID model0.Identifier, pattern, version string) error
UpdateVersion mocks base method.
type KetchupServiceMockRecorder ¶
type KetchupServiceMockRecorder struct {
// contains filtered or unexported fields
}
KetchupServiceMockRecorder is the mock recorder for KetchupService.
func (*KetchupServiceMockRecorder) Create ¶
func (mr *KetchupServiceMockRecorder) Create(ctx, item interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*KetchupServiceMockRecorder) Delete ¶
func (mr *KetchupServiceMockRecorder) Delete(ctx, item interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*KetchupServiceMockRecorder) List ¶
func (mr *KetchupServiceMockRecorder) List(ctx, pageSize, last interface{}) *gomock.Call
List indicates an expected call of List.
func (*KetchupServiceMockRecorder) ListForRepositories ¶
func (mr *KetchupServiceMockRecorder) ListForRepositories(ctx, repositories interface{}, frequencies ...interface{}) *gomock.Call
ListForRepositories indicates an expected call of ListForRepositories.
func (*KetchupServiceMockRecorder) ListOutdated ¶ added in v1.18.0
func (mr *KetchupServiceMockRecorder) ListOutdated(ctx interface{}, users ...interface{}) *gomock.Call
ListOutdated indicates an expected call of ListOutdated.
func (*KetchupServiceMockRecorder) Update ¶
func (mr *KetchupServiceMockRecorder) Update(ctx, oldPattern, item interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*KetchupServiceMockRecorder) UpdateAll ¶
func (mr *KetchupServiceMockRecorder) UpdateAll(ctx interface{}) *gomock.Call
UpdateAll indicates an expected call of UpdateAll.
func (*KetchupServiceMockRecorder) UpdateVersion ¶ added in v1.17.0
func (mr *KetchupServiceMockRecorder) UpdateVersion(ctx, userID, repositoryID, pattern, version interface{}) *gomock.Call
UpdateVersion indicates an expected call of UpdateVersion.
type KetchupStore ¶ added in v1.17.0
type KetchupStore struct {
// contains filtered or unexported fields
}
KetchupStore is a mock of KetchupStore interface.
func NewKetchupStore ¶ added in v1.17.0
func NewKetchupStore(ctrl *gomock.Controller) *KetchupStore
NewKetchupStore creates a new mock instance.
func (*KetchupStore) Create ¶ added in v1.17.0
func (m *KetchupStore) Create(ctx context.Context, o model0.Ketchup) (model0.Identifier, error)
Create mocks base method.
func (*KetchupStore) EXPECT ¶ added in v1.17.0
func (m *KetchupStore) EXPECT() *KetchupStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*KetchupStore) GetByRepository ¶ added in v1.17.0
func (m *KetchupStore) GetByRepository(ctx context.Context, id model0.Identifier, pattern string, forUpdate bool) (model0.Ketchup, error)
GetByRepository mocks base method.
func (*KetchupStore) List ¶ added in v1.17.0
func (m *KetchupStore) List(ctx context.Context, page uint, last string) ([]model0.Ketchup, uint64, error)
List mocks base method.
func (*KetchupStore) ListByRepositoriesIDAndFrequencies ¶ added in v1.18.0
func (m *KetchupStore) ListByRepositoriesIDAndFrequencies(ctx context.Context, ids []model0.Identifier, frequencies ...model0.KetchupFrequency) ([]model0.Ketchup, error)
ListByRepositoriesIDAndFrequencies mocks base method.
func (*KetchupStore) ListOutdated ¶ added in v1.18.0
func (m *KetchupStore) ListOutdated(ctx context.Context, usersIds ...model0.Identifier) ([]model0.Ketchup, error)
ListOutdated mocks base method.
func (*KetchupStore) UpdateAll ¶ added in v1.17.0
func (m *KetchupStore) UpdateAll(ctx context.Context) error
UpdateAll mocks base method.
func (*KetchupStore) UpdateVersion ¶ added in v1.17.0
func (m *KetchupStore) UpdateVersion(ctx context.Context, userID, repositoryID model0.Identifier, pattern, version string) error
UpdateVersion mocks base method.
type KetchupStoreMockRecorder ¶ added in v1.17.0
type KetchupStoreMockRecorder struct {
// contains filtered or unexported fields
}
KetchupStoreMockRecorder is the mock recorder for KetchupStore.
func (*KetchupStoreMockRecorder) Create ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) Create(ctx, o interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*KetchupStoreMockRecorder) Delete ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) Delete(ctx, o interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*KetchupStoreMockRecorder) DoAtomic ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) DoAtomic(ctx, action interface{}) *gomock.Call
DoAtomic indicates an expected call of DoAtomic.
func (*KetchupStoreMockRecorder) GetByRepository ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) GetByRepository(ctx, id, pattern, forUpdate interface{}) *gomock.Call
GetByRepository indicates an expected call of GetByRepository.
func (*KetchupStoreMockRecorder) List ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) List(ctx, page, last interface{}) *gomock.Call
List indicates an expected call of List.
func (*KetchupStoreMockRecorder) ListByRepositoriesIDAndFrequencies ¶ added in v1.18.0
func (mr *KetchupStoreMockRecorder) ListByRepositoriesIDAndFrequencies(ctx, ids interface{}, frequencies ...interface{}) *gomock.Call
ListByRepositoriesIDAndFrequencies indicates an expected call of ListByRepositoriesIDAndFrequencies.
func (*KetchupStoreMockRecorder) ListOutdated ¶ added in v1.18.0
func (mr *KetchupStoreMockRecorder) ListOutdated(ctx interface{}, usersIds ...interface{}) *gomock.Call
ListOutdated indicates an expected call of ListOutdated.
func (*KetchupStoreMockRecorder) Update ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) Update(ctx, o, oldPattern interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*KetchupStoreMockRecorder) UpdateAll ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) UpdateAll(ctx interface{}) *gomock.Call
UpdateAll indicates an expected call of UpdateAll.
func (*KetchupStoreMockRecorder) UpdateVersion ¶ added in v1.17.0
func (mr *KetchupStoreMockRecorder) UpdateVersion(ctx, userID, repositoryID, pattern, version interface{}) *gomock.Call
UpdateVersion indicates an expected call of UpdateVersion.
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
Mailer is a mock of Mailer interface.
func NewMailer ¶
func NewMailer(ctrl *gomock.Controller) *Mailer
NewMailer creates a new mock instance.
func (*Mailer) EXPECT ¶
func (m *Mailer) EXPECT() *MailerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MailerMockRecorder ¶
type MailerMockRecorder struct {
// contains filtered or unexported fields
}
MailerMockRecorder is the mock recorder for Mailer.
func (*MailerMockRecorder) Enabled ¶
func (mr *MailerMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MailerMockRecorder) Send ¶
func (mr *MailerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send.
type RepositoryService ¶
type RepositoryService struct {
// contains filtered or unexported fields
}
RepositoryService is a mock of RepositoryService interface.
func NewRepositoryService ¶
func NewRepositoryService(ctrl *gomock.Controller) *RepositoryService
NewRepositoryService creates a new mock instance.
func (*RepositoryService) Clean ¶
func (m *RepositoryService) Clean(arg0 context.Context) error
Clean mocks base method.
func (*RepositoryService) EXPECT ¶
func (m *RepositoryService) EXPECT() *RepositoryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*RepositoryService) GetOrCreate ¶
func (m *RepositoryService) GetOrCreate(arg0 context.Context, arg1 model0.RepositoryKind, arg2, arg3, arg4 string) (model0.Repository, error)
GetOrCreate mocks base method.
func (*RepositoryService) LatestVersions ¶
func (m *RepositoryService) LatestVersions(arg0 context.Context, arg1 model0.Repository) (map[string]semver.Version, error)
LatestVersions mocks base method.
func (*RepositoryService) List ¶
func (m *RepositoryService) List(arg0 context.Context, arg1 uint, arg2 string) ([]model0.Repository, uint64, error)
List mocks base method.
func (*RepositoryService) ListByKinds ¶
func (m *RepositoryService) ListByKinds(arg0 context.Context, arg1 uint, arg2 string, arg3 ...model0.RepositoryKind) ([]model0.Repository, uint64, error)
ListByKinds mocks base method.
func (*RepositoryService) Suggest ¶
func (m *RepositoryService) Suggest(arg0 context.Context, arg1 []model0.Identifier, arg2 uint64) ([]model0.Repository, error)
Suggest mocks base method.
func (*RepositoryService) Update ¶
func (m *RepositoryService) Update(arg0 context.Context, arg1 model0.Repository) error
Update mocks base method.
type RepositoryServiceMockRecorder ¶
type RepositoryServiceMockRecorder struct {
// contains filtered or unexported fields
}
RepositoryServiceMockRecorder is the mock recorder for RepositoryService.
func (*RepositoryServiceMockRecorder) Clean ¶
func (mr *RepositoryServiceMockRecorder) Clean(arg0 interface{}) *gomock.Call
Clean indicates an expected call of Clean.
func (*RepositoryServiceMockRecorder) GetOrCreate ¶
func (mr *RepositoryServiceMockRecorder) GetOrCreate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetOrCreate indicates an expected call of GetOrCreate.
func (*RepositoryServiceMockRecorder) LatestVersions ¶
func (mr *RepositoryServiceMockRecorder) LatestVersions(arg0, arg1 interface{}) *gomock.Call
LatestVersions indicates an expected call of LatestVersions.
func (*RepositoryServiceMockRecorder) List ¶
func (mr *RepositoryServiceMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
List indicates an expected call of List.
func (*RepositoryServiceMockRecorder) ListByKinds ¶
func (mr *RepositoryServiceMockRecorder) ListByKinds(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
ListByKinds indicates an expected call of ListByKinds.
func (*RepositoryServiceMockRecorder) Suggest ¶
func (mr *RepositoryServiceMockRecorder) Suggest(arg0, arg1, arg2 interface{}) *gomock.Call
Suggest indicates an expected call of Suggest.
func (*RepositoryServiceMockRecorder) Update ¶
func (mr *RepositoryServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
type RepositoryStore ¶ added in v1.17.0
type RepositoryStore struct {
// contains filtered or unexported fields
}
RepositoryStore is a mock of RepositoryStore interface.
func NewRepositoryStore ¶ added in v1.17.0
func NewRepositoryStore(ctrl *gomock.Controller) *RepositoryStore
NewRepositoryStore creates a new mock instance.
func (*RepositoryStore) Create ¶ added in v1.17.0
func (m *RepositoryStore) Create(ctx context.Context, o model0.Repository) (model0.Identifier, error)
Create mocks base method.
func (*RepositoryStore) DeleteUnused ¶ added in v1.17.0
func (m *RepositoryStore) DeleteUnused(ctx context.Context) error
DeleteUnused mocks base method.
func (*RepositoryStore) DeleteUnusedVersions ¶ added in v1.17.0
func (m *RepositoryStore) DeleteUnusedVersions(ctx context.Context) error
DeleteUnusedVersions mocks base method.
func (*RepositoryStore) EXPECT ¶ added in v1.17.0
func (m *RepositoryStore) EXPECT() *RepositoryStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*RepositoryStore) Get ¶ added in v1.17.0
func (m *RepositoryStore) Get(ctx context.Context, id model0.Identifier, forUpdate bool) (model0.Repository, error)
Get mocks base method.
func (*RepositoryStore) GetByName ¶ added in v1.17.0
func (m *RepositoryStore) GetByName(ctx context.Context, repositoryKind model0.RepositoryKind, name, part string) (model0.Repository, error)
GetByName mocks base method.
func (*RepositoryStore) List ¶ added in v1.17.0
func (m *RepositoryStore) List(ctx context.Context, pageSize uint, last string) ([]model0.Repository, uint64, error)
List mocks base method.
func (*RepositoryStore) ListByKinds ¶ added in v1.17.0
func (m *RepositoryStore) ListByKinds(ctx context.Context, pageSize uint, last string, kinds ...model0.RepositoryKind) ([]model0.Repository, uint64, error)
ListByKinds mocks base method.
func (*RepositoryStore) Suggest ¶ added in v1.17.0
func (m *RepositoryStore) Suggest(ctx context.Context, ignoreIds []model0.Identifier, count uint64) ([]model0.Repository, error)
Suggest mocks base method.
func (*RepositoryStore) UpdateVersions ¶ added in v1.17.0
func (m *RepositoryStore) UpdateVersions(ctx context.Context, o model0.Repository) error
UpdateVersions mocks base method.
type RepositoryStoreMockRecorder ¶ added in v1.17.0
type RepositoryStoreMockRecorder struct {
// contains filtered or unexported fields
}
RepositoryStoreMockRecorder is the mock recorder for RepositoryStore.
func (*RepositoryStoreMockRecorder) Create ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) Create(ctx, o interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*RepositoryStoreMockRecorder) DeleteUnused ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) DeleteUnused(ctx interface{}) *gomock.Call
DeleteUnused indicates an expected call of DeleteUnused.
func (*RepositoryStoreMockRecorder) DeleteUnusedVersions ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) DeleteUnusedVersions(ctx interface{}) *gomock.Call
DeleteUnusedVersions indicates an expected call of DeleteUnusedVersions.
func (*RepositoryStoreMockRecorder) DoAtomic ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) DoAtomic(ctx, action interface{}) *gomock.Call
DoAtomic indicates an expected call of DoAtomic.
func (*RepositoryStoreMockRecorder) Get ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) Get(ctx, id, forUpdate interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*RepositoryStoreMockRecorder) GetByName ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) GetByName(ctx, repositoryKind, name, part interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*RepositoryStoreMockRecorder) List ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) List(ctx, pageSize, last interface{}) *gomock.Call
List indicates an expected call of List.
func (*RepositoryStoreMockRecorder) ListByKinds ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) ListByKinds(ctx, pageSize, last interface{}, kinds ...interface{}) *gomock.Call
ListByKinds indicates an expected call of ListByKinds.
func (*RepositoryStoreMockRecorder) Suggest ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) Suggest(ctx, ignoreIds, count interface{}) *gomock.Call
Suggest indicates an expected call of Suggest.
func (*RepositoryStoreMockRecorder) UpdateVersions ¶ added in v1.17.0
func (mr *RepositoryStoreMockRecorder) UpdateVersions(ctx, o interface{}) *gomock.Call
UpdateVersions indicates an expected call of UpdateVersions.
type Row ¶ added in v1.17.0
type Row struct {
// contains filtered or unexported fields
}
Row is a mock of Row interface.
func NewRow ¶ added in v1.17.0
func NewRow(ctrl *gomock.Controller) *Row
NewRow creates a new mock instance.
func (*Row) EXPECT ¶ added in v1.17.0
func (m *Row) EXPECT() *RowMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type RowMockRecorder ¶ added in v1.17.0
type RowMockRecorder struct {
// contains filtered or unexported fields
}
RowMockRecorder is the mock recorder for Row.
func (*RowMockRecorder) Scan ¶ added in v1.17.0
func (mr *RowMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
Scan indicates an expected call of Scan.
type Rows ¶ added in v1.17.0
type Rows struct {
// contains filtered or unexported fields
}
Rows is a mock of Rows interface.
func NewRows ¶ added in v1.17.0
func NewRows(ctrl *gomock.Controller) *Rows
NewRows creates a new mock instance.
func (*Rows) CommandTag ¶ added in v1.17.0
func (m *Rows) CommandTag() pgconn.CommandTag
CommandTag mocks base method.
func (*Rows) EXPECT ¶ added in v1.17.0
func (m *Rows) EXPECT() *RowsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Rows) FieldDescriptions ¶ added in v1.17.0
func (m *Rows) FieldDescriptions() []pgconn.FieldDescription
FieldDescriptions mocks base method.
type RowsMockRecorder ¶ added in v1.17.0
type RowsMockRecorder struct {
// contains filtered or unexported fields
}
RowsMockRecorder is the mock recorder for Rows.
func (*RowsMockRecorder) Close ¶ added in v1.17.0
func (mr *RowsMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*RowsMockRecorder) CommandTag ¶ added in v1.17.0
func (mr *RowsMockRecorder) CommandTag() *gomock.Call
CommandTag indicates an expected call of CommandTag.
func (*RowsMockRecorder) Conn ¶ added in v1.18.0
func (mr *RowsMockRecorder) Conn() *gomock.Call
Conn indicates an expected call of Conn.
func (*RowsMockRecorder) Err ¶ added in v1.17.0
func (mr *RowsMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*RowsMockRecorder) FieldDescriptions ¶ added in v1.17.0
func (mr *RowsMockRecorder) FieldDescriptions() *gomock.Call
FieldDescriptions indicates an expected call of FieldDescriptions.
func (*RowsMockRecorder) Next ¶ added in v1.17.0
func (mr *RowsMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*RowsMockRecorder) RawValues ¶ added in v1.17.0
func (mr *RowsMockRecorder) RawValues() *gomock.Call
RawValues indicates an expected call of RawValues.
func (*RowsMockRecorder) Scan ¶ added in v1.17.0
func (mr *RowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
Scan indicates an expected call of Scan.
func (*RowsMockRecorder) Values ¶ added in v1.17.0
func (mr *RowsMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values.
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
UserService is a mock of UserService interface.
func NewUserService ¶
func NewUserService(ctrl *gomock.Controller) *UserService
NewUserService creates a new mock instance.
func (*UserService) EXPECT ¶
func (m *UserService) EXPECT() *UserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*UserService) StoreInContext ¶
func (m *UserService) StoreInContext(arg0 context.Context) context.Context
StoreInContext mocks base method.
type UserServiceMockRecorder ¶
type UserServiceMockRecorder struct {
// contains filtered or unexported fields
}
UserServiceMockRecorder is the mock recorder for UserService.
func (*UserServiceMockRecorder) StoreInContext ¶
func (mr *UserServiceMockRecorder) StoreInContext(arg0 interface{}) *gomock.Call
StoreInContext indicates an expected call of StoreInContext.
type UserStore ¶
type UserStore struct {
// contains filtered or unexported fields
}
UserStore is a mock of UserStore interface.
func NewUserStore ¶
func NewUserStore(ctrl *gomock.Controller) *UserStore
NewUserStore creates a new mock instance.
func (*UserStore) EXPECT ¶
func (m *UserStore) EXPECT() *UserStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*UserStore) GetByEmail ¶
GetByEmail mocks base method.
func (*UserStore) GetByLoginID ¶
GetByLoginID mocks base method.
type UserStoreMockRecorder ¶
type UserStoreMockRecorder struct {
// contains filtered or unexported fields
}
UserStoreMockRecorder is the mock recorder for UserStore.
func (*UserStoreMockRecorder) Count ¶
func (mr *UserStoreMockRecorder) Count(arg0 interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*UserStoreMockRecorder) Create ¶
func (mr *UserStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*UserStoreMockRecorder) DoAtomic ¶
func (mr *UserStoreMockRecorder) DoAtomic(arg0, arg1 interface{}) *gomock.Call
DoAtomic indicates an expected call of DoAtomic.
func (*UserStoreMockRecorder) GetByEmail ¶
func (mr *UserStoreMockRecorder) GetByEmail(arg0, arg1 interface{}) *gomock.Call
GetByEmail indicates an expected call of GetByEmail.
func (*UserStoreMockRecorder) GetByLoginID ¶
func (mr *UserStoreMockRecorder) GetByLoginID(arg0, arg1 interface{}) *gomock.Call
GetByLoginID indicates an expected call of GetByLoginID.
func (*UserStoreMockRecorder) ListReminderUsers ¶ added in v1.17.0
func (mr *UserStoreMockRecorder) ListReminderUsers(ctx interface{}) *gomock.Call
ListReminderUsers indicates an expected call of ListReminderUsers.