mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockArtifactService

type MockArtifactService struct {
	// contains filtered or unexported fields
}

MockArtifactService is a mock of ArtifactService interface.

func NewMockArtifactService

func NewMockArtifactService(ctrl *gomock.Controller) *MockArtifactService

NewMockArtifactService creates a new mock instance.

func (*MockArtifactService) AssociateArtifact

func (m *MockArtifactService) AssociateArtifact(arg0 context.Context, arg1 *models.Artifact, arg2 []*models.Artifact) error

AssociateArtifact mocks base method.

func (*MockArtifactService) AssociateBlobs

func (m *MockArtifactService) AssociateBlobs(arg0 context.Context, arg1 *models.Artifact, arg2 []*models.Blob) error

AssociateBlobs mocks base method.

func (*MockArtifactService) CountArtifact

func (m *MockArtifactService) CountArtifact(arg0 context.Context, arg1 types.ListArtifactRequest) (int64, error)

CountArtifact mocks base method.

func (*MockArtifactService) CountByNamespace

func (m *MockArtifactService) CountByNamespace(arg0 context.Context, arg1 []int64) (map[int64]int64, error)

CountByNamespace mocks base method.

func (*MockArtifactService) CountByRepository

func (m *MockArtifactService) CountByRepository(arg0 context.Context, arg1 []int64) (map[int64]int64, error)

CountByRepository mocks base method.

func (*MockArtifactService) Create

func (m *MockArtifactService) Create(arg0 context.Context, arg1 *models.Artifact) error

Create mocks base method.

func (*MockArtifactService) CreateSbom

func (m *MockArtifactService) CreateSbom(arg0 context.Context, arg1 *models.ArtifactSbom) error

CreateSbom mocks base method.

func (*MockArtifactService) CreateVulnerability

func (m *MockArtifactService) CreateVulnerability(arg0 context.Context, arg1 *models.ArtifactVulnerability) error

CreateVulnerability mocks base method.

func (*MockArtifactService) DeleteByDigest

func (m *MockArtifactService) DeleteByDigest(arg0 context.Context, arg1, arg2 string) error

DeleteByDigest mocks base method.

func (*MockArtifactService) DeleteByID

func (m *MockArtifactService) DeleteByID(arg0 context.Context, arg1 int64) error

DeleteByID mocks base method.

func (*MockArtifactService) DeleteByIDs

func (m *MockArtifactService) DeleteByIDs(arg0 context.Context, arg1 []int64) error

DeleteByIDs mocks base method.

func (*MockArtifactService) EXPECT

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

func (*MockArtifactService) FindAssociateWithArtifact

func (m *MockArtifactService) FindAssociateWithArtifact(arg0 context.Context, arg1 []int64) ([]int64, error)

FindAssociateWithArtifact mocks base method.

func (*MockArtifactService) FindAssociateWithTag

func (m *MockArtifactService) FindAssociateWithTag(arg0 context.Context, arg1 []int64) ([]int64, error)

FindAssociateWithTag mocks base method.

func (*MockArtifactService) FindWithLastPull

func (m *MockArtifactService) FindWithLastPull(arg0 context.Context, arg1, arg2, arg3, arg4 int64) ([]*models.Artifact, error)

FindWithLastPull mocks base method.

func (*MockArtifactService) Get

func (m *MockArtifactService) Get(arg0 context.Context, arg1 int64) (*models.Artifact, error)

Get mocks base method.

func (*MockArtifactService) GetByDigest

func (m *MockArtifactService) GetByDigest(arg0 context.Context, arg1 int64, arg2 string) (*models.Artifact, error)

GetByDigest mocks base method.

func (*MockArtifactService) GetByDigests

func (m *MockArtifactService) GetByDigests(arg0 context.Context, arg1 string, arg2 []string) ([]*models.Artifact, error)

GetByDigests mocks base method.

func (*MockArtifactService) GetNamespaceSize

func (m *MockArtifactService) GetNamespaceSize(arg0 context.Context, arg1 int64) (int64, error)

GetNamespaceSize mocks base method.

func (*MockArtifactService) GetReferrers

func (m *MockArtifactService) GetReferrers(arg0 context.Context, arg1 int64, arg2 string, arg3 []string) ([]*models.Artifact, error)

GetReferrers mocks base method.

func (*MockArtifactService) GetRepositorySize

func (m *MockArtifactService) GetRepositorySize(arg0 context.Context, arg1 int64) (int64, error)

GetRepositorySize mocks base method.

func (*MockArtifactService) Incr

func (m *MockArtifactService) Incr(arg0 context.Context, arg1 int64) error

Incr mocks base method.

func (*MockArtifactService) IsArtifactAssociatedWithArtifact

func (m *MockArtifactService) IsArtifactAssociatedWithArtifact(arg0 context.Context, arg1 int64) error

IsArtifactAssociatedWithArtifact mocks base method.

func (*MockArtifactService) ListArtifact

ListArtifact mocks base method.

func (*MockArtifactService) UpdateSbom

func (m *MockArtifactService) UpdateSbom(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateSbom mocks base method.

func (*MockArtifactService) UpdateVulnerability

func (m *MockArtifactService) UpdateVulnerability(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateVulnerability mocks base method.

type MockArtifactServiceFactory

type MockArtifactServiceFactory struct {
	// contains filtered or unexported fields
}

MockArtifactServiceFactory is a mock of ArtifactServiceFactory interface.

func NewMockArtifactServiceFactory

func NewMockArtifactServiceFactory(ctrl *gomock.Controller) *MockArtifactServiceFactory

NewMockArtifactServiceFactory creates a new mock instance.

func (*MockArtifactServiceFactory) EXPECT

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

func (*MockArtifactServiceFactory) New

New mocks base method.

type MockArtifactServiceFactoryMockRecorder

type MockArtifactServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockArtifactServiceFactoryMockRecorder is the mock recorder for MockArtifactServiceFactory.

func (*MockArtifactServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockArtifactServiceMockRecorder

type MockArtifactServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockArtifactServiceMockRecorder is the mock recorder for MockArtifactService.

func (*MockArtifactServiceMockRecorder) AssociateArtifact

func (mr *MockArtifactServiceMockRecorder) AssociateArtifact(arg0, arg1, arg2 any) *gomock.Call

AssociateArtifact indicates an expected call of AssociateArtifact.

func (*MockArtifactServiceMockRecorder) AssociateBlobs

func (mr *MockArtifactServiceMockRecorder) AssociateBlobs(arg0, arg1, arg2 any) *gomock.Call

AssociateBlobs indicates an expected call of AssociateBlobs.

func (*MockArtifactServiceMockRecorder) CountArtifact

func (mr *MockArtifactServiceMockRecorder) CountArtifact(arg0, arg1 any) *gomock.Call

CountArtifact indicates an expected call of CountArtifact.

func (*MockArtifactServiceMockRecorder) CountByNamespace

func (mr *MockArtifactServiceMockRecorder) CountByNamespace(arg0, arg1 any) *gomock.Call

CountByNamespace indicates an expected call of CountByNamespace.

func (*MockArtifactServiceMockRecorder) CountByRepository

func (mr *MockArtifactServiceMockRecorder) CountByRepository(arg0, arg1 any) *gomock.Call

CountByRepository indicates an expected call of CountByRepository.

func (*MockArtifactServiceMockRecorder) Create

func (mr *MockArtifactServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockArtifactServiceMockRecorder) CreateSbom

func (mr *MockArtifactServiceMockRecorder) CreateSbom(arg0, arg1 any) *gomock.Call

CreateSbom indicates an expected call of CreateSbom.

func (*MockArtifactServiceMockRecorder) CreateVulnerability

func (mr *MockArtifactServiceMockRecorder) CreateVulnerability(arg0, arg1 any) *gomock.Call

CreateVulnerability indicates an expected call of CreateVulnerability.

func (*MockArtifactServiceMockRecorder) DeleteByDigest

func (mr *MockArtifactServiceMockRecorder) DeleteByDigest(arg0, arg1, arg2 any) *gomock.Call

DeleteByDigest indicates an expected call of DeleteByDigest.

func (*MockArtifactServiceMockRecorder) DeleteByID

func (mr *MockArtifactServiceMockRecorder) DeleteByID(arg0, arg1 any) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockArtifactServiceMockRecorder) DeleteByIDs

func (mr *MockArtifactServiceMockRecorder) DeleteByIDs(arg0, arg1 any) *gomock.Call

DeleteByIDs indicates an expected call of DeleteByIDs.

func (*MockArtifactServiceMockRecorder) FindAssociateWithArtifact

func (mr *MockArtifactServiceMockRecorder) FindAssociateWithArtifact(arg0, arg1 any) *gomock.Call

FindAssociateWithArtifact indicates an expected call of FindAssociateWithArtifact.

func (*MockArtifactServiceMockRecorder) FindAssociateWithTag

func (mr *MockArtifactServiceMockRecorder) FindAssociateWithTag(arg0, arg1 any) *gomock.Call

FindAssociateWithTag indicates an expected call of FindAssociateWithTag.

func (*MockArtifactServiceMockRecorder) FindWithLastPull

func (mr *MockArtifactServiceMockRecorder) FindWithLastPull(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

FindWithLastPull indicates an expected call of FindWithLastPull.

func (*MockArtifactServiceMockRecorder) Get

func (mr *MockArtifactServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockArtifactServiceMockRecorder) GetByDigest

func (mr *MockArtifactServiceMockRecorder) GetByDigest(arg0, arg1, arg2 any) *gomock.Call

GetByDigest indicates an expected call of GetByDigest.

func (*MockArtifactServiceMockRecorder) GetByDigests

func (mr *MockArtifactServiceMockRecorder) GetByDigests(arg0, arg1, arg2 any) *gomock.Call

GetByDigests indicates an expected call of GetByDigests.

func (*MockArtifactServiceMockRecorder) GetNamespaceSize

func (mr *MockArtifactServiceMockRecorder) GetNamespaceSize(arg0, arg1 any) *gomock.Call

GetNamespaceSize indicates an expected call of GetNamespaceSize.

func (*MockArtifactServiceMockRecorder) GetReferrers

func (mr *MockArtifactServiceMockRecorder) GetReferrers(arg0, arg1, arg2, arg3 any) *gomock.Call

GetReferrers indicates an expected call of GetReferrers.

func (*MockArtifactServiceMockRecorder) GetRepositorySize

func (mr *MockArtifactServiceMockRecorder) GetRepositorySize(arg0, arg1 any) *gomock.Call

GetRepositorySize indicates an expected call of GetRepositorySize.

func (*MockArtifactServiceMockRecorder) Incr

func (mr *MockArtifactServiceMockRecorder) Incr(arg0, arg1 any) *gomock.Call

Incr indicates an expected call of Incr.

func (*MockArtifactServiceMockRecorder) IsArtifactAssociatedWithArtifact

func (mr *MockArtifactServiceMockRecorder) IsArtifactAssociatedWithArtifact(arg0, arg1 any) *gomock.Call

IsArtifactAssociatedWithArtifact indicates an expected call of IsArtifactAssociatedWithArtifact.

func (*MockArtifactServiceMockRecorder) ListArtifact

func (mr *MockArtifactServiceMockRecorder) ListArtifact(arg0, arg1 any) *gomock.Call

ListArtifact indicates an expected call of ListArtifact.

func (*MockArtifactServiceMockRecorder) UpdateSbom

func (mr *MockArtifactServiceMockRecorder) UpdateSbom(arg0, arg1, arg2 any) *gomock.Call

UpdateSbom indicates an expected call of UpdateSbom.

func (*MockArtifactServiceMockRecorder) UpdateVulnerability

func (mr *MockArtifactServiceMockRecorder) UpdateVulnerability(arg0, arg1, arg2 any) *gomock.Call

UpdateVulnerability indicates an expected call of UpdateVulnerability.

type MockAuditService

type MockAuditService struct {
	// contains filtered or unexported fields
}

MockAuditService is a mock of AuditService interface.

func NewMockAuditService

func NewMockAuditService(ctrl *gomock.Controller) *MockAuditService

NewMockAuditService creates a new mock instance.

func (*MockAuditService) Create

func (m *MockAuditService) Create(arg0 context.Context, arg1 *models.Audit) error

Create mocks base method.

func (*MockAuditService) EXPECT

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

func (*MockAuditService) HotNamespace

func (m *MockAuditService) HotNamespace(arg0 context.Context, arg1 int64, arg2 int) ([]*models.Namespace, error)

HotNamespace mocks base method.

type MockAuditServiceFactory

type MockAuditServiceFactory struct {
	// contains filtered or unexported fields
}

MockAuditServiceFactory is a mock of AuditServiceFactory interface.

func NewMockAuditServiceFactory

func NewMockAuditServiceFactory(ctrl *gomock.Controller) *MockAuditServiceFactory

NewMockAuditServiceFactory creates a new mock instance.

func (*MockAuditServiceFactory) EXPECT

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

func (*MockAuditServiceFactory) New

New mocks base method.

type MockAuditServiceFactoryMockRecorder

type MockAuditServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuditServiceFactoryMockRecorder is the mock recorder for MockAuditServiceFactory.

func (*MockAuditServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockAuditServiceMockRecorder

type MockAuditServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuditServiceMockRecorder is the mock recorder for MockAuditService.

func (*MockAuditServiceMockRecorder) Create

func (mr *MockAuditServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockAuditServiceMockRecorder) HotNamespace

func (mr *MockAuditServiceMockRecorder) HotNamespace(arg0, arg1, arg2 any) *gomock.Call

HotNamespace indicates an expected call of HotNamespace.

type MockBlobService

type MockBlobService struct {
	// contains filtered or unexported fields
}

MockBlobService is a mock of BlobService interface.

func NewMockBlobService

func NewMockBlobService(ctrl *gomock.Controller) *MockBlobService

NewMockBlobService creates a new mock instance.

func (*MockBlobService) Create

func (m *MockBlobService) Create(arg0 context.Context, arg1 *models.Blob) error

Create mocks base method.

func (*MockBlobService) DeleteByID

func (m *MockBlobService) DeleteByID(arg0 context.Context, arg1 int64) error

DeleteByID mocks base method.

func (*MockBlobService) EXPECT

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

func (*MockBlobService) Exists

func (m *MockBlobService) Exists(arg0 context.Context, arg1 string) (bool, error)

Exists mocks base method.

func (*MockBlobService) FindAssociateWithArtifact

func (m *MockBlobService) FindAssociateWithArtifact(arg0 context.Context, arg1 []int64) ([]int64, error)

FindAssociateWithArtifact mocks base method.

func (*MockBlobService) FindByDigest

func (m *MockBlobService) FindByDigest(arg0 context.Context, arg1 string) (*models.Blob, error)

FindByDigest mocks base method.

func (*MockBlobService) FindByDigests

func (m *MockBlobService) FindByDigests(arg0 context.Context, arg1 []string) ([]*models.Blob, error)

FindByDigests mocks base method.

func (*MockBlobService) FindWithLastPull

func (m *MockBlobService) FindWithLastPull(arg0 context.Context, arg1, arg2, arg3 int64) ([]*models.Blob, error)

FindWithLastPull mocks base method.

func (*MockBlobService) Incr

func (m *MockBlobService) Incr(arg0 context.Context, arg1 int64) error

Incr mocks base method.

type MockBlobServiceFactory

type MockBlobServiceFactory struct {
	// contains filtered or unexported fields
}

MockBlobServiceFactory is a mock of BlobServiceFactory interface.

func NewMockBlobServiceFactory

func NewMockBlobServiceFactory(ctrl *gomock.Controller) *MockBlobServiceFactory

NewMockBlobServiceFactory creates a new mock instance.

func (*MockBlobServiceFactory) EXPECT

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

func (*MockBlobServiceFactory) New

New mocks base method.

type MockBlobServiceFactoryMockRecorder

type MockBlobServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlobServiceFactoryMockRecorder is the mock recorder for MockBlobServiceFactory.

func (*MockBlobServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockBlobServiceMockRecorder

type MockBlobServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlobServiceMockRecorder is the mock recorder for MockBlobService.

func (*MockBlobServiceMockRecorder) Create

func (mr *MockBlobServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockBlobServiceMockRecorder) DeleteByID

func (mr *MockBlobServiceMockRecorder) DeleteByID(arg0, arg1 any) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockBlobServiceMockRecorder) Exists

func (mr *MockBlobServiceMockRecorder) Exists(arg0, arg1 any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockBlobServiceMockRecorder) FindAssociateWithArtifact

func (mr *MockBlobServiceMockRecorder) FindAssociateWithArtifact(arg0, arg1 any) *gomock.Call

FindAssociateWithArtifact indicates an expected call of FindAssociateWithArtifact.

func (*MockBlobServiceMockRecorder) FindByDigest

func (mr *MockBlobServiceMockRecorder) FindByDigest(arg0, arg1 any) *gomock.Call

FindByDigest indicates an expected call of FindByDigest.

func (*MockBlobServiceMockRecorder) FindByDigests

func (mr *MockBlobServiceMockRecorder) FindByDigests(arg0, arg1 any) *gomock.Call

FindByDigests indicates an expected call of FindByDigests.

func (*MockBlobServiceMockRecorder) FindWithLastPull

func (mr *MockBlobServiceMockRecorder) FindWithLastPull(arg0, arg1, arg2, arg3 any) *gomock.Call

FindWithLastPull indicates an expected call of FindWithLastPull.

func (*MockBlobServiceMockRecorder) Incr

func (mr *MockBlobServiceMockRecorder) Incr(arg0, arg1 any) *gomock.Call

Incr indicates an expected call of Incr.

type MockBlobUploadService

type MockBlobUploadService struct {
	// contains filtered or unexported fields
}

MockBlobUploadService is a mock of BlobUploadService interface.

func NewMockBlobUploadService

func NewMockBlobUploadService(ctrl *gomock.Controller) *MockBlobUploadService

NewMockBlobUploadService creates a new mock instance.

func (*MockBlobUploadService) Create

Create mocks base method.

func (*MockBlobUploadService) DeleteByUploadID

func (m *MockBlobUploadService) DeleteByUploadID(arg0 context.Context, arg1 string) error

DeleteByUploadID mocks base method.

func (*MockBlobUploadService) EXPECT

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

func (*MockBlobUploadService) FindAllByUploadID

func (m *MockBlobUploadService) FindAllByUploadID(arg0 context.Context, arg1 string) ([]*models.BlobUpload, error)

FindAllByUploadID mocks base method.

func (*MockBlobUploadService) GetLastPart

func (m *MockBlobUploadService) GetLastPart(arg0 context.Context, arg1 string) (*models.BlobUpload, error)

GetLastPart mocks base method.

func (*MockBlobUploadService) TotalEtagsByUploadID

func (m *MockBlobUploadService) TotalEtagsByUploadID(arg0 context.Context, arg1 string) ([]string, error)

TotalEtagsByUploadID mocks base method.

func (*MockBlobUploadService) TotalSizeByUploadID

func (m *MockBlobUploadService) TotalSizeByUploadID(arg0 context.Context, arg1 string) (int64, error)

TotalSizeByUploadID mocks base method.

type MockBlobUploadServiceFactory

type MockBlobUploadServiceFactory struct {
	// contains filtered or unexported fields
}

MockBlobUploadServiceFactory is a mock of BlobUploadServiceFactory interface.

func NewMockBlobUploadServiceFactory

func NewMockBlobUploadServiceFactory(ctrl *gomock.Controller) *MockBlobUploadServiceFactory

NewMockBlobUploadServiceFactory creates a new mock instance.

func (*MockBlobUploadServiceFactory) EXPECT

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

func (*MockBlobUploadServiceFactory) New

New mocks base method.

type MockBlobUploadServiceFactoryMockRecorder

type MockBlobUploadServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlobUploadServiceFactoryMockRecorder is the mock recorder for MockBlobUploadServiceFactory.

func (*MockBlobUploadServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockBlobUploadServiceMockRecorder

type MockBlobUploadServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlobUploadServiceMockRecorder is the mock recorder for MockBlobUploadService.

func (*MockBlobUploadServiceMockRecorder) Create

func (mr *MockBlobUploadServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockBlobUploadServiceMockRecorder) DeleteByUploadID

func (mr *MockBlobUploadServiceMockRecorder) DeleteByUploadID(arg0, arg1 any) *gomock.Call

DeleteByUploadID indicates an expected call of DeleteByUploadID.

func (*MockBlobUploadServiceMockRecorder) FindAllByUploadID

func (mr *MockBlobUploadServiceMockRecorder) FindAllByUploadID(arg0, arg1 any) *gomock.Call

FindAllByUploadID indicates an expected call of FindAllByUploadID.

func (*MockBlobUploadServiceMockRecorder) GetLastPart

func (mr *MockBlobUploadServiceMockRecorder) GetLastPart(arg0, arg1 any) *gomock.Call

GetLastPart indicates an expected call of GetLastPart.

func (*MockBlobUploadServiceMockRecorder) TotalEtagsByUploadID

func (mr *MockBlobUploadServiceMockRecorder) TotalEtagsByUploadID(arg0, arg1 any) *gomock.Call

TotalEtagsByUploadID indicates an expected call of TotalEtagsByUploadID.

func (*MockBlobUploadServiceMockRecorder) TotalSizeByUploadID

func (mr *MockBlobUploadServiceMockRecorder) TotalSizeByUploadID(arg0, arg1 any) *gomock.Call

TotalSizeByUploadID indicates an expected call of TotalSizeByUploadID.

type MockBuilderService

type MockBuilderService struct {
	// contains filtered or unexported fields
}

MockBuilderService is a mock of BuilderService interface.

func NewMockBuilderService

func NewMockBuilderService(ctrl *gomock.Controller) *MockBuilderService

NewMockBuilderService creates a new mock instance.

func (*MockBuilderService) Create

func (m *MockBuilderService) Create(arg0 context.Context, arg1 *models.Builder) error

Create mocks base method.

func (*MockBuilderService) CreateRunner

func (m *MockBuilderService) CreateRunner(arg0 context.Context, arg1 *models.BuilderRunner) error

CreateRunner mocks base method.

func (*MockBuilderService) EXPECT

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

func (*MockBuilderService) Get

func (m *MockBuilderService) Get(arg0 context.Context, arg1 int64) (*models.Builder, error)

Get mocks base method.

func (*MockBuilderService) GetByNextTrigger

func (m *MockBuilderService) GetByNextTrigger(arg0 context.Context, arg1 time.Time, arg2 int) ([]*models.Builder, error)

GetByNextTrigger mocks base method.

func (*MockBuilderService) GetByRepositoryID

func (m *MockBuilderService) GetByRepositoryID(arg0 context.Context, arg1 int64) (*models.Builder, error)

GetByRepositoryID mocks base method.

func (*MockBuilderService) GetByRepositoryIDs

func (m *MockBuilderService) GetByRepositoryIDs(arg0 context.Context, arg1 []int64) (map[int64]*models.Builder, error)

GetByRepositoryIDs mocks base method.

func (*MockBuilderService) GetRunner

func (m *MockBuilderService) GetRunner(arg0 context.Context, arg1 int64) (*models.BuilderRunner, error)

GetRunner mocks base method.

func (*MockBuilderService) ListRunners

func (m *MockBuilderService) ListRunners(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.BuilderRunner, int64, error)

ListRunners mocks base method.

func (*MockBuilderService) Update

func (m *MockBuilderService) Update(arg0 context.Context, arg1 int64, arg2 map[string]any) error

Update mocks base method.

func (*MockBuilderService) UpdateNextTrigger

func (m *MockBuilderService) UpdateNextTrigger(arg0 context.Context, arg1 int64, arg2 time.Time) error

UpdateNextTrigger mocks base method.

func (*MockBuilderService) UpdateRunner

func (m *MockBuilderService) UpdateRunner(arg0 context.Context, arg1, arg2 int64, arg3 map[string]any) error

UpdateRunner mocks base method.

type MockBuilderServiceFactory

type MockBuilderServiceFactory struct {
	// contains filtered or unexported fields
}

MockBuilderServiceFactory is a mock of BuilderServiceFactory interface.

func NewMockBuilderServiceFactory

func NewMockBuilderServiceFactory(ctrl *gomock.Controller) *MockBuilderServiceFactory

NewMockBuilderServiceFactory creates a new mock instance.

func (*MockBuilderServiceFactory) EXPECT

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

func (*MockBuilderServiceFactory) New

New mocks base method.

type MockBuilderServiceFactoryMockRecorder

type MockBuilderServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuilderServiceFactoryMockRecorder is the mock recorder for MockBuilderServiceFactory.

func (*MockBuilderServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockBuilderServiceMockRecorder

type MockBuilderServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuilderServiceMockRecorder is the mock recorder for MockBuilderService.

func (*MockBuilderServiceMockRecorder) Create

func (mr *MockBuilderServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockBuilderServiceMockRecorder) CreateRunner

func (mr *MockBuilderServiceMockRecorder) CreateRunner(arg0, arg1 any) *gomock.Call

CreateRunner indicates an expected call of CreateRunner.

func (*MockBuilderServiceMockRecorder) Get

func (mr *MockBuilderServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockBuilderServiceMockRecorder) GetByNextTrigger

func (mr *MockBuilderServiceMockRecorder) GetByNextTrigger(arg0, arg1, arg2 any) *gomock.Call

GetByNextTrigger indicates an expected call of GetByNextTrigger.

func (*MockBuilderServiceMockRecorder) GetByRepositoryID

func (mr *MockBuilderServiceMockRecorder) GetByRepositoryID(arg0, arg1 any) *gomock.Call

GetByRepositoryID indicates an expected call of GetByRepositoryID.

func (*MockBuilderServiceMockRecorder) GetByRepositoryIDs

func (mr *MockBuilderServiceMockRecorder) GetByRepositoryIDs(arg0, arg1 any) *gomock.Call

GetByRepositoryIDs indicates an expected call of GetByRepositoryIDs.

func (*MockBuilderServiceMockRecorder) GetRunner

func (mr *MockBuilderServiceMockRecorder) GetRunner(arg0, arg1 any) *gomock.Call

GetRunner indicates an expected call of GetRunner.

func (*MockBuilderServiceMockRecorder) ListRunners

func (mr *MockBuilderServiceMockRecorder) ListRunners(arg0, arg1, arg2, arg3 any) *gomock.Call

ListRunners indicates an expected call of ListRunners.

func (*MockBuilderServiceMockRecorder) Update

func (mr *MockBuilderServiceMockRecorder) Update(arg0, arg1, arg2 any) *gomock.Call

Update indicates an expected call of Update.

func (*MockBuilderServiceMockRecorder) UpdateNextTrigger

func (mr *MockBuilderServiceMockRecorder) UpdateNextTrigger(arg0, arg1, arg2 any) *gomock.Call

UpdateNextTrigger indicates an expected call of UpdateNextTrigger.

func (*MockBuilderServiceMockRecorder) UpdateRunner

func (mr *MockBuilderServiceMockRecorder) UpdateRunner(arg0, arg1, arg2, arg3 any) *gomock.Call

UpdateRunner indicates an expected call of UpdateRunner.

type MockCacheService

type MockCacheService struct {
	// contains filtered or unexported fields
}

MockCacheService is a mock of CacheService interface.

func NewMockCacheService

func NewMockCacheService(ctrl *gomock.Controller) *MockCacheService

NewMockCacheService creates a new mock instance.

func (*MockCacheService) Delete

func (m *MockCacheService) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockCacheService) EXPECT

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

func (*MockCacheService) Get

func (m *MockCacheService) Get(arg0 context.Context, arg1 string) (*models.Cache, error)

Get mocks base method.

func (*MockCacheService) Save

func (m *MockCacheService) Save(arg0 context.Context, arg1 string, arg2 []byte, arg3 int64, arg4 float64) error

Save mocks base method.

type MockCacheServiceFactory

type MockCacheServiceFactory struct {
	// contains filtered or unexported fields
}

MockCacheServiceFactory is a mock of CacheServiceFactory interface.

func NewMockCacheServiceFactory

func NewMockCacheServiceFactory(ctrl *gomock.Controller) *MockCacheServiceFactory

NewMockCacheServiceFactory creates a new mock instance.

func (*MockCacheServiceFactory) EXPECT

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

func (*MockCacheServiceFactory) New

New mocks base method.

type MockCacheServiceFactoryMockRecorder

type MockCacheServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockCacheServiceFactoryMockRecorder is the mock recorder for MockCacheServiceFactory.

func (*MockCacheServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockCacheServiceMockRecorder

type MockCacheServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockCacheServiceMockRecorder is the mock recorder for MockCacheService.

func (*MockCacheServiceMockRecorder) Delete

func (mr *MockCacheServiceMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCacheServiceMockRecorder) Get

func (mr *MockCacheServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockCacheServiceMockRecorder) Save

func (mr *MockCacheServiceMockRecorder) Save(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

Save indicates an expected call of Save.

type MockCodeRepositoryService

type MockCodeRepositoryService struct {
	// contains filtered or unexported fields
}

MockCodeRepositoryService is a mock of CodeRepositoryService interface.

func NewMockCodeRepositoryService

func NewMockCodeRepositoryService(ctrl *gomock.Controller) *MockCodeRepositoryService

NewMockCodeRepositoryService creates a new mock instance.

func (*MockCodeRepositoryService) CreateBranchesInBatches

func (m *MockCodeRepositoryService) CreateBranchesInBatches(arg0 context.Context, arg1 []*models.CodeRepositoryBranch) error

CreateBranchesInBatches mocks base method.

func (*MockCodeRepositoryService) CreateInBatches

func (m *MockCodeRepositoryService) CreateInBatches(arg0 context.Context, arg1 []*models.CodeRepository) error

CreateInBatches mocks base method.

func (*MockCodeRepositoryService) CreateOwnersInBatches

func (m *MockCodeRepositoryService) CreateOwnersInBatches(arg0 context.Context, arg1 []*models.CodeRepositoryOwner) error

CreateOwnersInBatches mocks base method.

func (*MockCodeRepositoryService) DeleteBranchesInBatches

func (m *MockCodeRepositoryService) DeleteBranchesInBatches(arg0 context.Context, arg1 []int64) error

DeleteBranchesInBatches mocks base method.

func (*MockCodeRepositoryService) DeleteInBatches

func (m *MockCodeRepositoryService) DeleteInBatches(arg0 context.Context, arg1 []int64) error

DeleteInBatches mocks base method.

func (*MockCodeRepositoryService) DeleteOwnerInBatches

func (m *MockCodeRepositoryService) DeleteOwnerInBatches(arg0 context.Context, arg1 []int64) error

DeleteOwnerInBatches mocks base method.

func (*MockCodeRepositoryService) EXPECT

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

func (*MockCodeRepositoryService) Get

Get mocks base method.

func (*MockCodeRepositoryService) GetBranchByName

func (m *MockCodeRepositoryService) GetBranchByName(arg0 context.Context, arg1 int64, arg2 string) (*models.CodeRepositoryBranch, error)

GetBranchByName mocks base method.

func (*MockCodeRepositoryService) GetCloneCredential

GetCloneCredential mocks base method.

func (*MockCodeRepositoryService) ListAll

ListAll mocks base method.

func (*MockCodeRepositoryService) ListBranchesWithoutPagination

func (m *MockCodeRepositoryService) ListBranchesWithoutPagination(arg0 context.Context, arg1 int64) ([]*models.CodeRepositoryBranch, int64, error)

ListBranchesWithoutPagination mocks base method.

func (*MockCodeRepositoryService) ListOwnerWithoutPagination

func (m *MockCodeRepositoryService) ListOwnerWithoutPagination(arg0 context.Context, arg1 int64, arg2 enums.Provider, arg3 *string) ([]*models.CodeRepositoryOwner, int64, error)

ListOwnerWithoutPagination mocks base method.

func (*MockCodeRepositoryService) ListOwnersAll

func (m *MockCodeRepositoryService) ListOwnersAll(arg0 context.Context, arg1 int64) ([]*models.CodeRepositoryOwner, error)

ListOwnersAll mocks base method.

func (*MockCodeRepositoryService) ListWithPagination

func (m *MockCodeRepositoryService) ListWithPagination(arg0 context.Context, arg1 int64, arg2 enums.Provider, arg3, arg4 *string, arg5 types.Pagination, arg6 types.Sortable) ([]*models.CodeRepository, int64, error)

ListWithPagination mocks base method.

func (*MockCodeRepositoryService) UpdateInBatches

func (m *MockCodeRepositoryService) UpdateInBatches(arg0 context.Context, arg1 []*models.CodeRepository) error

UpdateInBatches mocks base method.

func (*MockCodeRepositoryService) UpdateOwnersInBatches

func (m *MockCodeRepositoryService) UpdateOwnersInBatches(arg0 context.Context, arg1 []*models.CodeRepositoryOwner) error

UpdateOwnersInBatches mocks base method.

type MockCodeRepositoryServiceFactory

type MockCodeRepositoryServiceFactory struct {
	// contains filtered or unexported fields
}

MockCodeRepositoryServiceFactory is a mock of CodeRepositoryServiceFactory interface.

func NewMockCodeRepositoryServiceFactory

func NewMockCodeRepositoryServiceFactory(ctrl *gomock.Controller) *MockCodeRepositoryServiceFactory

NewMockCodeRepositoryServiceFactory creates a new mock instance.

func (*MockCodeRepositoryServiceFactory) EXPECT

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

func (*MockCodeRepositoryServiceFactory) New

New mocks base method.

type MockCodeRepositoryServiceFactoryMockRecorder

type MockCodeRepositoryServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockCodeRepositoryServiceFactoryMockRecorder is the mock recorder for MockCodeRepositoryServiceFactory.

func (*MockCodeRepositoryServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockCodeRepositoryServiceMockRecorder

type MockCodeRepositoryServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockCodeRepositoryServiceMockRecorder is the mock recorder for MockCodeRepositoryService.

func (*MockCodeRepositoryServiceMockRecorder) CreateBranchesInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) CreateBranchesInBatches(arg0, arg1 any) *gomock.Call

CreateBranchesInBatches indicates an expected call of CreateBranchesInBatches.

func (*MockCodeRepositoryServiceMockRecorder) CreateInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) CreateInBatches(arg0, arg1 any) *gomock.Call

CreateInBatches indicates an expected call of CreateInBatches.

func (*MockCodeRepositoryServiceMockRecorder) CreateOwnersInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) CreateOwnersInBatches(arg0, arg1 any) *gomock.Call

CreateOwnersInBatches indicates an expected call of CreateOwnersInBatches.

func (*MockCodeRepositoryServiceMockRecorder) DeleteBranchesInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) DeleteBranchesInBatches(arg0, arg1 any) *gomock.Call

DeleteBranchesInBatches indicates an expected call of DeleteBranchesInBatches.

func (*MockCodeRepositoryServiceMockRecorder) DeleteInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) DeleteInBatches(arg0, arg1 any) *gomock.Call

DeleteInBatches indicates an expected call of DeleteInBatches.

func (*MockCodeRepositoryServiceMockRecorder) DeleteOwnerInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) DeleteOwnerInBatches(arg0, arg1 any) *gomock.Call

DeleteOwnerInBatches indicates an expected call of DeleteOwnerInBatches.

func (*MockCodeRepositoryServiceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockCodeRepositoryServiceMockRecorder) GetBranchByName

func (mr *MockCodeRepositoryServiceMockRecorder) GetBranchByName(arg0, arg1, arg2 any) *gomock.Call

GetBranchByName indicates an expected call of GetBranchByName.

func (*MockCodeRepositoryServiceMockRecorder) GetCloneCredential

func (mr *MockCodeRepositoryServiceMockRecorder) GetCloneCredential(arg0, arg1 any) *gomock.Call

GetCloneCredential indicates an expected call of GetCloneCredential.

func (*MockCodeRepositoryServiceMockRecorder) ListAll

func (mr *MockCodeRepositoryServiceMockRecorder) ListAll(arg0, arg1 any) *gomock.Call

ListAll indicates an expected call of ListAll.

func (*MockCodeRepositoryServiceMockRecorder) ListBranchesWithoutPagination

func (mr *MockCodeRepositoryServiceMockRecorder) ListBranchesWithoutPagination(arg0, arg1 any) *gomock.Call

ListBranchesWithoutPagination indicates an expected call of ListBranchesWithoutPagination.

func (*MockCodeRepositoryServiceMockRecorder) ListOwnerWithoutPagination

func (mr *MockCodeRepositoryServiceMockRecorder) ListOwnerWithoutPagination(arg0, arg1, arg2, arg3 any) *gomock.Call

ListOwnerWithoutPagination indicates an expected call of ListOwnerWithoutPagination.

func (*MockCodeRepositoryServiceMockRecorder) ListOwnersAll

func (mr *MockCodeRepositoryServiceMockRecorder) ListOwnersAll(arg0, arg1 any) *gomock.Call

ListOwnersAll indicates an expected call of ListOwnersAll.

func (*MockCodeRepositoryServiceMockRecorder) ListWithPagination

func (mr *MockCodeRepositoryServiceMockRecorder) ListWithPagination(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call

ListWithPagination indicates an expected call of ListWithPagination.

func (*MockCodeRepositoryServiceMockRecorder) UpdateInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) UpdateInBatches(arg0, arg1 any) *gomock.Call

UpdateInBatches indicates an expected call of UpdateInBatches.

func (*MockCodeRepositoryServiceMockRecorder) UpdateOwnersInBatches

func (mr *MockCodeRepositoryServiceMockRecorder) UpdateOwnersInBatches(arg0, arg1 any) *gomock.Call

UpdateOwnersInBatches indicates an expected call of UpdateOwnersInBatches.

type MockDaemonService

type MockDaemonService struct {
	// contains filtered or unexported fields
}

MockDaemonService is a mock of DaemonService interface.

func NewMockDaemonService

func NewMockDaemonService(ctrl *gomock.Controller) *MockDaemonService

NewMockDaemonService creates a new mock instance.

func (*MockDaemonService) CreateGcArtifactRecords

func (m *MockDaemonService) CreateGcArtifactRecords(arg0 context.Context, arg1 []*models.DaemonGcArtifactRecord) error

CreateGcArtifactRecords mocks base method.

func (*MockDaemonService) CreateGcArtifactRule

func (m *MockDaemonService) CreateGcArtifactRule(arg0 context.Context, arg1 *models.DaemonGcArtifactRule) error

CreateGcArtifactRule mocks base method.

func (*MockDaemonService) CreateGcArtifactRunner

func (m *MockDaemonService) CreateGcArtifactRunner(arg0 context.Context, arg1 *models.DaemonGcArtifactRunner) error

CreateGcArtifactRunner mocks base method.

func (*MockDaemonService) CreateGcBlobRecords

func (m *MockDaemonService) CreateGcBlobRecords(arg0 context.Context, arg1 []*models.DaemonGcBlobRecord) error

CreateGcBlobRecords mocks base method.

func (*MockDaemonService) CreateGcBlobRule

func (m *MockDaemonService) CreateGcBlobRule(arg0 context.Context, arg1 *models.DaemonGcBlobRule) error

CreateGcBlobRule mocks base method.

func (*MockDaemonService) CreateGcBlobRunner

func (m *MockDaemonService) CreateGcBlobRunner(arg0 context.Context, arg1 *models.DaemonGcBlobRunner) error

CreateGcBlobRunner mocks base method.

func (*MockDaemonService) CreateGcRepositoryRecords

func (m *MockDaemonService) CreateGcRepositoryRecords(arg0 context.Context, arg1 []*models.DaemonGcRepositoryRecord) error

CreateGcRepositoryRecords mocks base method.

func (*MockDaemonService) CreateGcRepositoryRule

func (m *MockDaemonService) CreateGcRepositoryRule(arg0 context.Context, arg1 *models.DaemonGcRepositoryRule) error

CreateGcRepositoryRule mocks base method.

func (*MockDaemonService) CreateGcRepositoryRunner

func (m *MockDaemonService) CreateGcRepositoryRunner(arg0 context.Context, arg1 *models.DaemonGcRepositoryRunner) error

CreateGcRepositoryRunner mocks base method.

func (*MockDaemonService) CreateGcTagRecords

func (m *MockDaemonService) CreateGcTagRecords(arg0 context.Context, arg1 []*models.DaemonGcTagRecord) error

CreateGcTagRecords mocks base method.

func (*MockDaemonService) CreateGcTagRule

func (m *MockDaemonService) CreateGcTagRule(arg0 context.Context, arg1 *models.DaemonGcTagRule) error

CreateGcTagRule mocks base method.

func (*MockDaemonService) CreateGcTagRunner

func (m *MockDaemonService) CreateGcTagRunner(arg0 context.Context, arg1 *models.DaemonGcTagRunner) error

CreateGcTagRunner mocks base method.

func (*MockDaemonService) EXPECT

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

func (*MockDaemonService) GetGcArtifactLatestRunner

func (m *MockDaemonService) GetGcArtifactLatestRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcArtifactRunner, error)

GetGcArtifactLatestRunner mocks base method.

func (*MockDaemonService) GetGcArtifactRecord

func (m *MockDaemonService) GetGcArtifactRecord(arg0 context.Context, arg1 int64) (*models.DaemonGcArtifactRecord, error)

GetGcArtifactRecord mocks base method.

func (*MockDaemonService) GetGcArtifactRule

func (m *MockDaemonService) GetGcArtifactRule(arg0 context.Context, arg1 *int64) (*models.DaemonGcArtifactRule, error)

GetGcArtifactRule mocks base method.

func (*MockDaemonService) GetGcArtifactRunner

func (m *MockDaemonService) GetGcArtifactRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcArtifactRunner, error)

GetGcArtifactRunner mocks base method.

func (*MockDaemonService) GetGcBlobLatestRunner

func (m *MockDaemonService) GetGcBlobLatestRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcBlobRunner, error)

GetGcBlobLatestRunner mocks base method.

func (*MockDaemonService) GetGcBlobRecord

func (m *MockDaemonService) GetGcBlobRecord(arg0 context.Context, arg1 int64) (*models.DaemonGcBlobRecord, error)

GetGcBlobRecord mocks base method.

func (*MockDaemonService) GetGcBlobRule

func (m *MockDaemonService) GetGcBlobRule(arg0 context.Context) (*models.DaemonGcBlobRule, error)

GetGcBlobRule mocks base method.

func (*MockDaemonService) GetGcBlobRunner

func (m *MockDaemonService) GetGcBlobRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcBlobRunner, error)

GetGcBlobRunner mocks base method.

func (*MockDaemonService) GetGcRepositoryLatestRunner

func (m *MockDaemonService) GetGcRepositoryLatestRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcRepositoryRunner, error)

GetGcRepositoryLatestRunner mocks base method.

func (*MockDaemonService) GetGcRepositoryRecord

func (m *MockDaemonService) GetGcRepositoryRecord(arg0 context.Context, arg1 int64) (*models.DaemonGcRepositoryRecord, error)

GetGcRepositoryRecord mocks base method.

func (*MockDaemonService) GetGcRepositoryRule

func (m *MockDaemonService) GetGcRepositoryRule(arg0 context.Context, arg1 *int64) (*models.DaemonGcRepositoryRule, error)

GetGcRepositoryRule mocks base method.

func (*MockDaemonService) GetGcRepositoryRunner

func (m *MockDaemonService) GetGcRepositoryRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcRepositoryRunner, error)

GetGcRepositoryRunner mocks base method.

func (*MockDaemonService) GetGcTagLatestRunner

func (m *MockDaemonService) GetGcTagLatestRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcTagRunner, error)

GetGcTagLatestRunner mocks base method.

func (*MockDaemonService) GetGcTagRecord

func (m *MockDaemonService) GetGcTagRecord(arg0 context.Context, arg1 int64) (*models.DaemonGcTagRecord, error)

GetGcTagRecord mocks base method.

func (*MockDaemonService) GetGcTagRule

func (m *MockDaemonService) GetGcTagRule(arg0 context.Context, arg1 *int64) (*models.DaemonGcTagRule, error)

GetGcTagRule mocks base method.

func (*MockDaemonService) GetGcTagRunner

func (m *MockDaemonService) GetGcTagRunner(arg0 context.Context, arg1 int64) (*models.DaemonGcTagRunner, error)

GetGcTagRunner mocks base method.

func (*MockDaemonService) ListGcArtifactRecords

func (m *MockDaemonService) ListGcArtifactRecords(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcArtifactRecord, int64, error)

ListGcArtifactRecords mocks base method.

func (*MockDaemonService) ListGcArtifactRunners

func (m *MockDaemonService) ListGcArtifactRunners(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcArtifactRunner, int64, error)

ListGcArtifactRunners mocks base method.

func (*MockDaemonService) ListGcBlobRecords

func (m *MockDaemonService) ListGcBlobRecords(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcBlobRecord, int64, error)

ListGcBlobRecords mocks base method.

func (*MockDaemonService) ListGcBlobRunners

func (m *MockDaemonService) ListGcBlobRunners(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcBlobRunner, int64, error)

ListGcBlobRunners mocks base method.

func (*MockDaemonService) ListGcRepositoryRecords

func (m *MockDaemonService) ListGcRepositoryRecords(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcRepositoryRecord, int64, error)

ListGcRepositoryRecords mocks base method.

func (*MockDaemonService) ListGcRepositoryRunners

func (m *MockDaemonService) ListGcRepositoryRunners(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcRepositoryRunner, int64, error)

ListGcRepositoryRunners mocks base method.

func (*MockDaemonService) ListGcTagRecords

func (m *MockDaemonService) ListGcTagRecords(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcTagRecord, int64, error)

ListGcTagRecords mocks base method.

func (*MockDaemonService) ListGcTagRunners

func (m *MockDaemonService) ListGcTagRunners(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.DaemonGcTagRunner, int64, error)

ListGcTagRunners mocks base method.

func (*MockDaemonService) UpdateGcArtifactRule

func (m *MockDaemonService) UpdateGcArtifactRule(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcArtifactRule mocks base method.

func (*MockDaemonService) UpdateGcArtifactRunner

func (m *MockDaemonService) UpdateGcArtifactRunner(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcArtifactRunner mocks base method.

func (*MockDaemonService) UpdateGcBlobRule

func (m *MockDaemonService) UpdateGcBlobRule(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcBlobRule mocks base method.

func (*MockDaemonService) UpdateGcBlobRunner

func (m *MockDaemonService) UpdateGcBlobRunner(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcBlobRunner mocks base method.

func (*MockDaemonService) UpdateGcRepositoryRule

func (m *MockDaemonService) UpdateGcRepositoryRule(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcRepositoryRule mocks base method.

func (*MockDaemonService) UpdateGcRepositoryRunner

func (m *MockDaemonService) UpdateGcRepositoryRunner(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcRepositoryRunner mocks base method.

func (*MockDaemonService) UpdateGcTagRule

func (m *MockDaemonService) UpdateGcTagRule(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcTagRule mocks base method.

func (*MockDaemonService) UpdateGcTagRunner

func (m *MockDaemonService) UpdateGcTagRunner(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateGcTagRunner mocks base method.

type MockDaemonServiceFactory

type MockDaemonServiceFactory struct {
	// contains filtered or unexported fields
}

MockDaemonServiceFactory is a mock of DaemonServiceFactory interface.

func NewMockDaemonServiceFactory

func NewMockDaemonServiceFactory(ctrl *gomock.Controller) *MockDaemonServiceFactory

NewMockDaemonServiceFactory creates a new mock instance.

func (*MockDaemonServiceFactory) EXPECT

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

func (*MockDaemonServiceFactory) New

New mocks base method.

type MockDaemonServiceFactoryMockRecorder

type MockDaemonServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockDaemonServiceFactoryMockRecorder is the mock recorder for MockDaemonServiceFactory.

func (*MockDaemonServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockDaemonServiceMockRecorder

type MockDaemonServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockDaemonServiceMockRecorder is the mock recorder for MockDaemonService.

func (*MockDaemonServiceMockRecorder) CreateGcArtifactRecords

func (mr *MockDaemonServiceMockRecorder) CreateGcArtifactRecords(arg0, arg1 any) *gomock.Call

CreateGcArtifactRecords indicates an expected call of CreateGcArtifactRecords.

func (*MockDaemonServiceMockRecorder) CreateGcArtifactRule

func (mr *MockDaemonServiceMockRecorder) CreateGcArtifactRule(arg0, arg1 any) *gomock.Call

CreateGcArtifactRule indicates an expected call of CreateGcArtifactRule.

func (*MockDaemonServiceMockRecorder) CreateGcArtifactRunner

func (mr *MockDaemonServiceMockRecorder) CreateGcArtifactRunner(arg0, arg1 any) *gomock.Call

CreateGcArtifactRunner indicates an expected call of CreateGcArtifactRunner.

func (*MockDaemonServiceMockRecorder) CreateGcBlobRecords

func (mr *MockDaemonServiceMockRecorder) CreateGcBlobRecords(arg0, arg1 any) *gomock.Call

CreateGcBlobRecords indicates an expected call of CreateGcBlobRecords.

func (*MockDaemonServiceMockRecorder) CreateGcBlobRule

func (mr *MockDaemonServiceMockRecorder) CreateGcBlobRule(arg0, arg1 any) *gomock.Call

CreateGcBlobRule indicates an expected call of CreateGcBlobRule.

func (*MockDaemonServiceMockRecorder) CreateGcBlobRunner

func (mr *MockDaemonServiceMockRecorder) CreateGcBlobRunner(arg0, arg1 any) *gomock.Call

CreateGcBlobRunner indicates an expected call of CreateGcBlobRunner.

func (*MockDaemonServiceMockRecorder) CreateGcRepositoryRecords

func (mr *MockDaemonServiceMockRecorder) CreateGcRepositoryRecords(arg0, arg1 any) *gomock.Call

CreateGcRepositoryRecords indicates an expected call of CreateGcRepositoryRecords.

func (*MockDaemonServiceMockRecorder) CreateGcRepositoryRule

func (mr *MockDaemonServiceMockRecorder) CreateGcRepositoryRule(arg0, arg1 any) *gomock.Call

CreateGcRepositoryRule indicates an expected call of CreateGcRepositoryRule.

func (*MockDaemonServiceMockRecorder) CreateGcRepositoryRunner

func (mr *MockDaemonServiceMockRecorder) CreateGcRepositoryRunner(arg0, arg1 any) *gomock.Call

CreateGcRepositoryRunner indicates an expected call of CreateGcRepositoryRunner.

func (*MockDaemonServiceMockRecorder) CreateGcTagRecords

func (mr *MockDaemonServiceMockRecorder) CreateGcTagRecords(arg0, arg1 any) *gomock.Call

CreateGcTagRecords indicates an expected call of CreateGcTagRecords.

func (*MockDaemonServiceMockRecorder) CreateGcTagRule

func (mr *MockDaemonServiceMockRecorder) CreateGcTagRule(arg0, arg1 any) *gomock.Call

CreateGcTagRule indicates an expected call of CreateGcTagRule.

func (*MockDaemonServiceMockRecorder) CreateGcTagRunner

func (mr *MockDaemonServiceMockRecorder) CreateGcTagRunner(arg0, arg1 any) *gomock.Call

CreateGcTagRunner indicates an expected call of CreateGcTagRunner.

func (*MockDaemonServiceMockRecorder) GetGcArtifactLatestRunner

func (mr *MockDaemonServiceMockRecorder) GetGcArtifactLatestRunner(arg0, arg1 any) *gomock.Call

GetGcArtifactLatestRunner indicates an expected call of GetGcArtifactLatestRunner.

func (*MockDaemonServiceMockRecorder) GetGcArtifactRecord

func (mr *MockDaemonServiceMockRecorder) GetGcArtifactRecord(arg0, arg1 any) *gomock.Call

GetGcArtifactRecord indicates an expected call of GetGcArtifactRecord.

func (*MockDaemonServiceMockRecorder) GetGcArtifactRule

func (mr *MockDaemonServiceMockRecorder) GetGcArtifactRule(arg0, arg1 any) *gomock.Call

GetGcArtifactRule indicates an expected call of GetGcArtifactRule.

func (*MockDaemonServiceMockRecorder) GetGcArtifactRunner

func (mr *MockDaemonServiceMockRecorder) GetGcArtifactRunner(arg0, arg1 any) *gomock.Call

GetGcArtifactRunner indicates an expected call of GetGcArtifactRunner.

func (*MockDaemonServiceMockRecorder) GetGcBlobLatestRunner

func (mr *MockDaemonServiceMockRecorder) GetGcBlobLatestRunner(arg0, arg1 any) *gomock.Call

GetGcBlobLatestRunner indicates an expected call of GetGcBlobLatestRunner.

func (*MockDaemonServiceMockRecorder) GetGcBlobRecord

func (mr *MockDaemonServiceMockRecorder) GetGcBlobRecord(arg0, arg1 any) *gomock.Call

GetGcBlobRecord indicates an expected call of GetGcBlobRecord.

func (*MockDaemonServiceMockRecorder) GetGcBlobRule

func (mr *MockDaemonServiceMockRecorder) GetGcBlobRule(arg0 any) *gomock.Call

GetGcBlobRule indicates an expected call of GetGcBlobRule.

func (*MockDaemonServiceMockRecorder) GetGcBlobRunner

func (mr *MockDaemonServiceMockRecorder) GetGcBlobRunner(arg0, arg1 any) *gomock.Call

GetGcBlobRunner indicates an expected call of GetGcBlobRunner.

func (*MockDaemonServiceMockRecorder) GetGcRepositoryLatestRunner

func (mr *MockDaemonServiceMockRecorder) GetGcRepositoryLatestRunner(arg0, arg1 any) *gomock.Call

GetGcRepositoryLatestRunner indicates an expected call of GetGcRepositoryLatestRunner.

func (*MockDaemonServiceMockRecorder) GetGcRepositoryRecord

func (mr *MockDaemonServiceMockRecorder) GetGcRepositoryRecord(arg0, arg1 any) *gomock.Call

GetGcRepositoryRecord indicates an expected call of GetGcRepositoryRecord.

func (*MockDaemonServiceMockRecorder) GetGcRepositoryRule

func (mr *MockDaemonServiceMockRecorder) GetGcRepositoryRule(arg0, arg1 any) *gomock.Call

GetGcRepositoryRule indicates an expected call of GetGcRepositoryRule.

func (*MockDaemonServiceMockRecorder) GetGcRepositoryRunner

func (mr *MockDaemonServiceMockRecorder) GetGcRepositoryRunner(arg0, arg1 any) *gomock.Call

GetGcRepositoryRunner indicates an expected call of GetGcRepositoryRunner.

func (*MockDaemonServiceMockRecorder) GetGcTagLatestRunner

func (mr *MockDaemonServiceMockRecorder) GetGcTagLatestRunner(arg0, arg1 any) *gomock.Call

GetGcTagLatestRunner indicates an expected call of GetGcTagLatestRunner.

func (*MockDaemonServiceMockRecorder) GetGcTagRecord

func (mr *MockDaemonServiceMockRecorder) GetGcTagRecord(arg0, arg1 any) *gomock.Call

GetGcTagRecord indicates an expected call of GetGcTagRecord.

func (*MockDaemonServiceMockRecorder) GetGcTagRule

func (mr *MockDaemonServiceMockRecorder) GetGcTagRule(arg0, arg1 any) *gomock.Call

GetGcTagRule indicates an expected call of GetGcTagRule.

func (*MockDaemonServiceMockRecorder) GetGcTagRunner

func (mr *MockDaemonServiceMockRecorder) GetGcTagRunner(arg0, arg1 any) *gomock.Call

GetGcTagRunner indicates an expected call of GetGcTagRunner.

func (*MockDaemonServiceMockRecorder) ListGcArtifactRecords

func (mr *MockDaemonServiceMockRecorder) ListGcArtifactRecords(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcArtifactRecords indicates an expected call of ListGcArtifactRecords.

func (*MockDaemonServiceMockRecorder) ListGcArtifactRunners

func (mr *MockDaemonServiceMockRecorder) ListGcArtifactRunners(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcArtifactRunners indicates an expected call of ListGcArtifactRunners.

func (*MockDaemonServiceMockRecorder) ListGcBlobRecords

func (mr *MockDaemonServiceMockRecorder) ListGcBlobRecords(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcBlobRecords indicates an expected call of ListGcBlobRecords.

func (*MockDaemonServiceMockRecorder) ListGcBlobRunners

func (mr *MockDaemonServiceMockRecorder) ListGcBlobRunners(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcBlobRunners indicates an expected call of ListGcBlobRunners.

func (*MockDaemonServiceMockRecorder) ListGcRepositoryRecords

func (mr *MockDaemonServiceMockRecorder) ListGcRepositoryRecords(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcRepositoryRecords indicates an expected call of ListGcRepositoryRecords.

func (*MockDaemonServiceMockRecorder) ListGcRepositoryRunners

func (mr *MockDaemonServiceMockRecorder) ListGcRepositoryRunners(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcRepositoryRunners indicates an expected call of ListGcRepositoryRunners.

func (*MockDaemonServiceMockRecorder) ListGcTagRecords

func (mr *MockDaemonServiceMockRecorder) ListGcTagRecords(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcTagRecords indicates an expected call of ListGcTagRecords.

func (*MockDaemonServiceMockRecorder) ListGcTagRunners

func (mr *MockDaemonServiceMockRecorder) ListGcTagRunners(arg0, arg1, arg2, arg3 any) *gomock.Call

ListGcTagRunners indicates an expected call of ListGcTagRunners.

func (*MockDaemonServiceMockRecorder) UpdateGcArtifactRule

func (mr *MockDaemonServiceMockRecorder) UpdateGcArtifactRule(arg0, arg1, arg2 any) *gomock.Call

UpdateGcArtifactRule indicates an expected call of UpdateGcArtifactRule.

func (*MockDaemonServiceMockRecorder) UpdateGcArtifactRunner

func (mr *MockDaemonServiceMockRecorder) UpdateGcArtifactRunner(arg0, arg1, arg2 any) *gomock.Call

UpdateGcArtifactRunner indicates an expected call of UpdateGcArtifactRunner.

func (*MockDaemonServiceMockRecorder) UpdateGcBlobRule

func (mr *MockDaemonServiceMockRecorder) UpdateGcBlobRule(arg0, arg1, arg2 any) *gomock.Call

UpdateGcBlobRule indicates an expected call of UpdateGcBlobRule.

func (*MockDaemonServiceMockRecorder) UpdateGcBlobRunner

func (mr *MockDaemonServiceMockRecorder) UpdateGcBlobRunner(arg0, arg1, arg2 any) *gomock.Call

UpdateGcBlobRunner indicates an expected call of UpdateGcBlobRunner.

func (*MockDaemonServiceMockRecorder) UpdateGcRepositoryRule

func (mr *MockDaemonServiceMockRecorder) UpdateGcRepositoryRule(arg0, arg1, arg2 any) *gomock.Call

UpdateGcRepositoryRule indicates an expected call of UpdateGcRepositoryRule.

func (*MockDaemonServiceMockRecorder) UpdateGcRepositoryRunner

func (mr *MockDaemonServiceMockRecorder) UpdateGcRepositoryRunner(arg0, arg1, arg2 any) *gomock.Call

UpdateGcRepositoryRunner indicates an expected call of UpdateGcRepositoryRunner.

func (*MockDaemonServiceMockRecorder) UpdateGcTagRule

func (mr *MockDaemonServiceMockRecorder) UpdateGcTagRule(arg0, arg1, arg2 any) *gomock.Call

UpdateGcTagRule indicates an expected call of UpdateGcTagRule.

func (*MockDaemonServiceMockRecorder) UpdateGcTagRunner

func (mr *MockDaemonServiceMockRecorder) UpdateGcTagRunner(arg0, arg1, arg2 any) *gomock.Call

UpdateGcTagRunner indicates an expected call of UpdateGcTagRunner.

type MockLockerService

type MockLockerService struct {
	// contains filtered or unexported fields
}

MockLockerService is a mock of LockerService interface.

func NewMockLockerService

func NewMockLockerService(ctrl *gomock.Controller) *MockLockerService

NewMockLockerService creates a new mock instance.

func (*MockLockerService) Create

func (m *MockLockerService) Create(arg0 context.Context, arg1 string) error

Create mocks base method.

func (*MockLockerService) Delete

func (m *MockLockerService) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockLockerService) EXPECT

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

type MockLockerServiceFactory

type MockLockerServiceFactory struct {
	// contains filtered or unexported fields
}

MockLockerServiceFactory is a mock of LockerServiceFactory interface.

func NewMockLockerServiceFactory

func NewMockLockerServiceFactory(ctrl *gomock.Controller) *MockLockerServiceFactory

NewMockLockerServiceFactory creates a new mock instance.

func (*MockLockerServiceFactory) EXPECT

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

func (*MockLockerServiceFactory) New

New mocks base method.

type MockLockerServiceFactoryMockRecorder

type MockLockerServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockLockerServiceFactoryMockRecorder is the mock recorder for MockLockerServiceFactory.

func (*MockLockerServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockLockerServiceMockRecorder

type MockLockerServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockLockerServiceMockRecorder is the mock recorder for MockLockerService.

func (*MockLockerServiceMockRecorder) Create

func (mr *MockLockerServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockLockerServiceMockRecorder) Delete

func (mr *MockLockerServiceMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

type MockNamespaceMemberService

type MockNamespaceMemberService struct {
	// contains filtered or unexported fields
}

MockNamespaceMemberService is a mock of NamespaceMemberService interface.

func NewMockNamespaceMemberService

func NewMockNamespaceMemberService(ctrl *gomock.Controller) *MockNamespaceMemberService

NewMockNamespaceMemberService creates a new mock instance.

func (*MockNamespaceMemberService) AddNamespaceMember

AddNamespaceMember mocks base method.

func (*MockNamespaceMemberService) CountNamespaceMember

func (m *MockNamespaceMemberService) CountNamespaceMember(arg0 context.Context, arg1, arg2 int64) (int64, error)

CountNamespaceMember mocks base method.

func (*MockNamespaceMemberService) DeleteNamespaceMember

func (m *MockNamespaceMemberService) DeleteNamespaceMember(arg0 context.Context, arg1 int64, arg2 models.Namespace) error

DeleteNamespaceMember mocks base method.

func (*MockNamespaceMemberService) EXPECT

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

func (*MockNamespaceMemberService) GetNamespaceMember

func (m *MockNamespaceMemberService) GetNamespaceMember(arg0 context.Context, arg1, arg2 int64) (*models.NamespaceMember, error)

GetNamespaceMember mocks base method.

func (*MockNamespaceMemberService) GetNamespacesMember added in v1.2.0

func (m *MockNamespaceMemberService) GetNamespacesMember(arg0 context.Context, arg1 []int64, arg2 int64) ([]*models.NamespaceMember, error)

GetNamespacesMember mocks base method.

func (*MockNamespaceMemberService) ListNamespaceMembers

func (m *MockNamespaceMemberService) ListNamespaceMembers(arg0 context.Context, arg1 int64, arg2 *string, arg3 types.Pagination, arg4 types.Sortable) ([]*models.NamespaceMember, int64, error)

ListNamespaceMembers mocks base method.

func (*MockNamespaceMemberService) UpdateNamespaceMember

func (m *MockNamespaceMemberService) UpdateNamespaceMember(arg0 context.Context, arg1 int64, arg2 models.Namespace, arg3 enums.NamespaceRole) error

UpdateNamespaceMember mocks base method.

type MockNamespaceMemberServiceFactory

type MockNamespaceMemberServiceFactory struct {
	// contains filtered or unexported fields
}

MockNamespaceMemberServiceFactory is a mock of NamespaceMemberServiceFactory interface.

func NewMockNamespaceMemberServiceFactory

func NewMockNamespaceMemberServiceFactory(ctrl *gomock.Controller) *MockNamespaceMemberServiceFactory

NewMockNamespaceMemberServiceFactory creates a new mock instance.

func (*MockNamespaceMemberServiceFactory) EXPECT

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

func (*MockNamespaceMemberServiceFactory) New

New mocks base method.

type MockNamespaceMemberServiceFactoryMockRecorder

type MockNamespaceMemberServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceMemberServiceFactoryMockRecorder is the mock recorder for MockNamespaceMemberServiceFactory.

func (*MockNamespaceMemberServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockNamespaceMemberServiceMockRecorder

type MockNamespaceMemberServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceMemberServiceMockRecorder is the mock recorder for MockNamespaceMemberService.

func (*MockNamespaceMemberServiceMockRecorder) AddNamespaceMember

func (mr *MockNamespaceMemberServiceMockRecorder) AddNamespaceMember(arg0, arg1, arg2, arg3 any) *gomock.Call

AddNamespaceMember indicates an expected call of AddNamespaceMember.

func (*MockNamespaceMemberServiceMockRecorder) CountNamespaceMember

func (mr *MockNamespaceMemberServiceMockRecorder) CountNamespaceMember(arg0, arg1, arg2 any) *gomock.Call

CountNamespaceMember indicates an expected call of CountNamespaceMember.

func (*MockNamespaceMemberServiceMockRecorder) DeleteNamespaceMember

func (mr *MockNamespaceMemberServiceMockRecorder) DeleteNamespaceMember(arg0, arg1, arg2 any) *gomock.Call

DeleteNamespaceMember indicates an expected call of DeleteNamespaceMember.

func (*MockNamespaceMemberServiceMockRecorder) GetNamespaceMember

func (mr *MockNamespaceMemberServiceMockRecorder) GetNamespaceMember(arg0, arg1, arg2 any) *gomock.Call

GetNamespaceMember indicates an expected call of GetNamespaceMember.

func (*MockNamespaceMemberServiceMockRecorder) GetNamespacesMember added in v1.2.0

func (mr *MockNamespaceMemberServiceMockRecorder) GetNamespacesMember(arg0, arg1, arg2 any) *gomock.Call

GetNamespacesMember indicates an expected call of GetNamespacesMember.

func (*MockNamespaceMemberServiceMockRecorder) ListNamespaceMembers

func (mr *MockNamespaceMemberServiceMockRecorder) ListNamespaceMembers(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

ListNamespaceMembers indicates an expected call of ListNamespaceMembers.

func (*MockNamespaceMemberServiceMockRecorder) UpdateNamespaceMember

func (mr *MockNamespaceMemberServiceMockRecorder) UpdateNamespaceMember(arg0, arg1, arg2, arg3 any) *gomock.Call

UpdateNamespaceMember indicates an expected call of UpdateNamespaceMember.

type MockNamespaceService

type MockNamespaceService struct {
	// contains filtered or unexported fields
}

MockNamespaceService is a mock of NamespaceService interface.

func NewMockNamespaceService

func NewMockNamespaceService(ctrl *gomock.Controller) *MockNamespaceService

NewMockNamespaceService creates a new mock instance.

func (*MockNamespaceService) CountNamespace

func (m *MockNamespaceService) CountNamespace(arg0 context.Context, arg1 *string) (int64, error)

CountNamespace mocks base method.

func (*MockNamespaceService) Create

func (m *MockNamespaceService) Create(arg0 context.Context, arg1 *models.Namespace) error

Create mocks base method.

func (*MockNamespaceService) DeleteByID

func (m *MockNamespaceService) DeleteByID(arg0 context.Context, arg1 int64) error

DeleteByID mocks base method.

func (*MockNamespaceService) EXPECT

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

func (*MockNamespaceService) FindAll

func (m *MockNamespaceService) FindAll(arg0 context.Context) ([]*models.Namespace, error)

FindAll mocks base method.

func (*MockNamespaceService) FindWithCursor

func (m *MockNamespaceService) FindWithCursor(arg0 context.Context, arg1, arg2 int64) ([]*models.Namespace, error)

FindWithCursor mocks base method.

func (*MockNamespaceService) Get

Get mocks base method.

func (*MockNamespaceService) GetByName

func (m *MockNamespaceService) GetByName(arg0 context.Context, arg1 string) (*models.Namespace, error)

GetByName mocks base method.

func (*MockNamespaceService) ListNamespace

func (m *MockNamespaceService) ListNamespace(arg0 context.Context, arg1 *string, arg2 types.Pagination, arg3 types.Sortable) ([]*models.Namespace, int64, error)

ListNamespace mocks base method.

func (*MockNamespaceService) ListNamespaceWithAuth

func (m *MockNamespaceService) ListNamespaceWithAuth(arg0 context.Context, arg1 int64, arg2 *string, arg3 types.Pagination, arg4 types.Sortable) ([]*models.Namespace, int64, error)

ListNamespaceWithAuth mocks base method.

func (*MockNamespaceService) UpdateByID

func (m *MockNamespaceService) UpdateByID(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateByID mocks base method.

func (*MockNamespaceService) UpdateQuota

func (m *MockNamespaceService) UpdateQuota(arg0 context.Context, arg1, arg2 int64) error

UpdateQuota mocks base method.

type MockNamespaceServiceFactory

type MockNamespaceServiceFactory struct {
	// contains filtered or unexported fields
}

MockNamespaceServiceFactory is a mock of NamespaceServiceFactory interface.

func NewMockNamespaceServiceFactory

func NewMockNamespaceServiceFactory(ctrl *gomock.Controller) *MockNamespaceServiceFactory

NewMockNamespaceServiceFactory creates a new mock instance.

func (*MockNamespaceServiceFactory) EXPECT

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

func (*MockNamespaceServiceFactory) New

New mocks base method.

type MockNamespaceServiceFactoryMockRecorder

type MockNamespaceServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceServiceFactoryMockRecorder is the mock recorder for MockNamespaceServiceFactory.

func (*MockNamespaceServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockNamespaceServiceMockRecorder

type MockNamespaceServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceServiceMockRecorder is the mock recorder for MockNamespaceService.

func (*MockNamespaceServiceMockRecorder) CountNamespace

func (mr *MockNamespaceServiceMockRecorder) CountNamespace(arg0, arg1 any) *gomock.Call

CountNamespace indicates an expected call of CountNamespace.

func (*MockNamespaceServiceMockRecorder) Create

func (mr *MockNamespaceServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockNamespaceServiceMockRecorder) DeleteByID

func (mr *MockNamespaceServiceMockRecorder) DeleteByID(arg0, arg1 any) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockNamespaceServiceMockRecorder) FindAll

func (mr *MockNamespaceServiceMockRecorder) FindAll(arg0 any) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockNamespaceServiceMockRecorder) FindWithCursor

func (mr *MockNamespaceServiceMockRecorder) FindWithCursor(arg0, arg1, arg2 any) *gomock.Call

FindWithCursor indicates an expected call of FindWithCursor.

func (*MockNamespaceServiceMockRecorder) Get

func (mr *MockNamespaceServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockNamespaceServiceMockRecorder) GetByName

func (mr *MockNamespaceServiceMockRecorder) GetByName(arg0, arg1 any) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockNamespaceServiceMockRecorder) ListNamespace

func (mr *MockNamespaceServiceMockRecorder) ListNamespace(arg0, arg1, arg2, arg3 any) *gomock.Call

ListNamespace indicates an expected call of ListNamespace.

func (*MockNamespaceServiceMockRecorder) ListNamespaceWithAuth

func (mr *MockNamespaceServiceMockRecorder) ListNamespaceWithAuth(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

ListNamespaceWithAuth indicates an expected call of ListNamespaceWithAuth.

func (*MockNamespaceServiceMockRecorder) UpdateByID

func (mr *MockNamespaceServiceMockRecorder) UpdateByID(arg0, arg1, arg2 any) *gomock.Call

UpdateByID indicates an expected call of UpdateByID.

func (*MockNamespaceServiceMockRecorder) UpdateQuota

func (mr *MockNamespaceServiceMockRecorder) UpdateQuota(arg0, arg1, arg2 any) *gomock.Call

UpdateQuota indicates an expected call of UpdateQuota.

type MockRepositoryService

type MockRepositoryService struct {
	// contains filtered or unexported fields
}

MockRepositoryService is a mock of RepositoryService interface.

func NewMockRepositoryService

func NewMockRepositoryService(ctrl *gomock.Controller) *MockRepositoryService

NewMockRepositoryService creates a new mock instance.

func (*MockRepositoryService) CountByNamespace

func (m *MockRepositoryService) CountByNamespace(arg0 context.Context, arg1 []int64) (map[int64]int64, error)

CountByNamespace mocks base method.

func (*MockRepositoryService) CountRepository

func (m *MockRepositoryService) CountRepository(arg0 context.Context, arg1 int64, arg2 *string) (int64, error)

CountRepository mocks base method.

func (*MockRepositoryService) Create

Create mocks base method.

func (*MockRepositoryService) DeleteByID

func (m *MockRepositoryService) DeleteByID(arg0 context.Context, arg1 int64) error

DeleteByID mocks base method.

func (*MockRepositoryService) DeleteEmpty

func (m *MockRepositoryService) DeleteEmpty(arg0 context.Context, arg1 *int64) ([]string, error)

DeleteEmpty mocks base method.

func (*MockRepositoryService) EXPECT

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

func (*MockRepositoryService) FindAll

func (m *MockRepositoryService) FindAll(arg0 context.Context, arg1, arg2, arg3 int64) ([]*models.Repository, error)

FindAll mocks base method.

func (*MockRepositoryService) Get

Get mocks base method.

func (*MockRepositoryService) GetByName

func (m *MockRepositoryService) GetByName(arg0 context.Context, arg1 string) (*models.Repository, error)

GetByName mocks base method.

func (*MockRepositoryService) ListByDtPagination

func (m *MockRepositoryService) ListByDtPagination(arg0 context.Context, arg1 int, arg2 ...int64) ([]*models.Repository, error)

ListByDtPagination mocks base method.

func (*MockRepositoryService) ListRepository

func (m *MockRepositoryService) ListRepository(arg0 context.Context, arg1 int64, arg2 *string, arg3 types.Pagination, arg4 types.Sortable) ([]*models.Repository, int64, error)

ListRepository mocks base method.

func (*MockRepositoryService) ListRepositoryWithAuth

func (m *MockRepositoryService) ListRepositoryWithAuth(arg0 context.Context, arg1, arg2 int64, arg3 *string, arg4 types.Pagination, arg5 types.Sortable) ([]*models.Repository, int64, error)

ListRepositoryWithAuth mocks base method.

func (*MockRepositoryService) ListWithScrollable

func (m *MockRepositoryService) ListWithScrollable(arg0 context.Context, arg1, arg2 int64, arg3 *string, arg4 int, arg5 int64) ([]*models.Repository, error)

ListWithScrollable mocks base method.

func (*MockRepositoryService) UpdateRepository

func (m *MockRepositoryService) UpdateRepository(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateRepository mocks base method.

type MockRepositoryServiceFactory

type MockRepositoryServiceFactory struct {
	// contains filtered or unexported fields
}

MockRepositoryServiceFactory is a mock of RepositoryServiceFactory interface.

func NewMockRepositoryServiceFactory

func NewMockRepositoryServiceFactory(ctrl *gomock.Controller) *MockRepositoryServiceFactory

NewMockRepositoryServiceFactory creates a new mock instance.

func (*MockRepositoryServiceFactory) EXPECT

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

func (*MockRepositoryServiceFactory) New

New mocks base method.

type MockRepositoryServiceFactoryMockRecorder

type MockRepositoryServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryServiceFactoryMockRecorder is the mock recorder for MockRepositoryServiceFactory.

func (*MockRepositoryServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockRepositoryServiceMockRecorder

type MockRepositoryServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryServiceMockRecorder is the mock recorder for MockRepositoryService.

func (*MockRepositoryServiceMockRecorder) CountByNamespace

func (mr *MockRepositoryServiceMockRecorder) CountByNamespace(arg0, arg1 any) *gomock.Call

CountByNamespace indicates an expected call of CountByNamespace.

func (*MockRepositoryServiceMockRecorder) CountRepository

func (mr *MockRepositoryServiceMockRecorder) CountRepository(arg0, arg1, arg2 any) *gomock.Call

CountRepository indicates an expected call of CountRepository.

func (*MockRepositoryServiceMockRecorder) Create

func (mr *MockRepositoryServiceMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRepositoryServiceMockRecorder) DeleteByID

func (mr *MockRepositoryServiceMockRecorder) DeleteByID(arg0, arg1 any) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockRepositoryServiceMockRecorder) DeleteEmpty

func (mr *MockRepositoryServiceMockRecorder) DeleteEmpty(arg0, arg1 any) *gomock.Call

DeleteEmpty indicates an expected call of DeleteEmpty.

func (*MockRepositoryServiceMockRecorder) FindAll

func (mr *MockRepositoryServiceMockRecorder) FindAll(arg0, arg1, arg2, arg3 any) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockRepositoryServiceMockRecorder) Get

func (mr *MockRepositoryServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRepositoryServiceMockRecorder) GetByName

func (mr *MockRepositoryServiceMockRecorder) GetByName(arg0, arg1 any) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockRepositoryServiceMockRecorder) ListByDtPagination

func (mr *MockRepositoryServiceMockRecorder) ListByDtPagination(arg0, arg1 any, arg2 ...any) *gomock.Call

ListByDtPagination indicates an expected call of ListByDtPagination.

func (*MockRepositoryServiceMockRecorder) ListRepository

func (mr *MockRepositoryServiceMockRecorder) ListRepository(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

ListRepository indicates an expected call of ListRepository.

func (*MockRepositoryServiceMockRecorder) ListRepositoryWithAuth

func (mr *MockRepositoryServiceMockRecorder) ListRepositoryWithAuth(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

ListRepositoryWithAuth indicates an expected call of ListRepositoryWithAuth.

func (*MockRepositoryServiceMockRecorder) ListWithScrollable

func (mr *MockRepositoryServiceMockRecorder) ListWithScrollable(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

ListWithScrollable indicates an expected call of ListWithScrollable.

func (*MockRepositoryServiceMockRecorder) UpdateRepository

func (mr *MockRepositoryServiceMockRecorder) UpdateRepository(arg0, arg1, arg2 any) *gomock.Call

UpdateRepository indicates an expected call of UpdateRepository.

type MockSettingService

type MockSettingService struct {
	// contains filtered or unexported fields
}

MockSettingService is a mock of SettingService interface.

func NewMockSettingService

func NewMockSettingService(ctrl *gomock.Controller) *MockSettingService

NewMockSettingService creates a new mock instance.

func (*MockSettingService) Create added in v1.2.0

func (m *MockSettingService) Create(arg0 context.Context, arg1 string, arg2 []byte) error

Create mocks base method.

func (*MockSettingService) Delete

func (m *MockSettingService) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockSettingService) EXPECT

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

func (*MockSettingService) Get

func (m *MockSettingService) Get(arg0 context.Context, arg1 string) (*models.Setting, error)

Get mocks base method.

func (*MockSettingService) Update added in v1.2.0

func (m *MockSettingService) Update(arg0 context.Context, arg1 string, arg2 []byte) error

Update mocks base method.

type MockSettingServiceFactory

type MockSettingServiceFactory struct {
	// contains filtered or unexported fields
}

MockSettingServiceFactory is a mock of SettingServiceFactory interface.

func NewMockSettingServiceFactory

func NewMockSettingServiceFactory(ctrl *gomock.Controller) *MockSettingServiceFactory

NewMockSettingServiceFactory creates a new mock instance.

func (*MockSettingServiceFactory) EXPECT

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

func (*MockSettingServiceFactory) New

New mocks base method.

type MockSettingServiceFactoryMockRecorder

type MockSettingServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockSettingServiceFactoryMockRecorder is the mock recorder for MockSettingServiceFactory.

func (*MockSettingServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockSettingServiceMockRecorder

type MockSettingServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSettingServiceMockRecorder is the mock recorder for MockSettingService.

func (*MockSettingServiceMockRecorder) Create added in v1.2.0

func (mr *MockSettingServiceMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockSettingServiceMockRecorder) Delete

func (mr *MockSettingServiceMockRecorder) Delete(arg0, arg1 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSettingServiceMockRecorder) Get

func (mr *MockSettingServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockSettingServiceMockRecorder) Update added in v1.2.0

func (mr *MockSettingServiceMockRecorder) Update(arg0, arg1, arg2 any) *gomock.Call

Update indicates an expected call of Update.

type MockTagService

type MockTagService struct {
	// contains filtered or unexported fields
}

MockTagService is a mock of TagService interface.

func NewMockTagService

func NewMockTagService(ctrl *gomock.Controller) *MockTagService

NewMockTagService creates a new mock instance.

func (*MockTagService) CountByArtifact

func (m *MockTagService) CountByArtifact(arg0 context.Context, arg1 []int64) (map[int64]int64, error)

CountByArtifact mocks base method.

func (*MockTagService) CountByNamespace

func (m *MockTagService) CountByNamespace(arg0 context.Context, arg1 []int64) (map[int64]int64, error)

CountByNamespace mocks base method.

func (*MockTagService) CountByRepositories

func (m *MockTagService) CountByRepositories(arg0 context.Context, arg1 []int64) (map[int64]int64, error)

CountByRepositories mocks base method.

func (*MockTagService) CountByRepository

func (m *MockTagService) CountByRepository(arg0 context.Context, arg1 int64) (int64, error)

CountByRepository mocks base method.

func (*MockTagService) Create

func (m *MockTagService) Create(arg0 context.Context, arg1 *models.Tag, arg2 ...dao.Option) error

Create mocks base method.

func (*MockTagService) DeleteByArtifactID

func (m *MockTagService) DeleteByArtifactID(arg0 context.Context, arg1 int64) error

DeleteByArtifactID mocks base method.

func (*MockTagService) DeleteByID

func (m *MockTagService) DeleteByID(arg0 context.Context, arg1 int64) error

DeleteByID mocks base method.

func (*MockTagService) DeleteByName

func (m *MockTagService) DeleteByName(arg0 context.Context, arg1 int64, arg2 string) error

DeleteByName mocks base method.

func (*MockTagService) EXPECT

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

func (*MockTagService) FindWithDayCursor

func (m *MockTagService) FindWithDayCursor(arg0 context.Context, arg1 int64, arg2, arg3 int, arg4 int64) ([]*models.Tag, error)

FindWithDayCursor mocks base method.

func (*MockTagService) FindWithQuantityCursor

func (m *MockTagService) FindWithQuantityCursor(arg0 context.Context, arg1 int64, arg2, arg3 int, arg4 int64) ([]*models.Tag, error)

FindWithQuantityCursor mocks base method.

func (*MockTagService) GetByArtifactID

func (m *MockTagService) GetByArtifactID(arg0 context.Context, arg1, arg2 int64) (*models.Tag, error)

GetByArtifactID mocks base method.

func (*MockTagService) GetByID

func (m *MockTagService) GetByID(arg0 context.Context, arg1 int64) (*models.Tag, error)

GetByID mocks base method.

func (*MockTagService) GetByName

func (m *MockTagService) GetByName(arg0 context.Context, arg1 int64, arg2 string) (*models.Tag, error)

GetByName mocks base method.

func (*MockTagService) Incr

func (m *MockTagService) Incr(arg0 context.Context, arg1 int64) error

Incr mocks base method.

func (*MockTagService) ListByDtPagination

func (m *MockTagService) ListByDtPagination(arg0 context.Context, arg1 string, arg2 int, arg3 ...int64) ([]*models.Tag, error)

ListByDtPagination mocks base method.

func (*MockTagService) ListTag

func (m *MockTagService) ListTag(arg0 context.Context, arg1 int64, arg2 *string, arg3 []enums.ArtifactType, arg4 types.Pagination, arg5 types.Sortable) ([]*models.Tag, int64, error)

ListTag mocks base method.

type MockTagServiceFactory

type MockTagServiceFactory struct {
	// contains filtered or unexported fields
}

MockTagServiceFactory is a mock of TagServiceFactory interface.

func NewMockTagServiceFactory

func NewMockTagServiceFactory(ctrl *gomock.Controller) *MockTagServiceFactory

NewMockTagServiceFactory creates a new mock instance.

func (*MockTagServiceFactory) EXPECT

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

func (*MockTagServiceFactory) New

func (m *MockTagServiceFactory) New(arg0 ...*query.Query) dao.TagService

New mocks base method.

type MockTagServiceFactoryMockRecorder

type MockTagServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockTagServiceFactoryMockRecorder is the mock recorder for MockTagServiceFactory.

func (*MockTagServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockTagServiceMockRecorder

type MockTagServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTagServiceMockRecorder is the mock recorder for MockTagService.

func (*MockTagServiceMockRecorder) CountByArtifact

func (mr *MockTagServiceMockRecorder) CountByArtifact(arg0, arg1 any) *gomock.Call

CountByArtifact indicates an expected call of CountByArtifact.

func (*MockTagServiceMockRecorder) CountByNamespace

func (mr *MockTagServiceMockRecorder) CountByNamespace(arg0, arg1 any) *gomock.Call

CountByNamespace indicates an expected call of CountByNamespace.

func (*MockTagServiceMockRecorder) CountByRepositories

func (mr *MockTagServiceMockRecorder) CountByRepositories(arg0, arg1 any) *gomock.Call

CountByRepositories indicates an expected call of CountByRepositories.

func (*MockTagServiceMockRecorder) CountByRepository

func (mr *MockTagServiceMockRecorder) CountByRepository(arg0, arg1 any) *gomock.Call

CountByRepository indicates an expected call of CountByRepository.

func (*MockTagServiceMockRecorder) Create

func (mr *MockTagServiceMockRecorder) Create(arg0, arg1 any, arg2 ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockTagServiceMockRecorder) DeleteByArtifactID

func (mr *MockTagServiceMockRecorder) DeleteByArtifactID(arg0, arg1 any) *gomock.Call

DeleteByArtifactID indicates an expected call of DeleteByArtifactID.

func (*MockTagServiceMockRecorder) DeleteByID

func (mr *MockTagServiceMockRecorder) DeleteByID(arg0, arg1 any) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockTagServiceMockRecorder) DeleteByName

func (mr *MockTagServiceMockRecorder) DeleteByName(arg0, arg1, arg2 any) *gomock.Call

DeleteByName indicates an expected call of DeleteByName.

func (*MockTagServiceMockRecorder) FindWithDayCursor

func (mr *MockTagServiceMockRecorder) FindWithDayCursor(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

FindWithDayCursor indicates an expected call of FindWithDayCursor.

func (*MockTagServiceMockRecorder) FindWithQuantityCursor

func (mr *MockTagServiceMockRecorder) FindWithQuantityCursor(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

FindWithQuantityCursor indicates an expected call of FindWithQuantityCursor.

func (*MockTagServiceMockRecorder) GetByArtifactID

func (mr *MockTagServiceMockRecorder) GetByArtifactID(arg0, arg1, arg2 any) *gomock.Call

GetByArtifactID indicates an expected call of GetByArtifactID.

func (*MockTagServiceMockRecorder) GetByID

func (mr *MockTagServiceMockRecorder) GetByID(arg0, arg1 any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockTagServiceMockRecorder) GetByName

func (mr *MockTagServiceMockRecorder) GetByName(arg0, arg1, arg2 any) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockTagServiceMockRecorder) Incr

func (mr *MockTagServiceMockRecorder) Incr(arg0, arg1 any) *gomock.Call

Incr indicates an expected call of Incr.

func (*MockTagServiceMockRecorder) ListByDtPagination

func (mr *MockTagServiceMockRecorder) ListByDtPagination(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call

ListByDtPagination indicates an expected call of ListByDtPagination.

func (*MockTagServiceMockRecorder) ListTag

func (mr *MockTagServiceMockRecorder) ListTag(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

ListTag indicates an expected call of ListTag.

type MockUserService

type MockUserService struct {
	// contains filtered or unexported fields
}

MockUserService is a mock of UserService interface.

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance.

func (*MockUserService) AddPlatformMember added in v1.2.0

func (m *MockUserService) AddPlatformMember(arg0 context.Context, arg1 int64, arg2 enums.UserRole) error

AddPlatformMember mocks base method.

func (*MockUserService) Count

func (m *MockUserService) Count(arg0 context.Context) (int64, error)

Count mocks base method.

func (*MockUserService) Create

func (m *MockUserService) Create(arg0 context.Context, arg1 *models.User) error

Create mocks base method.

func (*MockUserService) CreateRecoverCode

func (m *MockUserService) CreateRecoverCode(arg0 context.Context, arg1 *models.UserRecoverCode) error

CreateRecoverCode mocks base method.

func (*MockUserService) CreateUser3rdParty

func (m *MockUserService) CreateUser3rdParty(arg0 context.Context, arg1 *models.User3rdParty) error

CreateUser3rdParty mocks base method.

func (*MockUserService) DeletePlatformMember added in v1.2.0

func (m *MockUserService) DeletePlatformMember(arg0 context.Context, arg1 int64, arg2 enums.UserRole) error

DeletePlatformMember mocks base method.

func (*MockUserService) DeleteRecoverCode

func (m *MockUserService) DeleteRecoverCode(arg0 context.Context, arg1 int64) error

DeleteRecoverCode mocks base method.

func (*MockUserService) EXPECT

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

func (*MockUserService) Get

func (m *MockUserService) Get(arg0 context.Context, arg1 int64) (*models.User, error)

Get mocks base method.

func (*MockUserService) GetByRecoverCode

func (m *MockUserService) GetByRecoverCode(arg0 context.Context, arg1 string) (*models.User, error)

GetByRecoverCode mocks base method.

func (*MockUserService) GetByUsername

func (m *MockUserService) GetByUsername(arg0 context.Context, arg1 string) (*models.User, error)

GetByUsername mocks base method.

func (*MockUserService) GetRecoverCodeByUserID

func (m *MockUserService) GetRecoverCodeByUserID(arg0 context.Context, arg1 int64) (*models.UserRecoverCode, error)

GetRecoverCodeByUserID mocks base method.

func (*MockUserService) GetUser3rdParty

func (m *MockUserService) GetUser3rdParty(arg0 context.Context, arg1 int64) (*models.User3rdParty, error)

GetUser3rdParty mocks base method.

func (*MockUserService) GetUser3rdPartyByAccountID

func (m *MockUserService) GetUser3rdPartyByAccountID(arg0 context.Context, arg1 enums.Provider, arg2 string) (*models.User3rdParty, error)

GetUser3rdPartyByAccountID mocks base method.

func (*MockUserService) GetUser3rdPartyByProvider

func (m *MockUserService) GetUser3rdPartyByProvider(arg0 context.Context, arg1 int64, arg2 enums.Provider) (*models.User3rdParty, error)

GetUser3rdPartyByProvider mocks base method.

func (*MockUserService) List

func (m *MockUserService) List(arg0 context.Context, arg1 *string, arg2 types.Pagination, arg3 types.Sortable) ([]*models.User, int64, error)

List mocks base method.

func (*MockUserService) ListUser3rdParty

func (m *MockUserService) ListUser3rdParty(arg0 context.Context, arg1 int64) ([]*models.User3rdParty, error)

ListUser3rdParty mocks base method.

func (*MockUserService) ListWithoutUsername

func (m *MockUserService) ListWithoutUsername(arg0 context.Context, arg1 []string, arg2 bool, arg3 *string, arg4 types.Pagination, arg5 types.Sortable) ([]*models.User, int64, error)

ListWithoutUsername mocks base method.

func (*MockUserService) UpdateByID

func (m *MockUserService) UpdateByID(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateByID mocks base method.

func (*MockUserService) UpdateUser3rdParty

func (m *MockUserService) UpdateUser3rdParty(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateUser3rdParty mocks base method.

type MockUserServiceFactory

type MockUserServiceFactory struct {
	// contains filtered or unexported fields
}

MockUserServiceFactory is a mock of UserServiceFactory interface.

func NewMockUserServiceFactory

func NewMockUserServiceFactory(ctrl *gomock.Controller) *MockUserServiceFactory

NewMockUserServiceFactory creates a new mock instance.

func (*MockUserServiceFactory) EXPECT

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

func (*MockUserServiceFactory) New

New mocks base method.

type MockUserServiceFactoryMockRecorder

type MockUserServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceFactoryMockRecorder is the mock recorder for MockUserServiceFactory.

func (*MockUserServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockUserServiceMockRecorder

type MockUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceMockRecorder is the mock recorder for MockUserService.

func (*MockUserServiceMockRecorder) AddPlatformMember added in v1.2.0

func (mr *MockUserServiceMockRecorder) AddPlatformMember(arg0, arg1, arg2 any) *gomock.Call

AddPlatformMember indicates an expected call of AddPlatformMember.

func (*MockUserServiceMockRecorder) Count

func (mr *MockUserServiceMockRecorder) Count(arg0 any) *gomock.Call

Count indicates an expected call of Count.

func (*MockUserServiceMockRecorder) Create

func (mr *MockUserServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockUserServiceMockRecorder) CreateRecoverCode

func (mr *MockUserServiceMockRecorder) CreateRecoverCode(arg0, arg1 any) *gomock.Call

CreateRecoverCode indicates an expected call of CreateRecoverCode.

func (*MockUserServiceMockRecorder) CreateUser3rdParty

func (mr *MockUserServiceMockRecorder) CreateUser3rdParty(arg0, arg1 any) *gomock.Call

CreateUser3rdParty indicates an expected call of CreateUser3rdParty.

func (*MockUserServiceMockRecorder) DeletePlatformMember added in v1.2.0

func (mr *MockUserServiceMockRecorder) DeletePlatformMember(arg0, arg1, arg2 any) *gomock.Call

DeletePlatformMember indicates an expected call of DeletePlatformMember.

func (*MockUserServiceMockRecorder) DeleteRecoverCode

func (mr *MockUserServiceMockRecorder) DeleteRecoverCode(arg0, arg1 any) *gomock.Call

DeleteRecoverCode indicates an expected call of DeleteRecoverCode.

func (*MockUserServiceMockRecorder) Get

func (mr *MockUserServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockUserServiceMockRecorder) GetByRecoverCode

func (mr *MockUserServiceMockRecorder) GetByRecoverCode(arg0, arg1 any) *gomock.Call

GetByRecoverCode indicates an expected call of GetByRecoverCode.

func (*MockUserServiceMockRecorder) GetByUsername

func (mr *MockUserServiceMockRecorder) GetByUsername(arg0, arg1 any) *gomock.Call

GetByUsername indicates an expected call of GetByUsername.

func (*MockUserServiceMockRecorder) GetRecoverCodeByUserID

func (mr *MockUserServiceMockRecorder) GetRecoverCodeByUserID(arg0, arg1 any) *gomock.Call

GetRecoverCodeByUserID indicates an expected call of GetRecoverCodeByUserID.

func (*MockUserServiceMockRecorder) GetUser3rdParty

func (mr *MockUserServiceMockRecorder) GetUser3rdParty(arg0, arg1 any) *gomock.Call

GetUser3rdParty indicates an expected call of GetUser3rdParty.

func (*MockUserServiceMockRecorder) GetUser3rdPartyByAccountID

func (mr *MockUserServiceMockRecorder) GetUser3rdPartyByAccountID(arg0, arg1, arg2 any) *gomock.Call

GetUser3rdPartyByAccountID indicates an expected call of GetUser3rdPartyByAccountID.

func (*MockUserServiceMockRecorder) GetUser3rdPartyByProvider

func (mr *MockUserServiceMockRecorder) GetUser3rdPartyByProvider(arg0, arg1, arg2 any) *gomock.Call

GetUser3rdPartyByProvider indicates an expected call of GetUser3rdPartyByProvider.

func (*MockUserServiceMockRecorder) List

func (mr *MockUserServiceMockRecorder) List(arg0, arg1, arg2, arg3 any) *gomock.Call

List indicates an expected call of List.

func (*MockUserServiceMockRecorder) ListUser3rdParty

func (mr *MockUserServiceMockRecorder) ListUser3rdParty(arg0, arg1 any) *gomock.Call

ListUser3rdParty indicates an expected call of ListUser3rdParty.

func (*MockUserServiceMockRecorder) ListWithoutUsername

func (mr *MockUserServiceMockRecorder) ListWithoutUsername(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

ListWithoutUsername indicates an expected call of ListWithoutUsername.

func (*MockUserServiceMockRecorder) UpdateByID

func (mr *MockUserServiceMockRecorder) UpdateByID(arg0, arg1, arg2 any) *gomock.Call

UpdateByID indicates an expected call of UpdateByID.

func (*MockUserServiceMockRecorder) UpdateUser3rdParty

func (mr *MockUserServiceMockRecorder) UpdateUser3rdParty(arg0, arg1, arg2 any) *gomock.Call

UpdateUser3rdParty indicates an expected call of UpdateUser3rdParty.

type MockWebhookService

type MockWebhookService struct {
	// contains filtered or unexported fields
}

MockWebhookService is a mock of WebhookService interface.

func NewMockWebhookService

func NewMockWebhookService(ctrl *gomock.Controller) *MockWebhookService

NewMockWebhookService creates a new mock instance.

func (*MockWebhookService) Create

func (m *MockWebhookService) Create(arg0 context.Context, arg1 *models.Webhook) error

Create mocks base method.

func (*MockWebhookService) CreateLog

func (m *MockWebhookService) CreateLog(arg0 context.Context, arg1 *models.WebhookLog) error

CreateLog mocks base method.

func (*MockWebhookService) DeleteByID

func (m *MockWebhookService) DeleteByID(arg0 context.Context, arg1 int64) error

DeleteByID mocks base method.

func (*MockWebhookService) DeleteLogByID added in v1.2.0

func (m *MockWebhookService) DeleteLogByID(arg0 context.Context, arg1 int64) error

DeleteLogByID mocks base method.

func (*MockWebhookService) EXPECT

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

func (*MockWebhookService) Get

func (m *MockWebhookService) Get(arg0 context.Context, arg1 int64) (*models.Webhook, error)

Get mocks base method.

func (*MockWebhookService) GetByFilter

func (m *MockWebhookService) GetByFilter(arg0 context.Context, arg1 map[string]any) ([]*models.Webhook, error)

GetByFilter mocks base method.

func (*MockWebhookService) GetLog

func (m *MockWebhookService) GetLog(arg0 context.Context, arg1 int64) (*models.WebhookLog, error)

GetLog mocks base method.

func (*MockWebhookService) List

func (m *MockWebhookService) List(arg0 context.Context, arg1 *int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.Webhook, int64, error)

List mocks base method.

func (*MockWebhookService) ListLogs

func (m *MockWebhookService) ListLogs(arg0 context.Context, arg1 int64, arg2 types.Pagination, arg3 types.Sortable) ([]*models.WebhookLog, int64, error)

ListLogs mocks base method.

func (*MockWebhookService) UpdateByID

func (m *MockWebhookService) UpdateByID(arg0 context.Context, arg1 int64, arg2 map[string]any) error

UpdateByID mocks base method.

type MockWebhookServiceFactory

type MockWebhookServiceFactory struct {
	// contains filtered or unexported fields
}

MockWebhookServiceFactory is a mock of WebhookServiceFactory interface.

func NewMockWebhookServiceFactory

func NewMockWebhookServiceFactory(ctrl *gomock.Controller) *MockWebhookServiceFactory

NewMockWebhookServiceFactory creates a new mock instance.

func (*MockWebhookServiceFactory) EXPECT

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

func (*MockWebhookServiceFactory) New

New mocks base method.

type MockWebhookServiceFactoryMockRecorder

type MockWebhookServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockWebhookServiceFactoryMockRecorder is the mock recorder for MockWebhookServiceFactory.

func (*MockWebhookServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockWebhookServiceMockRecorder

type MockWebhookServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockWebhookServiceMockRecorder is the mock recorder for MockWebhookService.

func (*MockWebhookServiceMockRecorder) Create

func (mr *MockWebhookServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockWebhookServiceMockRecorder) CreateLog

func (mr *MockWebhookServiceMockRecorder) CreateLog(arg0, arg1 any) *gomock.Call

CreateLog indicates an expected call of CreateLog.

func (*MockWebhookServiceMockRecorder) DeleteByID

func (mr *MockWebhookServiceMockRecorder) DeleteByID(arg0, arg1 any) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockWebhookServiceMockRecorder) DeleteLogByID added in v1.2.0

func (mr *MockWebhookServiceMockRecorder) DeleteLogByID(arg0, arg1 any) *gomock.Call

DeleteLogByID indicates an expected call of DeleteLogByID.

func (*MockWebhookServiceMockRecorder) Get

func (mr *MockWebhookServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockWebhookServiceMockRecorder) GetByFilter

func (mr *MockWebhookServiceMockRecorder) GetByFilter(arg0, arg1 any) *gomock.Call

GetByFilter indicates an expected call of GetByFilter.

func (*MockWebhookServiceMockRecorder) GetLog

func (mr *MockWebhookServiceMockRecorder) GetLog(arg0, arg1 any) *gomock.Call

GetLog indicates an expected call of GetLog.

func (*MockWebhookServiceMockRecorder) List

func (mr *MockWebhookServiceMockRecorder) List(arg0, arg1, arg2, arg3 any) *gomock.Call

List indicates an expected call of List.

func (*MockWebhookServiceMockRecorder) ListLogs

func (mr *MockWebhookServiceMockRecorder) ListLogs(arg0, arg1, arg2, arg3 any) *gomock.Call

ListLogs indicates an expected call of ListLogs.

func (*MockWebhookServiceMockRecorder) UpdateByID

func (mr *MockWebhookServiceMockRecorder) UpdateByID(arg0, arg1, arg2 any) *gomock.Call

UpdateByID indicates an expected call of UpdateByID.

type MockWorkQueueService

type MockWorkQueueService struct {
	// contains filtered or unexported fields
}

MockWorkQueueService is a mock of WorkQueueService interface.

func NewMockWorkQueueService

func NewMockWorkQueueService(ctrl *gomock.Controller) *MockWorkQueueService

NewMockWorkQueueService creates a new mock instance.

func (*MockWorkQueueService) Create

func (m *MockWorkQueueService) Create(arg0 context.Context, arg1 *models.WorkQueue) error

Create mocks base method.

func (*MockWorkQueueService) EXPECT

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

func (*MockWorkQueueService) Get

Get mocks base method.

func (*MockWorkQueueService) UpdateStatus

func (m *MockWorkQueueService) UpdateStatus(arg0 context.Context, arg1 int64, arg2, arg3 string, arg4 int, arg5 enums.TaskCommonStatus) error

UpdateStatus mocks base method.

type MockWorkQueueServiceFactory

type MockWorkQueueServiceFactory struct {
	// contains filtered or unexported fields
}

MockWorkQueueServiceFactory is a mock of WorkQueueServiceFactory interface.

func NewMockWorkQueueServiceFactory

func NewMockWorkQueueServiceFactory(ctrl *gomock.Controller) *MockWorkQueueServiceFactory

NewMockWorkQueueServiceFactory creates a new mock instance.

func (*MockWorkQueueServiceFactory) EXPECT

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

func (*MockWorkQueueServiceFactory) New

New mocks base method.

type MockWorkQueueServiceFactoryMockRecorder

type MockWorkQueueServiceFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkQueueServiceFactoryMockRecorder is the mock recorder for MockWorkQueueServiceFactory.

func (*MockWorkQueueServiceFactoryMockRecorder) New

New indicates an expected call of New.

type MockWorkQueueServiceMockRecorder

type MockWorkQueueServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockWorkQueueServiceMockRecorder is the mock recorder for MockWorkQueueService.

func (*MockWorkQueueServiceMockRecorder) Create

func (mr *MockWorkQueueServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockWorkQueueServiceMockRecorder) Get

func (mr *MockWorkQueueServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockWorkQueueServiceMockRecorder) UpdateStatus

func (mr *MockWorkQueueServiceMockRecorder) UpdateStatus(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

Jump to

Keyboard shortcuts

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