Documentation ¶
Index ¶
- type AWSRepoInterface
- func (_m *AWSRepoInterface) DeleteAWS(ctx context.Context, projectID uint32, awsID uint32) error
- func (_m *AWSRepoInterface) DeleteAWSRelDataSource(ctx context.Context, projectID uint32, awsID uint32, awsDataSourceID uint32) error
- func (_m *AWSRepoInterface) GetAWSByAccountID(ctx context.Context, projectID uint32, awsAccountID string) (*model.AWS, error)
- func (_m *AWSRepoInterface) GetAWSDataSourceForMessage(ctx context.Context, awsID uint32, awsDataSourceID uint32, projectID uint32) (*db.DataSource, error)
- func (_m *AWSRepoInterface) GetAWSRelDataSourceByAccountID(ctx context.Context, projectID uint32, awsAccountID string) (*model.AWSRelDataSource, error)
- func (_m *AWSRepoInterface) GetAWSRelDataSourceByID(ctx context.Context, awsID uint32, awsDataSourceID uint32, projectID uint32) (*model.AWSRelDataSource, error)
- func (_m *AWSRepoInterface) ListAWS(ctx context.Context, projectID uint32, awsID uint32, awsAccountID string) (*[]model.AWS, error)
- func (_m *AWSRepoInterface) ListAWSDataSource(ctx context.Context, projectID uint32, awsID uint32, ds string) (*[]db.DataSource, error)
- func (_m *AWSRepoInterface) ListAWSRelDataSource(ctx context.Context, projectID uint32, awsID uint32) (*[]model.AWSRelDataSource, error)
- func (_m *AWSRepoInterface) ListAWSScanErrorForNotify(ctx context.Context) ([]*db.AWSScanError, error)
- func (_m *AWSRepoInterface) ListDataSourceByAWSDataSourceID(ctx context.Context, awsDataSourceID uint32) (*[]db.DataSource, error)
- func (_m *AWSRepoInterface) UpdateAWSErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, awsID uint32, ...) error
- func (_m *AWSRepoInterface) UpsertAWS(ctx context.Context, data *model.AWS) (*model.AWS, error)
- func (_m *AWSRepoInterface) UpsertAWSRelDataSource(ctx context.Context, data *aws.DataSourceForAttach) (*model.AWSRelDataSource, error)
- type CodeRepoInterface
- func (_m *CodeRepoInterface) DeleteCodeScanSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
- func (_m *CodeRepoInterface) DeleteDependencySetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
- func (_m *CodeRepoInterface) DeleteGitHubSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
- func (_m *CodeRepoInterface) DeleteGitleaksCache(ctx context.Context, githubSettingID uint32) error
- func (_m *CodeRepoInterface) DeleteGitleaksSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
- func (_m *CodeRepoInterface) GetCodeScanSetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*model.CodeCodeScanSetting, error)
- func (_m *CodeRepoInterface) GetDependencySetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*model.CodeDependencySetting, error)
- func (_m *CodeRepoInterface) GetGitHubSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) (*model.CodeGitHubSetting, error)
- func (_m *CodeRepoInterface) GetGitleaksCache(ctx context.Context, projectID uint32, githubSettingID uint32, ...) (*model.CodeGitleaksCache, error)
- func (_m *CodeRepoInterface) GetGitleaksSetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*model.CodeGitleaksSetting, error)
- func (_m *CodeRepoInterface) ListCodeDataSource(ctx context.Context, codeDataSourceID uint32, name string) (*[]model.CodeDataSource, error)
- func (_m *CodeRepoInterface) ListCodeGitHubScanErrorForNotify(ctx context.Context) ([]*db.GitHubScanError, error)
- func (_m *CodeRepoInterface) ListCodeScanSetting(ctx context.Context, projectID uint32) (*[]model.CodeCodeScanSetting, error)
- func (_m *CodeRepoInterface) ListDependencySetting(ctx context.Context, projectID uint32) (*[]model.CodeDependencySetting, error)
- func (_m *CodeRepoInterface) ListGitHubSetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*[]model.CodeGitHubSetting, error)
- func (_m *CodeRepoInterface) ListGitleaksCache(ctx context.Context, projectID uint32, githubSettingID uint32) (*[]model.CodeGitleaksCache, error)
- func (_m *CodeRepoInterface) ListGitleaksSetting(ctx context.Context, projectID uint32) (*[]model.CodeGitleaksSetting, error)
- func (_m *CodeRepoInterface) UpdateCodeCodeScanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, codeGithubSettingID uint32, ...) error
- func (_m *CodeRepoInterface) UpdateCodeDependencyErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, codeGithubSettingID uint32, ...) error
- func (_m *CodeRepoInterface) UpdateCodeGitleaksErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, codeGithubSettingID uint32, ...) error
- func (_m *CodeRepoInterface) UpsertCodeScanSetting(ctx context.Context, data *code.CodeScanSettingForUpsert) (*model.CodeCodeScanSetting, error)
- func (_m *CodeRepoInterface) UpsertDependencySetting(ctx context.Context, data *code.DependencySettingForUpsert) (*model.CodeDependencySetting, error)
- func (_m *CodeRepoInterface) UpsertGitHubSetting(ctx context.Context, data *code.GitHubSettingForUpsert) (*model.CodeGitHubSetting, error)
- func (_m *CodeRepoInterface) UpsertGitleaksCache(ctx context.Context, projectID uint32, data *code.GitleaksCacheForUpsert) (*model.CodeGitleaksCache, error)
- func (_m *CodeRepoInterface) UpsertGitleaksSetting(ctx context.Context, data *code.GitleaksSettingForUpsert) (*model.CodeGitleaksSetting, error)
- type DataSourceRepoInterface
- type DiagnosisRepoInterface
- func (_m *DiagnosisRepoInterface) DeleteApplicationScan(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *DiagnosisRepoInterface) DeleteApplicationScanBasicSetting(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *DiagnosisRepoInterface) DeleteDiagnosisDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *DiagnosisRepoInterface) DeletePortscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *DiagnosisRepoInterface) DeletePortscanTarget(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *DiagnosisRepoInterface) DeletePortscanTargetByPortscanSettingID(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *DiagnosisRepoInterface) DeleteWpscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *DiagnosisRepoInterface) GetApplicationScan(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.ApplicationScan, error)
- func (_m *DiagnosisRepoInterface) GetApplicationScanBasicSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.ApplicationScanBasicSetting, error)
- func (_m *DiagnosisRepoInterface) GetDiagnosisDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.DiagnosisDataSource, error)
- func (_m *DiagnosisRepoInterface) GetPortscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.PortscanSetting, error)
- func (_m *DiagnosisRepoInterface) GetPortscanTarget(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.PortscanTarget, error)
- func (_m *DiagnosisRepoInterface) GetWpscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.WpscanSetting, error)
- func (_m *DiagnosisRepoInterface) ListAllWpscanSetting(_a0 context.Context) (*[]model.WpscanSetting, error)
- func (_m *DiagnosisRepoInterface) ListApplicationScan(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.ApplicationScan, error)
- func (_m *DiagnosisRepoInterface) ListApplicationScanBasicSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.ApplicationScanBasicSetting, error)
- func (_m *DiagnosisRepoInterface) ListDiagnosisDataSource(_a0 context.Context, _a1 uint32, _a2 string) (*[]model.DiagnosisDataSource, error)
- func (_m *DiagnosisRepoInterface) ListDiagnosisScanErrorForNotify(ctx context.Context) ([]*db.DiagnosisScanError, error)
- func (_m *DiagnosisRepoInterface) ListPortscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.PortscanSetting, error)
- func (_m *DiagnosisRepoInterface) ListPortscanTarget(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.PortscanTarget, error)
- func (_m *DiagnosisRepoInterface) ListWpscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.WpscanSetting, error)
- func (_m *DiagnosisRepoInterface) UpdateDiagnosisAppScanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, scanID uint32, ...) error
- func (_m *DiagnosisRepoInterface) UpdateDiagnosisPortscanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, scanID uint32, ...) error
- func (_m *DiagnosisRepoInterface) UpdateDiagnosisWpscanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, scanID uint32, ...) error
- func (_m *DiagnosisRepoInterface) UpsertApplicationScan(_a0 context.Context, _a1 *model.ApplicationScan) (*model.ApplicationScan, error)
- func (_m *DiagnosisRepoInterface) UpsertApplicationScanBasicSetting(_a0 context.Context, _a1 *model.ApplicationScanBasicSetting) (*model.ApplicationScanBasicSetting, error)
- func (_m *DiagnosisRepoInterface) UpsertDiagnosisDataSource(_a0 context.Context, _a1 *model.DiagnosisDataSource) (*model.DiagnosisDataSource, error)
- func (_m *DiagnosisRepoInterface) UpsertPortscanSetting(_a0 context.Context, _a1 *model.PortscanSetting) (*model.PortscanSetting, error)
- func (_m *DiagnosisRepoInterface) UpsertPortscanTarget(_a0 context.Context, _a1 *model.PortscanTarget) (*model.PortscanTarget, error)
- func (_m *DiagnosisRepoInterface) UpsertWpscanSetting(_a0 context.Context, _a1 *model.WpscanSetting) (*model.WpscanSetting, error)
- type GoogleRepoInterface
- func (_m *GoogleRepoInterface) DeleteGCP(ctx context.Context, projectID uint32, gcpID uint32) error
- func (_m *GoogleRepoInterface) DeleteGCPDataSource(ctx context.Context, projectID uint32, gcpID uint32, googleDataSourceID uint32) error
- func (_m *GoogleRepoInterface) GetGCP(ctx context.Context, projectID uint32, gcpID uint32) (*model.GCP, error)
- func (_m *GoogleRepoInterface) GetGCPDataSource(ctx context.Context, projectID uint32, gcpID uint32, googleDataSourceID uint32) (*db.GCPDataSource, error)
- func (_m *GoogleRepoInterface) ListGCP(ctx context.Context, projectID uint32, gcpID uint32, gcpProjectID string) (*[]model.GCP, error)
- func (_m *GoogleRepoInterface) ListGCPDataSource(ctx context.Context, projectID uint32, gcpID uint32) (*[]db.GCPDataSource, error)
- func (_m *GoogleRepoInterface) ListGCPDataSourceByDataSourceID(ctx context.Context, googleDataSourceID uint32) (*[]db.GCPDataSource, error)
- func (_m *GoogleRepoInterface) ListGCPScanErrorForNotify(ctx context.Context) ([]*db.GCPScanError, error)
- func (_m *GoogleRepoInterface) ListGoogleDataSource(ctx context.Context, googleDataSourceID uint32, name string) (*[]model.GoogleDataSource, error)
- func (_m *GoogleRepoInterface) UpdateGCPErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, gcpID uint32, ...) error
- func (_m *GoogleRepoInterface) UpsertGCP(ctx context.Context, gcp *google.GCPForUpsert) (*model.GCP, error)
- func (_m *GoogleRepoInterface) UpsertGCPDataSource(ctx context.Context, gcpDataSource *google.GCPDataSourceForUpsert) (*db.GCPDataSource, error)
- type OSINTRepoInterface
- func (_m *OSINTRepoInterface) DeleteOsint(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *OSINTRepoInterface) DeleteOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *OSINTRepoInterface) DeleteOsintDetectWord(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *OSINTRepoInterface) DeleteRelOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) error
- func (_m *OSINTRepoInterface) GetOsint(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.Osint, error)
- func (_m *OSINTRepoInterface) GetOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.OsintDataSource, error)
- func (_m *OSINTRepoInterface) GetOsintDetectWord(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.OsintDetectWord, error)
- func (_m *OSINTRepoInterface) GetRelOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.RelOsintDataSource, error)
- func (_m *OSINTRepoInterface) ListAllRelOsintDataSource(_a0 context.Context, _a1 uint32) (*[]model.RelOsintDataSource, error)
- func (_m *OSINTRepoInterface) ListOsint(_a0 context.Context, _a1 uint32) (*[]model.Osint, error)
- func (_m *OSINTRepoInterface) ListOsintDataSource(_a0 context.Context, _a1 uint32, _a2 string) (*[]model.OsintDataSource, error)
- func (_m *OSINTRepoInterface) ListOsintDetectWord(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.OsintDetectWord, error)
- func (_m *OSINTRepoInterface) ListOsintScanErrorForNotify(ctx context.Context) ([]*db.OsintScanError, error)
- func (_m *OSINTRepoInterface) ListRelOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32, _a3 uint32) (*[]model.RelOsintDataSource, error)
- func (_m *OSINTRepoInterface) UpdateOsintErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, relOsintDataSourceID uint32, ...) error
- func (_m *OSINTRepoInterface) UpsertOsint(_a0 context.Context, _a1 *model.Osint) (*model.Osint, error)
- func (_m *OSINTRepoInterface) UpsertOsintDataSource(_a0 context.Context, _a1 *model.OsintDataSource) (*model.OsintDataSource, error)
- func (_m *OSINTRepoInterface) UpsertOsintDetectWord(_a0 context.Context, _a1 *model.OsintDetectWord) (*model.OsintDetectWord, error)
- func (_m *OSINTRepoInterface) UpsertRelOsintDataSource(_a0 context.Context, _a1 *model.RelOsintDataSource) (*model.RelOsintDataSource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSRepoInterface ¶
AWSRepoInterface is an autogenerated mock type for the AWSRepoInterface type
func NewAWSRepoInterface ¶
func NewAWSRepoInterface(t interface { mock.TestingT Cleanup(func()) }) *AWSRepoInterface
NewAWSRepoInterface creates a new instance of AWSRepoInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AWSRepoInterface) DeleteAWS ¶
DeleteAWS provides a mock function with given fields: ctx, projectID, awsID
func (*AWSRepoInterface) DeleteAWSRelDataSource ¶
func (_m *AWSRepoInterface) DeleteAWSRelDataSource(ctx context.Context, projectID uint32, awsID uint32, awsDataSourceID uint32) error
DeleteAWSRelDataSource provides a mock function with given fields: ctx, projectID, awsID, awsDataSourceID
func (*AWSRepoInterface) GetAWSByAccountID ¶
func (_m *AWSRepoInterface) GetAWSByAccountID(ctx context.Context, projectID uint32, awsAccountID string) (*model.AWS, error)
GetAWSByAccountID provides a mock function with given fields: ctx, projectID, awsAccountID
func (*AWSRepoInterface) GetAWSDataSourceForMessage ¶
func (_m *AWSRepoInterface) GetAWSDataSourceForMessage(ctx context.Context, awsID uint32, awsDataSourceID uint32, projectID uint32) (*db.DataSource, error)
GetAWSDataSourceForMessage provides a mock function with given fields: ctx, awsID, awsDataSourceID, projectID
func (*AWSRepoInterface) GetAWSRelDataSourceByAccountID ¶ added in v0.9.0
func (_m *AWSRepoInterface) GetAWSRelDataSourceByAccountID(ctx context.Context, projectID uint32, awsAccountID string) (*model.AWSRelDataSource, error)
GetAWSRelDataSourceByAccountID provides a mock function with given fields: ctx, projectID, awsAccountID
func (*AWSRepoInterface) GetAWSRelDataSourceByID ¶
func (_m *AWSRepoInterface) GetAWSRelDataSourceByID(ctx context.Context, awsID uint32, awsDataSourceID uint32, projectID uint32) (*model.AWSRelDataSource, error)
GetAWSRelDataSourceByID provides a mock function with given fields: ctx, awsID, awsDataSourceID, projectID
func (*AWSRepoInterface) ListAWS ¶
func (_m *AWSRepoInterface) ListAWS(ctx context.Context, projectID uint32, awsID uint32, awsAccountID string) (*[]model.AWS, error)
ListAWS provides a mock function with given fields: ctx, projectID, awsID, awsAccountID
func (*AWSRepoInterface) ListAWSDataSource ¶
func (_m *AWSRepoInterface) ListAWSDataSource(ctx context.Context, projectID uint32, awsID uint32, ds string) (*[]db.DataSource, error)
ListAWSDataSource provides a mock function with given fields: ctx, projectID, awsID, ds
func (*AWSRepoInterface) ListAWSRelDataSource ¶
func (_m *AWSRepoInterface) ListAWSRelDataSource(ctx context.Context, projectID uint32, awsID uint32) (*[]model.AWSRelDataSource, error)
ListAWSRelDataSource provides a mock function with given fields: ctx, projectID, awsID
func (*AWSRepoInterface) ListAWSScanErrorForNotify ¶ added in v0.9.0
func (_m *AWSRepoInterface) ListAWSScanErrorForNotify(ctx context.Context) ([]*db.AWSScanError, error)
ListAWSScanErrorForNotify provides a mock function with given fields: ctx
func (*AWSRepoInterface) ListDataSourceByAWSDataSourceID ¶
func (_m *AWSRepoInterface) ListDataSourceByAWSDataSourceID(ctx context.Context, awsDataSourceID uint32) (*[]db.DataSource, error)
ListDataSourceByAWSDataSourceID provides a mock function with given fields: ctx, awsDataSourceID
func (*AWSRepoInterface) UpdateAWSErrorNotifiedAt ¶ added in v0.9.0
func (_m *AWSRepoInterface) UpdateAWSErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, awsID uint32, awsDataSourceID uint32, projectID uint32) error
UpdateAWSErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, awsID, awsDataSourceID, projectID
func (*AWSRepoInterface) UpsertAWS ¶
UpsertAWS provides a mock function with given fields: ctx, data
func (*AWSRepoInterface) UpsertAWSRelDataSource ¶
func (_m *AWSRepoInterface) UpsertAWSRelDataSource(ctx context.Context, data *aws.DataSourceForAttach) (*model.AWSRelDataSource, error)
UpsertAWSRelDataSource provides a mock function with given fields: ctx, data
type CodeRepoInterface ¶
CodeRepoInterface is an autogenerated mock type for the CodeRepoInterface type
func NewCodeRepoInterface ¶
func NewCodeRepoInterface(t interface { mock.TestingT Cleanup(func()) }) *CodeRepoInterface
NewCodeRepoInterface creates a new instance of CodeRepoInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CodeRepoInterface) DeleteCodeScanSetting ¶ added in v0.10.0
func (_m *CodeRepoInterface) DeleteCodeScanSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
DeleteCodeScanSetting provides a mock function with given fields: ctx, projectID, GitHubSettingID
func (*CodeRepoInterface) DeleteDependencySetting ¶
func (_m *CodeRepoInterface) DeleteDependencySetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
DeleteDependencySetting provides a mock function with given fields: ctx, projectID, GitHubSettingID
func (*CodeRepoInterface) DeleteGitHubSetting ¶
func (_m *CodeRepoInterface) DeleteGitHubSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
DeleteGitHubSetting provides a mock function with given fields: ctx, projectID, GitHubSettingID
func (*CodeRepoInterface) DeleteGitleaksCache ¶
func (_m *CodeRepoInterface) DeleteGitleaksCache(ctx context.Context, githubSettingID uint32) error
DeleteGitleaksCache provides a mock function with given fields: ctx, githubSettingID
func (*CodeRepoInterface) DeleteGitleaksSetting ¶
func (_m *CodeRepoInterface) DeleteGitleaksSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) error
DeleteGitleaksSetting provides a mock function with given fields: ctx, projectID, GitHubSettingID
func (*CodeRepoInterface) GetCodeScanSetting ¶ added in v0.10.0
func (_m *CodeRepoInterface) GetCodeScanSetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*model.CodeCodeScanSetting, error)
GetCodeScanSetting provides a mock function with given fields: ctx, projectID, githubSettingID
func (*CodeRepoInterface) GetDependencySetting ¶
func (_m *CodeRepoInterface) GetDependencySetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*model.CodeDependencySetting, error)
GetDependencySetting provides a mock function with given fields: ctx, projectID, githubSettingID
func (*CodeRepoInterface) GetGitHubSetting ¶
func (_m *CodeRepoInterface) GetGitHubSetting(ctx context.Context, projectID uint32, GitHubSettingID uint32) (*model.CodeGitHubSetting, error)
GetGitHubSetting provides a mock function with given fields: ctx, projectID, GitHubSettingID
func (*CodeRepoInterface) GetGitleaksCache ¶
func (_m *CodeRepoInterface) GetGitleaksCache(ctx context.Context, projectID uint32, githubSettingID uint32, repositoryFullName string, immediately bool) (*model.CodeGitleaksCache, error)
GetGitleaksCache provides a mock function with given fields: ctx, projectID, githubSettingID, repositoryFullName, immediately
func (*CodeRepoInterface) GetGitleaksSetting ¶
func (_m *CodeRepoInterface) GetGitleaksSetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*model.CodeGitleaksSetting, error)
GetGitleaksSetting provides a mock function with given fields: ctx, projectID, githubSettingID
func (*CodeRepoInterface) ListCodeDataSource ¶
func (_m *CodeRepoInterface) ListCodeDataSource(ctx context.Context, codeDataSourceID uint32, name string) (*[]model.CodeDataSource, error)
ListCodeDataSource provides a mock function with given fields: ctx, codeDataSourceID, name
func (*CodeRepoInterface) ListCodeGitHubScanErrorForNotify ¶ added in v0.9.0
func (_m *CodeRepoInterface) ListCodeGitHubScanErrorForNotify(ctx context.Context) ([]*db.GitHubScanError, error)
ListCodeGitHubScanErrorForNotify provides a mock function with given fields: ctx
func (*CodeRepoInterface) ListCodeScanSetting ¶ added in v0.10.0
func (_m *CodeRepoInterface) ListCodeScanSetting(ctx context.Context, projectID uint32) (*[]model.CodeCodeScanSetting, error)
ListCodeScanSetting provides a mock function with given fields: ctx, projectID
func (*CodeRepoInterface) ListDependencySetting ¶
func (_m *CodeRepoInterface) ListDependencySetting(ctx context.Context, projectID uint32) (*[]model.CodeDependencySetting, error)
ListDependencySetting provides a mock function with given fields: ctx, projectID
func (*CodeRepoInterface) ListGitHubSetting ¶
func (_m *CodeRepoInterface) ListGitHubSetting(ctx context.Context, projectID uint32, githubSettingID uint32) (*[]model.CodeGitHubSetting, error)
ListGitHubSetting provides a mock function with given fields: ctx, projectID, githubSettingID
func (*CodeRepoInterface) ListGitleaksCache ¶ added in v0.9.0
func (_m *CodeRepoInterface) ListGitleaksCache(ctx context.Context, projectID uint32, githubSettingID uint32) (*[]model.CodeGitleaksCache, error)
ListGitleaksCache provides a mock function with given fields: ctx, projectID, githubSettingID
func (*CodeRepoInterface) ListGitleaksSetting ¶
func (_m *CodeRepoInterface) ListGitleaksSetting(ctx context.Context, projectID uint32) (*[]model.CodeGitleaksSetting, error)
ListGitleaksSetting provides a mock function with given fields: ctx, projectID
func (*CodeRepoInterface) UpdateCodeCodeScanErrorNotifiedAt ¶ added in v0.10.0
func (_m *CodeRepoInterface) UpdateCodeCodeScanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, codeGithubSettingID uint32, projectID uint32) error
UpdateCodeCodeScanErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, codeGithubSettingID, projectID
func (*CodeRepoInterface) UpdateCodeDependencyErrorNotifiedAt ¶ added in v0.9.0
func (_m *CodeRepoInterface) UpdateCodeDependencyErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, codeGithubSettingID uint32, projectID uint32) error
UpdateCodeDependencyErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, codeGithubSettingID, projectID
func (*CodeRepoInterface) UpdateCodeGitleaksErrorNotifiedAt ¶ added in v0.9.0
func (_m *CodeRepoInterface) UpdateCodeGitleaksErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, codeGithubSettingID uint32, projectID uint32) error
UpdateCodeGitleaksErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, codeGithubSettingID, projectID
func (*CodeRepoInterface) UpsertCodeScanSetting ¶ added in v0.10.0
func (_m *CodeRepoInterface) UpsertCodeScanSetting(ctx context.Context, data *code.CodeScanSettingForUpsert) (*model.CodeCodeScanSetting, error)
UpsertCodeScanSetting provides a mock function with given fields: ctx, data
func (*CodeRepoInterface) UpsertDependencySetting ¶
func (_m *CodeRepoInterface) UpsertDependencySetting(ctx context.Context, data *code.DependencySettingForUpsert) (*model.CodeDependencySetting, error)
UpsertDependencySetting provides a mock function with given fields: ctx, data
func (*CodeRepoInterface) UpsertGitHubSetting ¶
func (_m *CodeRepoInterface) UpsertGitHubSetting(ctx context.Context, data *code.GitHubSettingForUpsert) (*model.CodeGitHubSetting, error)
UpsertGitHubSetting provides a mock function with given fields: ctx, data
func (*CodeRepoInterface) UpsertGitleaksCache ¶
func (_m *CodeRepoInterface) UpsertGitleaksCache(ctx context.Context, projectID uint32, data *code.GitleaksCacheForUpsert) (*model.CodeGitleaksCache, error)
UpsertGitleaksCache provides a mock function with given fields: ctx, projectID, data
func (*CodeRepoInterface) UpsertGitleaksSetting ¶
func (_m *CodeRepoInterface) UpsertGitleaksSetting(ctx context.Context, data *code.GitleaksSettingForUpsert) (*model.CodeGitleaksSetting, error)
UpsertGitleaksSetting provides a mock function with given fields: ctx, data
type DataSourceRepoInterface ¶
DataSourceRepoInterface is an autogenerated mock type for the DataSourceRepoInterface type
func NewDataSourceRepoInterface ¶
func NewDataSourceRepoInterface(t interface { mock.TestingT Cleanup(func()) }) *DataSourceRepoInterface
NewDataSourceRepoInterface creates a new instance of DataSourceRepoInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DataSourceRepoInterface) CleanWithNoProject ¶
func (_m *DataSourceRepoInterface) CleanWithNoProject(ctx context.Context) error
CleanWithNoProject provides a mock function with given fields: ctx
type DiagnosisRepoInterface ¶
DiagnosisRepoInterface is an autogenerated mock type for the DiagnosisRepoInterface type
func NewDiagnosisRepoInterface ¶
func NewDiagnosisRepoInterface(t interface { mock.TestingT Cleanup(func()) }) *DiagnosisRepoInterface
NewDiagnosisRepoInterface creates a new instance of DiagnosisRepoInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DiagnosisRepoInterface) DeleteApplicationScan ¶
func (_m *DiagnosisRepoInterface) DeleteApplicationScan(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeleteApplicationScan provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) DeleteApplicationScanBasicSetting ¶
func (_m *DiagnosisRepoInterface) DeleteApplicationScanBasicSetting(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeleteApplicationScanBasicSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) DeleteDiagnosisDataSource ¶
func (_m *DiagnosisRepoInterface) DeleteDiagnosisDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeleteDiagnosisDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) DeletePortscanSetting ¶
func (_m *DiagnosisRepoInterface) DeletePortscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeletePortscanSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) DeletePortscanTarget ¶
func (_m *DiagnosisRepoInterface) DeletePortscanTarget(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeletePortscanTarget provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) DeletePortscanTargetByPortscanSettingID ¶
func (_m *DiagnosisRepoInterface) DeletePortscanTargetByPortscanSettingID(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeletePortscanTargetByPortscanSettingID provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) DeleteWpscanSetting ¶
func (_m *DiagnosisRepoInterface) DeleteWpscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeleteWpscanSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) GetApplicationScan ¶
func (_m *DiagnosisRepoInterface) GetApplicationScan(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.ApplicationScan, error)
GetApplicationScan provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) GetApplicationScanBasicSetting ¶
func (_m *DiagnosisRepoInterface) GetApplicationScanBasicSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.ApplicationScanBasicSetting, error)
GetApplicationScanBasicSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) GetDiagnosisDataSource ¶
func (_m *DiagnosisRepoInterface) GetDiagnosisDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.DiagnosisDataSource, error)
GetDiagnosisDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) GetPortscanSetting ¶
func (_m *DiagnosisRepoInterface) GetPortscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.PortscanSetting, error)
GetPortscanSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) GetPortscanTarget ¶
func (_m *DiagnosisRepoInterface) GetPortscanTarget(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.PortscanTarget, error)
GetPortscanTarget provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) GetWpscanSetting ¶
func (_m *DiagnosisRepoInterface) GetWpscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.WpscanSetting, error)
GetWpscanSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) ListAllWpscanSetting ¶
func (_m *DiagnosisRepoInterface) ListAllWpscanSetting(_a0 context.Context) (*[]model.WpscanSetting, error)
ListAllWpscanSetting provides a mock function with given fields: _a0
func (*DiagnosisRepoInterface) ListApplicationScan ¶
func (_m *DiagnosisRepoInterface) ListApplicationScan(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.ApplicationScan, error)
ListApplicationScan provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) ListApplicationScanBasicSetting ¶
func (_m *DiagnosisRepoInterface) ListApplicationScanBasicSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.ApplicationScanBasicSetting, error)
ListApplicationScanBasicSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) ListDiagnosisDataSource ¶
func (_m *DiagnosisRepoInterface) ListDiagnosisDataSource(_a0 context.Context, _a1 uint32, _a2 string) (*[]model.DiagnosisDataSource, error)
ListDiagnosisDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) ListDiagnosisScanErrorForNotify ¶ added in v0.9.0
func (_m *DiagnosisRepoInterface) ListDiagnosisScanErrorForNotify(ctx context.Context) ([]*db.DiagnosisScanError, error)
ListDiagnosisScanErrorForNotify provides a mock function with given fields: ctx
func (*DiagnosisRepoInterface) ListPortscanSetting ¶
func (_m *DiagnosisRepoInterface) ListPortscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.PortscanSetting, error)
ListPortscanSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) ListPortscanTarget ¶
func (_m *DiagnosisRepoInterface) ListPortscanTarget(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.PortscanTarget, error)
ListPortscanTarget provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) ListWpscanSetting ¶
func (_m *DiagnosisRepoInterface) ListWpscanSetting(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.WpscanSetting, error)
ListWpscanSetting provides a mock function with given fields: _a0, _a1, _a2
func (*DiagnosisRepoInterface) UpdateDiagnosisAppScanErrorNotifiedAt ¶ added in v0.9.0
func (_m *DiagnosisRepoInterface) UpdateDiagnosisAppScanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, scanID uint32, projectID uint32) error
UpdateDiagnosisAppScanErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, scanID, projectID
func (*DiagnosisRepoInterface) UpdateDiagnosisPortscanErrorNotifiedAt ¶ added in v0.9.0
func (_m *DiagnosisRepoInterface) UpdateDiagnosisPortscanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, scanID uint32, projectID uint32) error
UpdateDiagnosisPortscanErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, scanID, projectID
func (*DiagnosisRepoInterface) UpdateDiagnosisWpscanErrorNotifiedAt ¶ added in v0.9.0
func (_m *DiagnosisRepoInterface) UpdateDiagnosisWpscanErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, scanID uint32, projectID uint32) error
UpdateDiagnosisWpscanErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, scanID, projectID
func (*DiagnosisRepoInterface) UpsertApplicationScan ¶
func (_m *DiagnosisRepoInterface) UpsertApplicationScan(_a0 context.Context, _a1 *model.ApplicationScan) (*model.ApplicationScan, error)
UpsertApplicationScan provides a mock function with given fields: _a0, _a1
func (*DiagnosisRepoInterface) UpsertApplicationScanBasicSetting ¶
func (_m *DiagnosisRepoInterface) UpsertApplicationScanBasicSetting(_a0 context.Context, _a1 *model.ApplicationScanBasicSetting) (*model.ApplicationScanBasicSetting, error)
UpsertApplicationScanBasicSetting provides a mock function with given fields: _a0, _a1
func (*DiagnosisRepoInterface) UpsertDiagnosisDataSource ¶
func (_m *DiagnosisRepoInterface) UpsertDiagnosisDataSource(_a0 context.Context, _a1 *model.DiagnosisDataSource) (*model.DiagnosisDataSource, error)
UpsertDiagnosisDataSource provides a mock function with given fields: _a0, _a1
func (*DiagnosisRepoInterface) UpsertPortscanSetting ¶
func (_m *DiagnosisRepoInterface) UpsertPortscanSetting(_a0 context.Context, _a1 *model.PortscanSetting) (*model.PortscanSetting, error)
UpsertPortscanSetting provides a mock function with given fields: _a0, _a1
func (*DiagnosisRepoInterface) UpsertPortscanTarget ¶
func (_m *DiagnosisRepoInterface) UpsertPortscanTarget(_a0 context.Context, _a1 *model.PortscanTarget) (*model.PortscanTarget, error)
UpsertPortscanTarget provides a mock function with given fields: _a0, _a1
func (*DiagnosisRepoInterface) UpsertWpscanSetting ¶
func (_m *DiagnosisRepoInterface) UpsertWpscanSetting(_a0 context.Context, _a1 *model.WpscanSetting) (*model.WpscanSetting, error)
UpsertWpscanSetting provides a mock function with given fields: _a0, _a1
type GoogleRepoInterface ¶
GoogleRepoInterface is an autogenerated mock type for the GoogleRepoInterface type
func NewGoogleRepoInterface ¶
func NewGoogleRepoInterface(t interface { mock.TestingT Cleanup(func()) }) *GoogleRepoInterface
NewGoogleRepoInterface creates a new instance of GoogleRepoInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GoogleRepoInterface) DeleteGCP ¶
DeleteGCP provides a mock function with given fields: ctx, projectID, gcpID
func (*GoogleRepoInterface) DeleteGCPDataSource ¶
func (_m *GoogleRepoInterface) DeleteGCPDataSource(ctx context.Context, projectID uint32, gcpID uint32, googleDataSourceID uint32) error
DeleteGCPDataSource provides a mock function with given fields: ctx, projectID, gcpID, googleDataSourceID
func (*GoogleRepoInterface) GetGCP ¶
func (_m *GoogleRepoInterface) GetGCP(ctx context.Context, projectID uint32, gcpID uint32) (*model.GCP, error)
GetGCP provides a mock function with given fields: ctx, projectID, gcpID
func (*GoogleRepoInterface) GetGCPDataSource ¶
func (_m *GoogleRepoInterface) GetGCPDataSource(ctx context.Context, projectID uint32, gcpID uint32, googleDataSourceID uint32) (*db.GCPDataSource, error)
GetGCPDataSource provides a mock function with given fields: ctx, projectID, gcpID, googleDataSourceID
func (*GoogleRepoInterface) ListGCP ¶
func (_m *GoogleRepoInterface) ListGCP(ctx context.Context, projectID uint32, gcpID uint32, gcpProjectID string) (*[]model.GCP, error)
ListGCP provides a mock function with given fields: ctx, projectID, gcpID, gcpProjectID
func (*GoogleRepoInterface) ListGCPDataSource ¶
func (_m *GoogleRepoInterface) ListGCPDataSource(ctx context.Context, projectID uint32, gcpID uint32) (*[]db.GCPDataSource, error)
ListGCPDataSource provides a mock function with given fields: ctx, projectID, gcpID
func (*GoogleRepoInterface) ListGCPDataSourceByDataSourceID ¶
func (_m *GoogleRepoInterface) ListGCPDataSourceByDataSourceID(ctx context.Context, googleDataSourceID uint32) (*[]db.GCPDataSource, error)
ListGCPDataSourceByDataSourceID provides a mock function with given fields: ctx, googleDataSourceID
func (*GoogleRepoInterface) ListGCPScanErrorForNotify ¶ added in v0.9.0
func (_m *GoogleRepoInterface) ListGCPScanErrorForNotify(ctx context.Context) ([]*db.GCPScanError, error)
ListGCPScanErrorForNotify provides a mock function with given fields: ctx
func (*GoogleRepoInterface) ListGoogleDataSource ¶
func (_m *GoogleRepoInterface) ListGoogleDataSource(ctx context.Context, googleDataSourceID uint32, name string) (*[]model.GoogleDataSource, error)
ListGoogleDataSource provides a mock function with given fields: ctx, googleDataSourceID, name
func (*GoogleRepoInterface) UpdateGCPErrorNotifiedAt ¶ added in v0.9.0
func (_m *GoogleRepoInterface) UpdateGCPErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, gcpID uint32, googleDataSourceID uint32, projectID uint32) error
UpdateGCPErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, gcpID, googleDataSourceID, projectID
func (*GoogleRepoInterface) UpsertGCP ¶
func (_m *GoogleRepoInterface) UpsertGCP(ctx context.Context, gcp *google.GCPForUpsert) (*model.GCP, error)
UpsertGCP provides a mock function with given fields: ctx, gcp
func (*GoogleRepoInterface) UpsertGCPDataSource ¶
func (_m *GoogleRepoInterface) UpsertGCPDataSource(ctx context.Context, gcpDataSource *google.GCPDataSourceForUpsert) (*db.GCPDataSource, error)
UpsertGCPDataSource provides a mock function with given fields: ctx, gcpDataSource
type OSINTRepoInterface ¶
OSINTRepoInterface is an autogenerated mock type for the OSINTRepoInterface type
func NewOSINTRepoInterface ¶
func NewOSINTRepoInterface(t interface { mock.TestingT Cleanup(func()) }) *OSINTRepoInterface
NewOSINTRepoInterface creates a new instance of OSINTRepoInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*OSINTRepoInterface) DeleteOsint ¶
DeleteOsint provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) DeleteOsintDataSource ¶
func (_m *OSINTRepoInterface) DeleteOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeleteOsintDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) DeleteOsintDetectWord ¶
func (_m *OSINTRepoInterface) DeleteOsintDetectWord(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeleteOsintDetectWord provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) DeleteRelOsintDataSource ¶
func (_m *OSINTRepoInterface) DeleteRelOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) error
DeleteRelOsintDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) GetOsint ¶
func (_m *OSINTRepoInterface) GetOsint(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.Osint, error)
GetOsint provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) GetOsintDataSource ¶
func (_m *OSINTRepoInterface) GetOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.OsintDataSource, error)
GetOsintDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) GetOsintDetectWord ¶
func (_m *OSINTRepoInterface) GetOsintDetectWord(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.OsintDetectWord, error)
GetOsintDetectWord provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) GetRelOsintDataSource ¶
func (_m *OSINTRepoInterface) GetRelOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32) (*model.RelOsintDataSource, error)
GetRelOsintDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) ListAllRelOsintDataSource ¶
func (_m *OSINTRepoInterface) ListAllRelOsintDataSource(_a0 context.Context, _a1 uint32) (*[]model.RelOsintDataSource, error)
ListAllRelOsintDataSource provides a mock function with given fields: _a0, _a1
func (*OSINTRepoInterface) ListOsint ¶
ListOsint provides a mock function with given fields: _a0, _a1
func (*OSINTRepoInterface) ListOsintDataSource ¶
func (_m *OSINTRepoInterface) ListOsintDataSource(_a0 context.Context, _a1 uint32, _a2 string) (*[]model.OsintDataSource, error)
ListOsintDataSource provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) ListOsintDetectWord ¶
func (_m *OSINTRepoInterface) ListOsintDetectWord(_a0 context.Context, _a1 uint32, _a2 uint32) (*[]model.OsintDetectWord, error)
ListOsintDetectWord provides a mock function with given fields: _a0, _a1, _a2
func (*OSINTRepoInterface) ListOsintScanErrorForNotify ¶ added in v0.9.0
func (_m *OSINTRepoInterface) ListOsintScanErrorForNotify(ctx context.Context) ([]*db.OsintScanError, error)
ListOsintScanErrorForNotify provides a mock function with given fields: ctx
func (*OSINTRepoInterface) ListRelOsintDataSource ¶
func (_m *OSINTRepoInterface) ListRelOsintDataSource(_a0 context.Context, _a1 uint32, _a2 uint32, _a3 uint32) (*[]model.RelOsintDataSource, error)
ListRelOsintDataSource provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*OSINTRepoInterface) UpdateOsintErrorNotifiedAt ¶ added in v0.9.0
func (_m *OSINTRepoInterface) UpdateOsintErrorNotifiedAt(ctx context.Context, errNotifiedAt interface{}, relOsintDataSourceID uint32, projectID uint32) error
UpdateOsintErrorNotifiedAt provides a mock function with given fields: ctx, errNotifiedAt, relOsintDataSourceID, projectID
func (*OSINTRepoInterface) UpsertOsint ¶
func (_m *OSINTRepoInterface) UpsertOsint(_a0 context.Context, _a1 *model.Osint) (*model.Osint, error)
UpsertOsint provides a mock function with given fields: _a0, _a1
func (*OSINTRepoInterface) UpsertOsintDataSource ¶
func (_m *OSINTRepoInterface) UpsertOsintDataSource(_a0 context.Context, _a1 *model.OsintDataSource) (*model.OsintDataSource, error)
UpsertOsintDataSource provides a mock function with given fields: _a0, _a1
func (*OSINTRepoInterface) UpsertOsintDetectWord ¶
func (_m *OSINTRepoInterface) UpsertOsintDetectWord(_a0 context.Context, _a1 *model.OsintDetectWord) (*model.OsintDetectWord, error)
UpsertOsintDetectWord provides a mock function with given fields: _a0, _a1
func (*OSINTRepoInterface) UpsertRelOsintDataSource ¶
func (_m *OSINTRepoInterface) UpsertRelOsintDataSource(_a0 context.Context, _a1 *model.RelOsintDataSource) (*model.RelOsintDataSource, error)
UpsertRelOsintDataSource provides a mock function with given fields: _a0, _a1