mocks

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) Check

func (m *AuthService) Check(arg0 context.Context, arg1, arg2 model.User) error

Check mocks base method.

func (*AuthService) Create

func (m *AuthService) Create(arg0 context.Context, arg1 model.User) (model.User, error)

Create mocks base method.

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 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*HelmProvider) FetchIndex

func (m *HelmProvider) FetchIndex(arg0 string, arg1 map[string][]string) (map[string]map[string]semver.Version, error)

FetchIndex mocks base method.

func (*HelmProvider) LatestVersions

func (m *HelmProvider) LatestVersions(arg0, arg1 string, arg2 []string) (map[string]semver.Version, error)

LatestVersions mocks base method.

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 interface{}) *gomock.Call

FetchIndex indicates an expected call of FetchIndex.

func (*HelmProviderMockRecorder) LatestVersions

func (mr *HelmProviderMockRecorder) LatestVersions(arg0, arg1, arg2 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) Create

func (m *KetchupService) Create(arg0 context.Context, arg1 model0.Ketchup) (model0.Ketchup, error)

Create mocks base method.

func (*KetchupService) Delete

func (m *KetchupService) Delete(arg0 context.Context, arg1 model0.Ketchup) error

Delete mocks base method.

func (*KetchupService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*KetchupService) List

func (m *KetchupService) List(arg0 context.Context, arg1 uint, arg2 string) ([]model0.Ketchup, uint64, error)

List mocks base method.

func (*KetchupService) ListForRepositories

func (m *KetchupService) ListForRepositories(arg0 context.Context, arg1 []model0.Repository, arg2 model0.KetchupFrequency) ([]model0.Ketchup, error)

ListForRepositories mocks base method.

func (*KetchupService) ListOutdatedByFrequency

func (m *KetchupService) ListOutdatedByFrequency(arg0 context.Context, arg1 model0.KetchupFrequency) ([]model0.Ketchup, error)

ListOutdatedByFrequency mocks base method.

func (*KetchupService) Update

func (m *KetchupService) Update(arg0 context.Context, arg1 string, arg2 model0.Ketchup) (model0.Ketchup, error)

Update mocks base method.

func (*KetchupService) UpdateAll

func (m *KetchupService) UpdateAll(arg0 context.Context) error

UpdateAll 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(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*KetchupServiceMockRecorder) Delete

func (mr *KetchupServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*KetchupServiceMockRecorder) List

func (mr *KetchupServiceMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List.

func (*KetchupServiceMockRecorder) ListForRepositories

func (mr *KetchupServiceMockRecorder) ListForRepositories(arg0, arg1, arg2 interface{}) *gomock.Call

ListForRepositories indicates an expected call of ListForRepositories.

func (*KetchupServiceMockRecorder) ListOutdatedByFrequency

func (mr *KetchupServiceMockRecorder) ListOutdatedByFrequency(arg0, arg1 interface{}) *gomock.Call

ListOutdatedByFrequency indicates an expected call of ListOutdatedByFrequency.

func (*KetchupServiceMockRecorder) Update

func (mr *KetchupServiceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*KetchupServiceMockRecorder) UpdateAll

func (mr *KetchupServiceMockRecorder) UpdateAll(arg0 interface{}) *gomock.Call

UpdateAll indicates an expected call of UpdateAll.

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.

func (*Mailer) Enabled

func (m *Mailer) Enabled() bool

Enabled mocks base method.

func (*Mailer) Send

func (m *Mailer) Send(arg0 context.Context, arg1 model1.MailRequest) error

Send mocks base method.

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

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 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 []uint64, 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 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 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) Count

func (m *UserStore) Count(arg0 context.Context) (uint64, error)

Count mocks base method.

func (*UserStore) Create

func (m *UserStore) Create(arg0 context.Context, arg1 model0.User) (uint64, error)

Create mocks base method.

func (*UserStore) DoAtomic

func (m *UserStore) DoAtomic(arg0 context.Context, arg1 func(context.Context) error) error

DoAtomic mocks base method.

func (*UserStore) EXPECT

func (m *UserStore) EXPECT() *UserStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*UserStore) GetByEmail

func (m *UserStore) GetByEmail(arg0 context.Context, arg1 string) (model0.User, error)

GetByEmail mocks base method.

func (*UserStore) GetByLoginID

func (m *UserStore) GetByLoginID(arg0 context.Context, arg1 uint64) (model0.User, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL