Documentation
¶
Index ¶
- Constants
- Variables
- func DefaultSourceDir(envPrefix string) (dir string)
- func Initialize(ctx Context)
- func Map(ctx Context, project, versionTag string, a *App) (err error)
- type App
- func (a *App) DataStore() persister.DataStore
- func (a *App) ExecAddCodebase(ctx context.Context, i *cli.CommandInvoker) (err error)
- func (a *App) ExecAddProject(ctx context.Context, i *cli.CommandInvoker) (err error)
- func (a *App) ExecMap(ctx context.Context, i *cli.CommandInvoker) (err error)
- func (a *App) Main(ctx Context, osArgs []string) (help cli.Help, err error)
- func (a *App) Queries() persister.DataStoreQueries
- type AppFI
- type Context
- type DataStoreQueriesStub
- func (mock *DataStoreQueriesStub) DeleteCategory(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteCategoryCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteCodebase(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteCodebaseByProjectIdAndVersionTag(ctx context.Context, ...) error
- func (mock *DataStoreQueriesStub) DeleteCodebaseByProjectIdAndVersionTagCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteCodebaseCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteCodebaseSurveys(ctx context.Context, codebaseID int64) error
- func (mock *DataStoreQueriesStub) DeleteCodebaseSurveysCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteFile(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteFileCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteImport(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteImportCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteMethod(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteMethodCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteModule(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteModuleVersion(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteModuleVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeletePackage(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeletePackageCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeletePackageType(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeletePackageTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeletePackageVersion(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeletePackageVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteProject(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteProjectByName(ctx context.Context, name string) error
- func (mock *DataStoreQueriesStub) DeleteProjectByNameCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteProjectCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteSurvey(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteSurveyCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteSurveyModule(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteSurveyModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteSymbolType(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteSymbolTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteType(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) DeleteVariable(ctx context.Context, id int64) error
- func (mock *DataStoreQueriesStub) DeleteVariableCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertCategory(ctx context.Context, arg persister.InsertCategoryParams) (persister.Category, error)
- func (mock *DataStoreQueriesStub) InsertCategoryCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertCodebase(ctx context.Context, arg persister.InsertCodebaseParams) (persister.Codebase, error)
- func (mock *DataStoreQueriesStub) InsertCodebaseCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertFile(ctx context.Context, arg persister.InsertFileParams) (persister.File, error)
- func (mock *DataStoreQueriesStub) InsertFileCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertImport(ctx context.Context, arg persister.InsertImportParams) (persister.Import, error)
- func (mock *DataStoreQueriesStub) InsertImportCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertMethod(ctx context.Context, arg persister.InsertMethodParams) (persister.Method, error)
- func (mock *DataStoreQueriesStub) InsertMethodCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertModule(ctx context.Context, name string) (persister.Module, error)
- func (mock *DataStoreQueriesStub) InsertModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertModuleVersion(ctx context.Context, arg persister.InsertModuleVersionParams) (persister.ModuleVersion, error)
- func (mock *DataStoreQueriesStub) InsertModuleVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertPackage(ctx context.Context, arg persister.InsertPackageParams) (persister.Package, error)
- func (mock *DataStoreQueriesStub) InsertPackageCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertPackageType(ctx context.Context, arg persister.InsertPackageTypeParams) (persister.PackageType, error)
- func (mock *DataStoreQueriesStub) InsertPackageTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertPackageVersion(ctx context.Context, arg persister.InsertPackageVersionParams) (persister.PackageVersion, error)
- func (mock *DataStoreQueriesStub) InsertPackageVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertProject(ctx context.Context, arg persister.InsertProjectParams) (persister.Project, error)
- func (mock *DataStoreQueriesStub) InsertProjectCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertSurvey(ctx context.Context, arg persister.InsertSurveyParams) (persister.Survey, error)
- func (mock *DataStoreQueriesStub) InsertSurveyCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertSurveyModule(ctx context.Context, arg persister.InsertSurveyModuleParams) (persister.SurveyModule, error)
- func (mock *DataStoreQueriesStub) InsertSurveyModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertSymbolType(ctx context.Context, arg persister.InsertSymbolTypeParams) (persister.SymbolType, error)
- func (mock *DataStoreQueriesStub) InsertSymbolTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertType(ctx context.Context, arg persister.InsertTypeParams) (persister.Type, error)
- func (mock *DataStoreQueriesStub) InsertTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) InsertVariable(ctx context.Context, arg persister.InsertVariableParams) (persister.Variable, error)
- func (mock *DataStoreQueriesStub) InsertVariableCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListCategories(ctx context.Context) ([]persister.Category, error)
- func (mock *DataStoreQueriesStub) ListCategoriesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListCodebaseSurveys(ctx context.Context, codebaseID int64) ([]persister.Survey, error)
- func (mock *DataStoreQueriesStub) ListCodebaseSurveysCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListCodebases(ctx context.Context) ([]persister.Codebase, error)
- func (mock *DataStoreQueriesStub) ListCodebasesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListFiles(ctx context.Context) ([]persister.File, error)
- func (mock *DataStoreQueriesStub) ListFilesBySurvey(ctx context.Context, surveyID int64) ([]persister.File, error)
- func (mock *DataStoreQueriesStub) ListFilesBySurveyCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListFilesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListImports(ctx context.Context) ([]persister.Import, error)
- func (mock *DataStoreQueriesStub) ListImportsCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListMethods(ctx context.Context) ([]persister.Method, error)
- func (mock *DataStoreQueriesStub) ListMethodsCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListModuleVersions(ctx context.Context) ([]persister.ModuleVersion, error)
- func (mock *DataStoreQueriesStub) ListModuleVersionsCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListModules(ctx context.Context) ([]persister.Module, error)
- func (mock *DataStoreQueriesStub) ListModulesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListPackageTypes(ctx context.Context) ([]persister.PackageType, error)
- func (mock *DataStoreQueriesStub) ListPackageTypesByName(ctx context.Context) ([]persister.PackageType, error)
- func (mock *DataStoreQueriesStub) ListPackageTypesByNameCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListPackageTypesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListPackageVersions(ctx context.Context) ([]persister.PackageVersion, error)
- func (mock *DataStoreQueriesStub) ListPackageVersionsCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListPackages(ctx context.Context) ([]persister.Package, error)
- func (mock *DataStoreQueriesStub) ListPackagesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListProjects(ctx context.Context) ([]persister.Project, error)
- func (mock *DataStoreQueriesStub) ListProjectsCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListSurveyModules(ctx context.Context) ([]persister.SurveyModule, error)
- func (mock *DataStoreQueriesStub) ListSurveyModulesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListSurveys(ctx context.Context) ([]persister.ListSurveysRow, error)
- func (mock *DataStoreQueriesStub) ListSurveysCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListSymbolTypes(ctx context.Context) ([]persister.SymbolType, error)
- func (mock *DataStoreQueriesStub) ListSymbolTypesByName(ctx context.Context) ([]persister.SymbolType, error)
- func (mock *DataStoreQueriesStub) ListSymbolTypesByNameCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListSymbolTypesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListTypes(ctx context.Context) ([]persister.TypeView, error)
- func (mock *DataStoreQueriesStub) ListTypesByFile(ctx context.Context, fileID int64) ([]persister.TypeView, error)
- func (mock *DataStoreQueriesStub) ListTypesByFileCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListTypesBySurvey(ctx context.Context, surveyID int64) ([]persister.TypeView, error)
- func (mock *DataStoreQueriesStub) ListTypesBySurveyCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListTypesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ListVariables(ctx context.Context) ([]persister.Variable, error)
- func (mock *DataStoreQueriesStub) ListVariablesCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadCategory(ctx context.Context, id int64) (persister.Category, error)
- func (mock *DataStoreQueriesStub) LoadCategoryCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadCodebase(ctx context.Context, id int64) (persister.Codebase, error)
- func (mock *DataStoreQueriesStub) LoadCodebaseCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadCodebaseIDByProjectAndVersion(ctx context.Context, arg persister.LoadCodebaseIDByProjectAndVersionParams) (int64, error)
- func (mock *DataStoreQueriesStub) LoadCodebaseIDByProjectAndVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadCodebaseIdByRepoURL(ctx context.Context, repoUrl string) (int64, error)
- func (mock *DataStoreQueriesStub) LoadCodebaseIdByRepoURLCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadFile(ctx context.Context, id int64) (persister.File, error)
- func (mock *DataStoreQueriesStub) LoadFileCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadImport(ctx context.Context, id int64) (persister.Import, error)
- func (mock *DataStoreQueriesStub) LoadImportCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadMethod(ctx context.Context, id int64) (persister.Method, error)
- func (mock *DataStoreQueriesStub) LoadMethodCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadModule(ctx context.Context, id int64) (persister.Module, error)
- func (mock *DataStoreQueriesStub) LoadModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadModuleVersion(ctx context.Context, id int64) (persister.ModuleVersion, error)
- func (mock *DataStoreQueriesStub) LoadModuleVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadPackage(ctx context.Context, id int64) (persister.Package, error)
- func (mock *DataStoreQueriesStub) LoadPackageCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadPackageType(ctx context.Context, id int64) (persister.PackageType, error)
- func (mock *DataStoreQueriesStub) LoadPackageTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadPackageVersion(ctx context.Context, id int64) (persister.PackageVersion, error)
- func (mock *DataStoreQueriesStub) LoadPackageVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadProject(ctx context.Context, id int64) (persister.Project, error)
- func (mock *DataStoreQueriesStub) LoadProjectByName(ctx context.Context, name string) (persister.Project, error)
- func (mock *DataStoreQueriesStub) LoadProjectByNameCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadProjectByRepoURL(ctx context.Context, repoUrl string) (persister.Project, error)
- func (mock *DataStoreQueriesStub) LoadProjectByRepoURLCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadProjectCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadProjectRepoURL(ctx context.Context, id int64) (string, error)
- func (mock *DataStoreQueriesStub) LoadProjectRepoURLCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadSurvey(ctx context.Context, id int64) (persister.Survey, error)
- func (mock *DataStoreQueriesStub) LoadSurveyByRepoURL(ctx context.Context, repoUrl string) (persister.LoadSurveyByRepoURLRow, error)
- func (mock *DataStoreQueriesStub) LoadSurveyByRepoURLCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadSurveyCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadSurveyModule(ctx context.Context, id int64) (persister.SurveyModule, error)
- func (mock *DataStoreQueriesStub) LoadSurveyModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadSymbolType(ctx context.Context, id int64) (persister.SymbolType, error)
- func (mock *DataStoreQueriesStub) LoadSymbolTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadType(ctx context.Context, id int64) (persister.Type, error)
- func (mock *DataStoreQueriesStub) LoadTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) LoadVariable(ctx context.Context, id int64) (persister.Variable, error)
- func (mock *DataStoreQueriesStub) LoadVariableCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) ResetCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteCategoryCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteCodebaseByProjectIdAndVersionTagCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteCodebaseCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteCodebaseSurveysCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteFileCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteImportCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteMethodCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteModuleCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteModuleVersionCalls()
- func (mock *DataStoreQueriesStub) ResetDeletePackageCalls()
- func (mock *DataStoreQueriesStub) ResetDeletePackageTypeCalls()
- func (mock *DataStoreQueriesStub) ResetDeletePackageVersionCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteProjectByNameCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteProjectCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteSurveyCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteSurveyModuleCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteSymbolTypeCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteTypeCalls()
- func (mock *DataStoreQueriesStub) ResetDeleteVariableCalls()
- func (mock *DataStoreQueriesStub) ResetInsertCategoryCalls()
- func (mock *DataStoreQueriesStub) ResetInsertCodebaseCalls()
- func (mock *DataStoreQueriesStub) ResetInsertFileCalls()
- func (mock *DataStoreQueriesStub) ResetInsertImportCalls()
- func (mock *DataStoreQueriesStub) ResetInsertMethodCalls()
- func (mock *DataStoreQueriesStub) ResetInsertModuleCalls()
- func (mock *DataStoreQueriesStub) ResetInsertModuleVersionCalls()
- func (mock *DataStoreQueriesStub) ResetInsertPackageCalls()
- func (mock *DataStoreQueriesStub) ResetInsertPackageTypeCalls()
- func (mock *DataStoreQueriesStub) ResetInsertPackageVersionCalls()
- func (mock *DataStoreQueriesStub) ResetInsertProjectCalls()
- func (mock *DataStoreQueriesStub) ResetInsertSurveyCalls()
- func (mock *DataStoreQueriesStub) ResetInsertSurveyModuleCalls()
- func (mock *DataStoreQueriesStub) ResetInsertSymbolTypeCalls()
- func (mock *DataStoreQueriesStub) ResetInsertTypeCalls()
- func (mock *DataStoreQueriesStub) ResetInsertVariableCalls()
- func (mock *DataStoreQueriesStub) ResetListCategoriesCalls()
- func (mock *DataStoreQueriesStub) ResetListCodebaseSurveysCalls()
- func (mock *DataStoreQueriesStub) ResetListCodebasesCalls()
- func (mock *DataStoreQueriesStub) ResetListFilesBySurveyCalls()
- func (mock *DataStoreQueriesStub) ResetListFilesCalls()
- func (mock *DataStoreQueriesStub) ResetListImportsCalls()
- func (mock *DataStoreQueriesStub) ResetListMethodsCalls()
- func (mock *DataStoreQueriesStub) ResetListModuleVersionsCalls()
- func (mock *DataStoreQueriesStub) ResetListModulesCalls()
- func (mock *DataStoreQueriesStub) ResetListPackageTypesByNameCalls()
- func (mock *DataStoreQueriesStub) ResetListPackageTypesCalls()
- func (mock *DataStoreQueriesStub) ResetListPackageVersionsCalls()
- func (mock *DataStoreQueriesStub) ResetListPackagesCalls()
- func (mock *DataStoreQueriesStub) ResetListProjectsCalls()
- func (mock *DataStoreQueriesStub) ResetListSurveyModulesCalls()
- func (mock *DataStoreQueriesStub) ResetListSurveysCalls()
- func (mock *DataStoreQueriesStub) ResetListSymbolTypesByNameCalls()
- func (mock *DataStoreQueriesStub) ResetListSymbolTypesCalls()
- func (mock *DataStoreQueriesStub) ResetListTypesByFileCalls()
- func (mock *DataStoreQueriesStub) ResetListTypesBySurveyCalls()
- func (mock *DataStoreQueriesStub) ResetListTypesCalls()
- func (mock *DataStoreQueriesStub) ResetListVariablesCalls()
- func (mock *DataStoreQueriesStub) ResetLoadCategoryCalls()
- func (mock *DataStoreQueriesStub) ResetLoadCodebaseCalls()
- func (mock *DataStoreQueriesStub) ResetLoadCodebaseIDByProjectAndVersionCalls()
- func (mock *DataStoreQueriesStub) ResetLoadCodebaseIdByRepoURLCalls()
- func (mock *DataStoreQueriesStub) ResetLoadFileCalls()
- func (mock *DataStoreQueriesStub) ResetLoadImportCalls()
- func (mock *DataStoreQueriesStub) ResetLoadMethodCalls()
- func (mock *DataStoreQueriesStub) ResetLoadModuleCalls()
- func (mock *DataStoreQueriesStub) ResetLoadModuleVersionCalls()
- func (mock *DataStoreQueriesStub) ResetLoadPackageCalls()
- func (mock *DataStoreQueriesStub) ResetLoadPackageTypeCalls()
- func (mock *DataStoreQueriesStub) ResetLoadPackageVersionCalls()
- func (mock *DataStoreQueriesStub) ResetLoadProjectByNameCalls()
- func (mock *DataStoreQueriesStub) ResetLoadProjectByRepoURLCalls()
- func (mock *DataStoreQueriesStub) ResetLoadProjectCalls()
- func (mock *DataStoreQueriesStub) ResetLoadProjectRepoURLCalls()
- func (mock *DataStoreQueriesStub) ResetLoadSurveyByRepoURLCalls()
- func (mock *DataStoreQueriesStub) ResetLoadSurveyCalls()
- func (mock *DataStoreQueriesStub) ResetLoadSurveyModuleCalls()
- func (mock *DataStoreQueriesStub) ResetLoadSymbolTypeCalls()
- func (mock *DataStoreQueriesStub) ResetLoadTypeCalls()
- func (mock *DataStoreQueriesStub) ResetLoadVariableCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateCategoryCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateCodebaseByProjectIdAndVersionTagCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateCodebaseCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateFileCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateImportCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateMethodCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateModuleCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateModuleVersionCalls()
- func (mock *DataStoreQueriesStub) ResetUpdatePackageCalls()
- func (mock *DataStoreQueriesStub) ResetUpdatePackageTypeCalls()
- func (mock *DataStoreQueriesStub) ResetUpdatePackageVersionCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateProjectByNameCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateProjectCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateSurveyModuleCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateSymbolTypeCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateTypeCalls()
- func (mock *DataStoreQueriesStub) ResetUpdateVariableCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertCategoryCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertCodebaseCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertFileCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertImportCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertModuleCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertModuleVersionCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertPackageCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertPackageTypeCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertPackageVersionCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertProjectCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertSurveyModuleCalls()
- func (mock *DataStoreQueriesStub) ResetUpsertSymbolTypeCalls()
- func (mock *DataStoreQueriesStub) ResetWithTxCalls()
- func (mock *DataStoreQueriesStub) UpdateCategory(ctx context.Context, arg persister.UpdateCategoryParams) error
- func (mock *DataStoreQueriesStub) UpdateCategoryCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateCodebase(ctx context.Context, arg persister.UpdateCodebaseParams) error
- func (mock *DataStoreQueriesStub) UpdateCodebaseByProjectIdAndVersionTag(ctx context.Context, ...) error
- func (mock *DataStoreQueriesStub) UpdateCodebaseByProjectIdAndVersionTagCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateCodebaseCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateFile(ctx context.Context, arg persister.UpdateFileParams) error
- func (mock *DataStoreQueriesStub) UpdateFileCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateImport(ctx context.Context, arg persister.UpdateImportParams) error
- func (mock *DataStoreQueriesStub) UpdateImportCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateMethod(ctx context.Context, arg persister.UpdateMethodParams) error
- func (mock *DataStoreQueriesStub) UpdateMethodCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateModule(ctx context.Context, arg persister.UpdateModuleParams) error
- func (mock *DataStoreQueriesStub) UpdateModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateModuleVersion(ctx context.Context, arg persister.UpdateModuleVersionParams) error
- func (mock *DataStoreQueriesStub) UpdateModuleVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdatePackage(ctx context.Context, arg persister.UpdatePackageParams) error
- func (mock *DataStoreQueriesStub) UpdatePackageCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdatePackageType(ctx context.Context, arg persister.UpdatePackageTypeParams) error
- func (mock *DataStoreQueriesStub) UpdatePackageTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdatePackageVersion(ctx context.Context, arg persister.UpdatePackageVersionParams) error
- func (mock *DataStoreQueriesStub) UpdatePackageVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateProject(ctx context.Context, arg persister.UpdateProjectParams) error
- func (mock *DataStoreQueriesStub) UpdateProjectByName(ctx context.Context, arg persister.UpdateProjectByNameParams) error
- func (mock *DataStoreQueriesStub) UpdateProjectByNameCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateProjectCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateSurveyModule(ctx context.Context, arg persister.UpdateSurveyModuleParams) error
- func (mock *DataStoreQueriesStub) UpdateSurveyModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateSymbolType(ctx context.Context, arg persister.UpdateSymbolTypeParams) error
- func (mock *DataStoreQueriesStub) UpdateSymbolTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateType(ctx context.Context, arg persister.UpdateTypeParams) error
- func (mock *DataStoreQueriesStub) UpdateTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpdateVariable(ctx context.Context, arg persister.UpdateVariableParams) error
- func (mock *DataStoreQueriesStub) UpdateVariableCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertCategory(ctx context.Context, arg persister.UpsertCategoryParams) (persister.Category, error)
- func (mock *DataStoreQueriesStub) UpsertCategoryCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertCodebase(ctx context.Context, arg persister.UpsertCodebaseParams) (persister.Codebase, error)
- func (mock *DataStoreQueriesStub) UpsertCodebaseCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertFile(ctx context.Context, arg persister.UpsertFileParams) (persister.File, error)
- func (mock *DataStoreQueriesStub) UpsertFileCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertImport(ctx context.Context, arg persister.UpsertImportParams) (persister.Import, error)
- func (mock *DataStoreQueriesStub) UpsertImportCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertModule(ctx context.Context, name string) (persister.Module, error)
- func (mock *DataStoreQueriesStub) UpsertModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertModuleVersion(ctx context.Context, arg persister.UpsertModuleVersionParams) (persister.ModuleVersion, error)
- func (mock *DataStoreQueriesStub) UpsertModuleVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertPackage(ctx context.Context, arg persister.UpsertPackageParams) (persister.Package, error)
- func (mock *DataStoreQueriesStub) UpsertPackageCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertPackageType(ctx context.Context, arg persister.UpsertPackageTypeParams) (persister.PackageType, error)
- func (mock *DataStoreQueriesStub) UpsertPackageTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertPackageVersion(ctx context.Context, arg persister.UpsertPackageVersionParams) (persister.PackageVersion, error)
- func (mock *DataStoreQueriesStub) UpsertPackageVersionCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertProject(ctx context.Context, arg persister.UpsertProjectParams) (persister.Project, error)
- func (mock *DataStoreQueriesStub) UpsertProjectCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertSurveyModule(ctx context.Context, arg persister.UpsertSurveyModuleParams) (persister.SurveyModule, error)
- func (mock *DataStoreQueriesStub) UpsertSurveyModuleCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) UpsertSymbolType(ctx context.Context, arg persister.UpsertSymbolTypeParams) (persister.SymbolType, error)
- func (mock *DataStoreQueriesStub) UpsertSymbolTypeCalls() []struct{ ... }
- func (mock *DataStoreQueriesStub) WithTx(tx *sql.Tx) *persister.Queries
- func (mock *DataStoreQueriesStub) WithTxCalls() []struct{ ... }
- type FI
- type LoggerFI
- type PersisterFI
Constants ¶
const ( AppName = "gerardus" EnvPrefix = "GERARDUS_" )
Variables ¶
var ( ErrNoProjectSpecified = serr.New("no project specified") ErrNoRepoURLSpecified = serr.New("no repository URL specified") ErrInvalidGitHubRepoURL = serr.New("not a valid GitHub repo URL") ErrInvalidGitHubRepoRootURL = serr.New("repo URL does not begin with https://github.com") ErrURLCouldNotBeDereferenced = serr.New("URL could not be dereferenced") ErrNoVersionTagSpecified = serr.New("no version tag specified") ErrVersionTagAlreadyExists = serr.New("version tag already exists").ValidArgs("project", "version_tag") ErrVersionTagDoesNotExist = serr.New("version tag does not exist").ValidArgs("project", "version_tag") //ErrFailedToAddCodebase = serr.New("failed to add codebase") ErrProjectNotFound = serr.New("project not found") ErrFailedToAddProject = serr.New("failed to add project").ValidArgs("project", "repo_url") ErrInvalidCodebaseSourceURL = serr.New("invalid codebase source URL") ErrAddingCodebase = serr.New("failed to add new codebase").ValidArgs() ErrReadingSourceDir = serr.New("failed to read source directory.") ErrDirIsEmpty = serr.New("directory is empty") ErrPathNotADir = serr.New("path is not a directory") ErrMapCommandFailed = serr.New("`map` command failed").ValidArgs("source_dir") ErrFailedConvertingToAbsPath = serr.New("failed to convert directory to absolute path").ValidArgs("path") ErrVersionTagNotValid = serr.New("version tag is not valid").ValidArgs("version_tag") ErrInvalidFilepath = serr.New("invalid filepath").ValidArgs("filepath") ErrUnexpectedError = serr.New("unexpected error") )
var CmdAdd = cli.AddCommand("add")
var CmdAddCodebase = CmdAdd. AddSubCommand("codebase", Root.ExecAddCodebase). AddArg(projectArg.NotEmpty().MustExist()). AddArg(versionTagArg.NotEmpty().MustValidate().NotExist())
var CmdAddProject = CmdAdd. AddSubCommand("project", Root.ExecAddProject). AddArg(projectArg.NotEmpty().NotExist()). AddArg(repoURLArg.NotEmpty().MustExist()). AddArg(cli.Arg{ Name: AboutArg, Optional: true, Usage: "Repo description. Defaults to 'about' from the GitHub API", Requires: cli.AndRequires(cli.EmptyOk, cli.IgnoreExists), }). AddArg(cli.Arg{ Name: WebsiteArg, Optional: true, Usage: "Project website URL. Defaults to 'website' from the GitHub API", Requires: cli.AndRequires(cli.EmptyOk, cli.IgnoreExists), })
var CmdMap = cli.AddCommandWithFunc("map", Root.ExecMap). AddArg(projectArg.NotEmpty().MustExist()). AddArg(versionTagArg.NotEmpty().MustExist()). AddFlag(cli.Flag{ Switch: "src", Arg: cli.Arg{ Name: "source_dir", Usage: "Source directory", Type: reflect.String, Default: DefaultSourceDir(EnvPrefix), ExistsFunc: checkDir, SetValueFunc: options.SetSourceDir, }, })
var (
ErrSourceURLAppearsInvalid = serr.New("source URL appears invalid")
)
Functions ¶
func DefaultSourceDir ¶
func Initialize ¶
func Initialize(ctx Context)
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) ExecAddCodebase ¶
func (*App) ExecAddProject ¶
func (*App) Queries ¶
func (a *App) Queries() persister.DataStoreQueries
type DataStoreQueriesStub ¶
type DataStoreQueriesStub struct { // DeleteCategoryFunc mocks the DeleteCategory method. DeleteCategoryFunc func(ctx context.Context, id int64) error // DeleteCodebaseFunc mocks the DeleteCodebase method. DeleteCodebaseFunc func(ctx context.Context, id int64) error // DeleteCodebaseByProjectIdAndVersionTagFunc mocks the DeleteCodebaseByProjectIdAndVersionTag method. DeleteCodebaseByProjectIdAndVersionTagFunc func(ctx context.Context, arg persister.DeleteCodebaseByProjectIdAndVersionTagParams) error // DeleteCodebaseSurveysFunc mocks the DeleteCodebaseSurveys method. DeleteCodebaseSurveysFunc func(ctx context.Context, codebaseID int64) error // DeleteFileFunc mocks the DeleteFile method. DeleteFileFunc func(ctx context.Context, id int64) error // DeleteImportFunc mocks the DeleteImport method. DeleteImportFunc func(ctx context.Context, id int64) error // DeleteMethodFunc mocks the DeleteMethod method. DeleteMethodFunc func(ctx context.Context, id int64) error // DeleteModuleFunc mocks the DeleteModule method. DeleteModuleFunc func(ctx context.Context, id int64) error // DeleteModuleVersionFunc mocks the DeleteModuleVersion method. DeleteModuleVersionFunc func(ctx context.Context, id int64) error // DeletePackageFunc mocks the DeletePackage method. DeletePackageFunc func(ctx context.Context, id int64) error // DeletePackageTypeFunc mocks the DeletePackageType method. DeletePackageTypeFunc func(ctx context.Context, id int64) error // DeletePackageVersionFunc mocks the DeletePackageVersion method. DeletePackageVersionFunc func(ctx context.Context, id int64) error // DeleteProjectFunc mocks the DeleteProject method. DeleteProjectFunc func(ctx context.Context, id int64) error // DeleteProjectByNameFunc mocks the DeleteProjectByName method. DeleteProjectByNameFunc func(ctx context.Context, name string) error // DeleteSurveyFunc mocks the DeleteSurvey method. DeleteSurveyFunc func(ctx context.Context, id int64) error // DeleteSurveyModuleFunc mocks the DeleteSurveyModule method. DeleteSurveyModuleFunc func(ctx context.Context, id int64) error // DeleteSymbolTypeFunc mocks the DeleteSymbolType method. DeleteSymbolTypeFunc func(ctx context.Context, id int64) error // DeleteTypeFunc mocks the DeleteType method. DeleteTypeFunc func(ctx context.Context, id int64) error // DeleteVariableFunc mocks the DeleteVariable method. DeleteVariableFunc func(ctx context.Context, id int64) error // InsertCategoryFunc mocks the InsertCategory method. InsertCategoryFunc func(ctx context.Context, arg persister.InsertCategoryParams) (persister.Category, error) // InsertCodebaseFunc mocks the InsertCodebase method. InsertCodebaseFunc func(ctx context.Context, arg persister.InsertCodebaseParams) (persister.Codebase, error) // InsertFileFunc mocks the InsertFile method. InsertFileFunc func(ctx context.Context, arg persister.InsertFileParams) (persister.File, error) // InsertImportFunc mocks the InsertImport method. InsertImportFunc func(ctx context.Context, arg persister.InsertImportParams) (persister.Import, error) // InsertMethodFunc mocks the InsertMethod method. InsertMethodFunc func(ctx context.Context, arg persister.InsertMethodParams) (persister.Method, error) // InsertModuleFunc mocks the InsertModule method. InsertModuleFunc func(ctx context.Context, name string) (persister.Module, error) // InsertModuleVersionFunc mocks the InsertModuleVersion method. InsertModuleVersionFunc func(ctx context.Context, arg persister.InsertModuleVersionParams) (persister.ModuleVersion, error) // InsertPackageFunc mocks the InsertPackage method. InsertPackageFunc func(ctx context.Context, arg persister.InsertPackageParams) (persister.Package, error) // InsertPackageTypeFunc mocks the InsertPackageType method. InsertPackageTypeFunc func(ctx context.Context, arg persister.InsertPackageTypeParams) (persister.PackageType, error) // InsertPackageVersionFunc mocks the InsertPackageVersion method. InsertPackageVersionFunc func(ctx context.Context, arg persister.InsertPackageVersionParams) (persister.PackageVersion, error) // InsertProjectFunc mocks the InsertProject method. InsertProjectFunc func(ctx context.Context, arg persister.InsertProjectParams) (persister.Project, error) // InsertSurveyFunc mocks the InsertSurvey method. InsertSurveyFunc func(ctx context.Context, arg persister.InsertSurveyParams) (persister.Survey, error) // InsertSurveyModuleFunc mocks the InsertSurveyModule method. InsertSurveyModuleFunc func(ctx context.Context, arg persister.InsertSurveyModuleParams) (persister.SurveyModule, error) // InsertSymbolTypeFunc mocks the InsertSymbolType method. InsertSymbolTypeFunc func(ctx context.Context, arg persister.InsertSymbolTypeParams) (persister.SymbolType, error) // InsertTypeFunc mocks the InsertType method. InsertTypeFunc func(ctx context.Context, arg persister.InsertTypeParams) (persister.Type, error) // InsertVariableFunc mocks the InsertVariable method. InsertVariableFunc func(ctx context.Context, arg persister.InsertVariableParams) (persister.Variable, error) // ListCategoriesFunc mocks the ListCategories method. ListCategoriesFunc func(ctx context.Context) ([]persister.Category, error) // ListCodebaseSurveysFunc mocks the ListCodebaseSurveys method. ListCodebaseSurveysFunc func(ctx context.Context, codebaseID int64) ([]persister.Survey, error) // ListCodebasesFunc mocks the ListCodebases method. ListCodebasesFunc func(ctx context.Context) ([]persister.Codebase, error) // ListFilesFunc mocks the ListFiles method. ListFilesFunc func(ctx context.Context) ([]persister.File, error) // ListFilesBySurveyFunc mocks the ListFilesBySurvey method. ListFilesBySurveyFunc func(ctx context.Context, surveyID int64) ([]persister.File, error) // ListImportsFunc mocks the ListImports method. ListImportsFunc func(ctx context.Context) ([]persister.Import, error) // ListMethodsFunc mocks the ListMethods method. ListMethodsFunc func(ctx context.Context) ([]persister.Method, error) // ListModuleVersionsFunc mocks the ListModuleVersions method. ListModuleVersionsFunc func(ctx context.Context) ([]persister.ModuleVersion, error) // ListModulesFunc mocks the ListModules method. ListModulesFunc func(ctx context.Context) ([]persister.Module, error) // ListPackageTypesFunc mocks the ListPackageTypes method. ListPackageTypesFunc func(ctx context.Context) ([]persister.PackageType, error) // ListPackageTypesByNameFunc mocks the ListPackageTypesByName method. ListPackageTypesByNameFunc func(ctx context.Context) ([]persister.PackageType, error) // ListPackageVersionsFunc mocks the ListPackageVersions method. ListPackageVersionsFunc func(ctx context.Context) ([]persister.PackageVersion, error) // ListPackagesFunc mocks the ListPackages method. ListPackagesFunc func(ctx context.Context) ([]persister.Package, error) // ListProjectsFunc mocks the ListProjects method. ListProjectsFunc func(ctx context.Context) ([]persister.Project, error) // ListSurveyModulesFunc mocks the ListSurveyModules method. ListSurveyModulesFunc func(ctx context.Context) ([]persister.SurveyModule, error) // ListSurveysFunc mocks the ListSurveys method. ListSurveysFunc func(ctx context.Context) ([]persister.ListSurveysRow, error) // ListSymbolTypesFunc mocks the ListSymbolTypes method. ListSymbolTypesFunc func(ctx context.Context) ([]persister.SymbolType, error) // ListSymbolTypesByNameFunc mocks the ListSymbolTypesByName method. ListSymbolTypesByNameFunc func(ctx context.Context) ([]persister.SymbolType, error) // ListTypesFunc mocks the ListTypes method. ListTypesFunc func(ctx context.Context) ([]persister.TypeView, error) // ListTypesByFileFunc mocks the ListTypesByFile method. ListTypesByFileFunc func(ctx context.Context, fileID int64) ([]persister.TypeView, error) // ListTypesBySurveyFunc mocks the ListTypesBySurvey method. ListTypesBySurveyFunc func(ctx context.Context, surveyID int64) ([]persister.TypeView, error) // ListVariablesFunc mocks the ListVariables method. ListVariablesFunc func(ctx context.Context) ([]persister.Variable, error) // LoadCategoryFunc mocks the LoadCategory method. LoadCategoryFunc func(ctx context.Context, id int64) (persister.Category, error) // LoadCodebaseFunc mocks the LoadCodebase method. LoadCodebaseFunc func(ctx context.Context, id int64) (persister.Codebase, error) // LoadCodebaseIDByProjectAndVersionFunc mocks the LoadCodebaseIDByProjectAndVersion method. LoadCodebaseIDByProjectAndVersionFunc func(ctx context.Context, arg persister.LoadCodebaseIDByProjectAndVersionParams) (int64, error) // LoadCodebaseIdByRepoURLFunc mocks the LoadCodebaseIdByRepoURL method. LoadCodebaseIdByRepoURLFunc func(ctx context.Context, repoUrl string) (int64, error) // LoadFileFunc mocks the LoadFile method. LoadFileFunc func(ctx context.Context, id int64) (persister.File, error) // LoadImportFunc mocks the LoadImport method. LoadImportFunc func(ctx context.Context, id int64) (persister.Import, error) // LoadMethodFunc mocks the LoadMethod method. LoadMethodFunc func(ctx context.Context, id int64) (persister.Method, error) // LoadModuleFunc mocks the LoadModule method. LoadModuleFunc func(ctx context.Context, id int64) (persister.Module, error) // LoadModuleVersionFunc mocks the LoadModuleVersion method. LoadModuleVersionFunc func(ctx context.Context, id int64) (persister.ModuleVersion, error) // LoadPackageFunc mocks the LoadPackage method. LoadPackageFunc func(ctx context.Context, id int64) (persister.Package, error) // LoadPackageTypeFunc mocks the LoadPackageType method. LoadPackageTypeFunc func(ctx context.Context, id int64) (persister.PackageType, error) // LoadPackageVersionFunc mocks the LoadPackageVersion method. LoadPackageVersionFunc func(ctx context.Context, id int64) (persister.PackageVersion, error) // LoadProjectFunc mocks the LoadProject method. LoadProjectFunc func(ctx context.Context, id int64) (persister.Project, error) // LoadProjectByNameFunc mocks the LoadProjectByName method. LoadProjectByNameFunc func(ctx context.Context, name string) (persister.Project, error) // LoadProjectByRepoURLFunc mocks the LoadProjectByRepoURL method. LoadProjectByRepoURLFunc func(ctx context.Context, repoUrl string) (persister.Project, error) // LoadProjectRepoURLFunc mocks the LoadProjectRepoURL method. LoadProjectRepoURLFunc func(ctx context.Context, id int64) (string, error) // LoadSurveyFunc mocks the LoadSurvey method. LoadSurveyFunc func(ctx context.Context, id int64) (persister.Survey, error) // LoadSurveyByRepoURLFunc mocks the LoadSurveyByRepoURL method. LoadSurveyByRepoURLFunc func(ctx context.Context, repoUrl string) (persister.LoadSurveyByRepoURLRow, error) // LoadSurveyModuleFunc mocks the LoadSurveyModule method. LoadSurveyModuleFunc func(ctx context.Context, id int64) (persister.SurveyModule, error) // LoadSymbolTypeFunc mocks the LoadSymbolType method. LoadSymbolTypeFunc func(ctx context.Context, id int64) (persister.SymbolType, error) // LoadTypeFunc mocks the LoadType method. LoadTypeFunc func(ctx context.Context, id int64) (persister.Type, error) // LoadVariableFunc mocks the LoadVariable method. LoadVariableFunc func(ctx context.Context, id int64) (persister.Variable, error) // UpdateCategoryFunc mocks the UpdateCategory method. UpdateCategoryFunc func(ctx context.Context, arg persister.UpdateCategoryParams) error // UpdateCodebaseFunc mocks the UpdateCodebase method. UpdateCodebaseFunc func(ctx context.Context, arg persister.UpdateCodebaseParams) error // UpdateCodebaseByProjectIdAndVersionTagFunc mocks the UpdateCodebaseByProjectIdAndVersionTag method. UpdateCodebaseByProjectIdAndVersionTagFunc func(ctx context.Context, arg persister.UpdateCodebaseByProjectIdAndVersionTagParams) error // UpdateFileFunc mocks the UpdateFile method. UpdateFileFunc func(ctx context.Context, arg persister.UpdateFileParams) error // UpdateImportFunc mocks the UpdateImport method. UpdateImportFunc func(ctx context.Context, arg persister.UpdateImportParams) error // UpdateMethodFunc mocks the UpdateMethod method. UpdateMethodFunc func(ctx context.Context, arg persister.UpdateMethodParams) error // UpdateModuleFunc mocks the UpdateModule method. UpdateModuleFunc func(ctx context.Context, arg persister.UpdateModuleParams) error // UpdateModuleVersionFunc mocks the UpdateModuleVersion method. UpdateModuleVersionFunc func(ctx context.Context, arg persister.UpdateModuleVersionParams) error // UpdatePackageFunc mocks the UpdatePackage method. UpdatePackageFunc func(ctx context.Context, arg persister.UpdatePackageParams) error // UpdatePackageTypeFunc mocks the UpdatePackageType method. UpdatePackageTypeFunc func(ctx context.Context, arg persister.UpdatePackageTypeParams) error // UpdatePackageVersionFunc mocks the UpdatePackageVersion method. UpdatePackageVersionFunc func(ctx context.Context, arg persister.UpdatePackageVersionParams) error // UpdateProjectFunc mocks the UpdateProject method. UpdateProjectFunc func(ctx context.Context, arg persister.UpdateProjectParams) error // UpdateProjectByNameFunc mocks the UpdateProjectByName method. UpdateProjectByNameFunc func(ctx context.Context, arg persister.UpdateProjectByNameParams) error // UpdateSurveyModuleFunc mocks the UpdateSurveyModule method. UpdateSurveyModuleFunc func(ctx context.Context, arg persister.UpdateSurveyModuleParams) error // UpdateSymbolTypeFunc mocks the UpdateSymbolType method. UpdateSymbolTypeFunc func(ctx context.Context, arg persister.UpdateSymbolTypeParams) error // UpdateTypeFunc mocks the UpdateType method. UpdateTypeFunc func(ctx context.Context, arg persister.UpdateTypeParams) error // UpdateVariableFunc mocks the UpdateVariable method. UpdateVariableFunc func(ctx context.Context, arg persister.UpdateVariableParams) error // UpsertCategoryFunc mocks the UpsertCategory method. UpsertCategoryFunc func(ctx context.Context, arg persister.UpsertCategoryParams) (persister.Category, error) // UpsertCodebaseFunc mocks the UpsertCodebase method. UpsertCodebaseFunc func(ctx context.Context, arg persister.UpsertCodebaseParams) (persister.Codebase, error) // UpsertFileFunc mocks the UpsertFile method. UpsertFileFunc func(ctx context.Context, arg persister.UpsertFileParams) (persister.File, error) // UpsertImportFunc mocks the UpsertImport method. UpsertImportFunc func(ctx context.Context, arg persister.UpsertImportParams) (persister.Import, error) // UpsertModuleFunc mocks the UpsertModule method. UpsertModuleFunc func(ctx context.Context, name string) (persister.Module, error) // UpsertModuleVersionFunc mocks the UpsertModuleVersion method. UpsertModuleVersionFunc func(ctx context.Context, arg persister.UpsertModuleVersionParams) (persister.ModuleVersion, error) // UpsertPackageFunc mocks the UpsertPackage method. UpsertPackageFunc func(ctx context.Context, arg persister.UpsertPackageParams) (persister.Package, error) // UpsertPackageTypeFunc mocks the UpsertPackageType method. UpsertPackageTypeFunc func(ctx context.Context, arg persister.UpsertPackageTypeParams) (persister.PackageType, error) // UpsertPackageVersionFunc mocks the UpsertPackageVersion method. UpsertPackageVersionFunc func(ctx context.Context, arg persister.UpsertPackageVersionParams) (persister.PackageVersion, error) // UpsertProjectFunc mocks the UpsertProject method. UpsertProjectFunc func(ctx context.Context, arg persister.UpsertProjectParams) (persister.Project, error) // UpsertSurveyModuleFunc mocks the UpsertSurveyModule method. UpsertSurveyModuleFunc func(ctx context.Context, arg persister.UpsertSurveyModuleParams) (persister.SurveyModule, error) // UpsertSymbolTypeFunc mocks the UpsertSymbolType method. UpsertSymbolTypeFunc func(ctx context.Context, arg persister.UpsertSymbolTypeParams) (persister.SymbolType, error) // WithTxFunc mocks the WithTx method. WithTxFunc func(tx *sql.Tx) *persister.Queries // contains filtered or unexported fields }
DataStoreQueriesStub is a mock implementation of persister.DataStoreQueries.
func TestSomethingThatUsesDataStoreQueries(t *testing.T) { // make and configure a mocked persister.DataStoreQueries mockedDataStoreQueries := &DataStoreQueriesStub{ DeleteCategoryFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteCategory method") }, DeleteCodebaseFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteCodebase method") }, DeleteCodebaseByProjectIdAndVersionTagFunc: func(ctx context.Context, arg persister.DeleteCodebaseByProjectIdAndVersionTagParams) error { panic("mock out the DeleteCodebaseByProjectIdAndVersionTag method") }, DeleteCodebaseSurveysFunc: func(ctx context.Context, codebaseID int64) error { panic("mock out the DeleteCodebaseSurveys method") }, DeleteFileFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteFile method") }, DeleteImportFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteImport method") }, DeleteMethodFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteMethod method") }, DeleteModuleFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteModule method") }, DeleteModuleVersionFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteModuleVersion method") }, DeletePackageFunc: func(ctx context.Context, id int64) error { panic("mock out the DeletePackage method") }, DeletePackageTypeFunc: func(ctx context.Context, id int64) error { panic("mock out the DeletePackageType method") }, DeletePackageVersionFunc: func(ctx context.Context, id int64) error { panic("mock out the DeletePackageVersion method") }, DeleteProjectFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteProject method") }, DeleteProjectByNameFunc: func(ctx context.Context, name string) error { panic("mock out the DeleteProjectByName method") }, DeleteSurveyFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteSurvey method") }, DeleteSurveyModuleFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteSurveyModule method") }, DeleteSymbolTypeFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteSymbolType method") }, DeleteTypeFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteType method") }, DeleteVariableFunc: func(ctx context.Context, id int64) error { panic("mock out the DeleteVariable method") }, InsertCategoryFunc: func(ctx context.Context, arg persister.InsertCategoryParams) (persister.Category, error) { panic("mock out the InsertCategory method") }, InsertCodebaseFunc: func(ctx context.Context, arg persister.InsertCodebaseParams) (persister.Codebase, error) { panic("mock out the InsertCodebase method") }, InsertFileFunc: func(ctx context.Context, arg persister.InsertFileParams) (persister.File, error) { panic("mock out the InsertFile method") }, InsertImportFunc: func(ctx context.Context, arg persister.InsertImportParams) (persister.Import, error) { panic("mock out the InsertImport method") }, InsertMethodFunc: func(ctx context.Context, arg persister.InsertMethodParams) (persister.Method, error) { panic("mock out the InsertMethod method") }, InsertModuleFunc: func(ctx context.Context, name string) (persister.Module, error) { panic("mock out the InsertModule method") }, InsertModuleVersionFunc: func(ctx context.Context, arg persister.InsertModuleVersionParams) (persister.ModuleVersion, error) { panic("mock out the InsertModuleVersion method") }, InsertPackageFunc: func(ctx context.Context, arg persister.InsertPackageParams) (persister.Package, error) { panic("mock out the InsertPackage method") }, InsertPackageTypeFunc: func(ctx context.Context, arg persister.InsertPackageTypeParams) (persister.PackageType, error) { panic("mock out the InsertPackageType method") }, InsertPackageVersionFunc: func(ctx context.Context, arg persister.InsertPackageVersionParams) (persister.PackageVersion, error) { panic("mock out the InsertPackageVersion method") }, InsertProjectFunc: func(ctx context.Context, arg persister.InsertProjectParams) (persister.Project, error) { panic("mock out the InsertProject method") }, InsertSurveyFunc: func(ctx context.Context, arg persister.InsertSurveyParams) (persister.Survey, error) { panic("mock out the InsertSurvey method") }, InsertSurveyModuleFunc: func(ctx context.Context, arg persister.InsertSurveyModuleParams) (persister.SurveyModule, error) { panic("mock out the InsertSurveyModule method") }, InsertSymbolTypeFunc: func(ctx context.Context, arg persister.InsertSymbolTypeParams) (persister.SymbolType, error) { panic("mock out the InsertSymbolType method") }, InsertTypeFunc: func(ctx context.Context, arg persister.InsertTypeParams) (persister.Type, error) { panic("mock out the InsertType method") }, InsertVariableFunc: func(ctx context.Context, arg persister.InsertVariableParams) (persister.Variable, error) { panic("mock out the InsertVariable method") }, ListCategoriesFunc: func(ctx context.Context) ([]persister.Category, error) { panic("mock out the ListCategories method") }, ListCodebaseSurveysFunc: func(ctx context.Context, codebaseID int64) ([]persister.Survey, error) { panic("mock out the ListCodebaseSurveys method") }, ListCodebasesFunc: func(ctx context.Context) ([]persister.Codebase, error) { panic("mock out the ListCodebases method") }, ListFilesFunc: func(ctx context.Context) ([]persister.File, error) { panic("mock out the ListFiles method") }, ListFilesBySurveyFunc: func(ctx context.Context, surveyID int64) ([]persister.File, error) { panic("mock out the ListFilesBySurvey method") }, ListImportsFunc: func(ctx context.Context) ([]persister.Import, error) { panic("mock out the ListImports method") }, ListMethodsFunc: func(ctx context.Context) ([]persister.Method, error) { panic("mock out the ListMethods method") }, ListModuleVersionsFunc: func(ctx context.Context) ([]persister.ModuleVersion, error) { panic("mock out the ListModuleVersions method") }, ListModulesFunc: func(ctx context.Context) ([]persister.Module, error) { panic("mock out the ListModules method") }, ListPackageTypesFunc: func(ctx context.Context) ([]persister.PackageType, error) { panic("mock out the ListPackageTypes method") }, ListPackageTypesByNameFunc: func(ctx context.Context) ([]persister.PackageType, error) { panic("mock out the ListPackageTypesByName method") }, ListPackageVersionsFunc: func(ctx context.Context) ([]persister.PackageVersion, error) { panic("mock out the ListPackageVersions method") }, ListPackagesFunc: func(ctx context.Context) ([]persister.Package, error) { panic("mock out the ListPackages method") }, ListProjectsFunc: func(ctx context.Context) ([]persister.Project, error) { panic("mock out the ListProjects method") }, ListSurveyModulesFunc: func(ctx context.Context) ([]persister.SurveyModule, error) { panic("mock out the ListSurveyModules method") }, ListSurveysFunc: func(ctx context.Context) ([]persister.ListSurveysRow, error) { panic("mock out the ListSurveys method") }, ListSymbolTypesFunc: func(ctx context.Context) ([]persister.SymbolType, error) { panic("mock out the ListSymbolTypes method") }, ListSymbolTypesByNameFunc: func(ctx context.Context) ([]persister.SymbolType, error) { panic("mock out the ListSymbolTypesByName method") }, ListTypesFunc: func(ctx context.Context) ([]persister.TypeView, error) { panic("mock out the ListTypes method") }, ListTypesByFileFunc: func(ctx context.Context, fileID int64) ([]persister.TypeView, error) { panic("mock out the ListTypesByFile method") }, ListTypesBySurveyFunc: func(ctx context.Context, surveyID int64) ([]persister.TypeView, error) { panic("mock out the ListTypesBySurvey method") }, ListVariablesFunc: func(ctx context.Context) ([]persister.Variable, error) { panic("mock out the ListVariables method") }, LoadCategoryFunc: func(ctx context.Context, id int64) (persister.Category, error) { panic("mock out the LoadCategory method") }, LoadCodebaseFunc: func(ctx context.Context, id int64) (persister.Codebase, error) { panic("mock out the LoadCodebase method") }, LoadCodebaseIDByProjectAndVersionFunc: func(ctx context.Context, arg persister.LoadCodebaseIDByProjectAndVersionParams) (int64, error) { panic("mock out the LoadCodebaseIDByProjectAndVersion method") }, LoadCodebaseIdByRepoURLFunc: func(ctx context.Context, repoUrl string) (int64, error) { panic("mock out the LoadCodebaseIdByRepoURL method") }, LoadFileFunc: func(ctx context.Context, id int64) (persister.File, error) { panic("mock out the LoadFile method") }, LoadImportFunc: func(ctx context.Context, id int64) (persister.Import, error) { panic("mock out the LoadImport method") }, LoadMethodFunc: func(ctx context.Context, id int64) (persister.Method, error) { panic("mock out the LoadMethod method") }, LoadModuleFunc: func(ctx context.Context, id int64) (persister.Module, error) { panic("mock out the LoadModule method") }, LoadModuleVersionFunc: func(ctx context.Context, id int64) (persister.ModuleVersion, error) { panic("mock out the LoadModuleVersion method") }, LoadPackageFunc: func(ctx context.Context, id int64) (persister.Package, error) { panic("mock out the LoadPackage method") }, LoadPackageTypeFunc: func(ctx context.Context, id int64) (persister.PackageType, error) { panic("mock out the LoadPackageType method") }, LoadPackageVersionFunc: func(ctx context.Context, id int64) (persister.PackageVersion, error) { panic("mock out the LoadPackageVersion method") }, LoadProjectFunc: func(ctx context.Context, id int64) (persister.Project, error) { panic("mock out the LoadProject method") }, LoadProjectByNameFunc: func(ctx context.Context, name string) (persister.Project, error) { panic("mock out the LoadProjectByName method") }, LoadProjectByRepoURLFunc: func(ctx context.Context, repoUrl string) (persister.Project, error) { panic("mock out the LoadProjectByRepoURL method") }, LoadProjectRepoURLFunc: func(ctx context.Context, id int64) (string, error) { panic("mock out the LoadProjectRepoURL method") }, LoadSurveyFunc: func(ctx context.Context, id int64) (persister.Survey, error) { panic("mock out the LoadSurvey method") }, LoadSurveyByRepoURLFunc: func(ctx context.Context, repoUrl string) (persister.LoadSurveyByRepoURLRow, error) { panic("mock out the LoadSurveyByRepoURL method") }, LoadSurveyModuleFunc: func(ctx context.Context, id int64) (persister.SurveyModule, error) { panic("mock out the LoadSurveyModule method") }, LoadSymbolTypeFunc: func(ctx context.Context, id int64) (persister.SymbolType, error) { panic("mock out the LoadSymbolType method") }, LoadTypeFunc: func(ctx context.Context, id int64) (persister.Type, error) { panic("mock out the LoadType method") }, LoadVariableFunc: func(ctx context.Context, id int64) (persister.Variable, error) { panic("mock out the LoadVariable method") }, UpdateCategoryFunc: func(ctx context.Context, arg persister.UpdateCategoryParams) error { panic("mock out the UpdateCategory method") }, UpdateCodebaseFunc: func(ctx context.Context, arg persister.UpdateCodebaseParams) error { panic("mock out the UpdateCodebase method") }, UpdateCodebaseByProjectIdAndVersionTagFunc: func(ctx context.Context, arg persister.UpdateCodebaseByProjectIdAndVersionTagParams) error { panic("mock out the UpdateCodebaseByProjectIdAndVersionTag method") }, UpdateFileFunc: func(ctx context.Context, arg persister.UpdateFileParams) error { panic("mock out the UpdateFile method") }, UpdateImportFunc: func(ctx context.Context, arg persister.UpdateImportParams) error { panic("mock out the UpdateImport method") }, UpdateMethodFunc: func(ctx context.Context, arg persister.UpdateMethodParams) error { panic("mock out the UpdateMethod method") }, UpdateModuleFunc: func(ctx context.Context, arg persister.UpdateModuleParams) error { panic("mock out the UpdateModule method") }, UpdateModuleVersionFunc: func(ctx context.Context, arg persister.UpdateModuleVersionParams) error { panic("mock out the UpdateModuleVersion method") }, UpdatePackageFunc: func(ctx context.Context, arg persister.UpdatePackageParams) error { panic("mock out the UpdatePackage method") }, UpdatePackageTypeFunc: func(ctx context.Context, arg persister.UpdatePackageTypeParams) error { panic("mock out the UpdatePackageType method") }, UpdatePackageVersionFunc: func(ctx context.Context, arg persister.UpdatePackageVersionParams) error { panic("mock out the UpdatePackageVersion method") }, UpdateProjectFunc: func(ctx context.Context, arg persister.UpdateProjectParams) error { panic("mock out the UpdateProject method") }, UpdateProjectByNameFunc: func(ctx context.Context, arg persister.UpdateProjectByNameParams) error { panic("mock out the UpdateProjectByName method") }, UpdateSurveyModuleFunc: func(ctx context.Context, arg persister.UpdateSurveyModuleParams) error { panic("mock out the UpdateSurveyModule method") }, UpdateSymbolTypeFunc: func(ctx context.Context, arg persister.UpdateSymbolTypeParams) error { panic("mock out the UpdateSymbolType method") }, UpdateTypeFunc: func(ctx context.Context, arg persister.UpdateTypeParams) error { panic("mock out the UpdateType method") }, UpdateVariableFunc: func(ctx context.Context, arg persister.UpdateVariableParams) error { panic("mock out the UpdateVariable method") }, UpsertCategoryFunc: func(ctx context.Context, arg persister.UpsertCategoryParams) (persister.Category, error) { panic("mock out the UpsertCategory method") }, UpsertCodebaseFunc: func(ctx context.Context, arg persister.UpsertCodebaseParams) (persister.Codebase, error) { panic("mock out the UpsertCodebase method") }, UpsertFileFunc: func(ctx context.Context, arg persister.UpsertFileParams) (persister.File, error) { panic("mock out the UpsertFile method") }, UpsertImportFunc: func(ctx context.Context, arg persister.UpsertImportParams) (persister.Import, error) { panic("mock out the UpsertImport method") }, UpsertModuleFunc: func(ctx context.Context, name string) (persister.Module, error) { panic("mock out the UpsertModule method") }, UpsertModuleVersionFunc: func(ctx context.Context, arg persister.UpsertModuleVersionParams) (persister.ModuleVersion, error) { panic("mock out the UpsertModuleVersion method") }, UpsertPackageFunc: func(ctx context.Context, arg persister.UpsertPackageParams) (persister.Package, error) { panic("mock out the UpsertPackage method") }, UpsertPackageTypeFunc: func(ctx context.Context, arg persister.UpsertPackageTypeParams) (persister.PackageType, error) { panic("mock out the UpsertPackageType method") }, UpsertPackageVersionFunc: func(ctx context.Context, arg persister.UpsertPackageVersionParams) (persister.PackageVersion, error) { panic("mock out the UpsertPackageVersion method") }, UpsertProjectFunc: func(ctx context.Context, arg persister.UpsertProjectParams) (persister.Project, error) { panic("mock out the UpsertProject method") }, UpsertSurveyModuleFunc: func(ctx context.Context, arg persister.UpsertSurveyModuleParams) (persister.SurveyModule, error) { panic("mock out the UpsertSurveyModule method") }, UpsertSymbolTypeFunc: func(ctx context.Context, arg persister.UpsertSymbolTypeParams) (persister.SymbolType, error) { panic("mock out the UpsertSymbolType method") }, WithTxFunc: func(tx *sql.Tx) *persister.Queries { panic("mock out the WithTx method") }, } // use mockedDataStoreQueries in code that requires persister.DataStoreQueries // and then make assertions. }
func (*DataStoreQueriesStub) DeleteCategory ¶
func (mock *DataStoreQueriesStub) DeleteCategory(ctx context.Context, id int64) error
DeleteCategory calls DeleteCategoryFunc.
func (*DataStoreQueriesStub) DeleteCategoryCalls ¶
func (mock *DataStoreQueriesStub) DeleteCategoryCalls() []struct { Ctx context.Context ID int64 }
DeleteCategoryCalls gets all the calls that were made to DeleteCategory. Check the length with:
len(mockedDataStoreQueries.DeleteCategoryCalls())
func (*DataStoreQueriesStub) DeleteCodebase ¶
func (mock *DataStoreQueriesStub) DeleteCodebase(ctx context.Context, id int64) error
DeleteCodebase calls DeleteCodebaseFunc.
func (*DataStoreQueriesStub) DeleteCodebaseByProjectIdAndVersionTag ¶
func (mock *DataStoreQueriesStub) DeleteCodebaseByProjectIdAndVersionTag(ctx context.Context, arg persister.DeleteCodebaseByProjectIdAndVersionTagParams) error
DeleteCodebaseByProjectIdAndVersionTag calls DeleteCodebaseByProjectIdAndVersionTagFunc.
func (*DataStoreQueriesStub) DeleteCodebaseByProjectIdAndVersionTagCalls ¶
func (mock *DataStoreQueriesStub) DeleteCodebaseByProjectIdAndVersionTagCalls() []struct { Ctx context.Context Arg persister.DeleteCodebaseByProjectIdAndVersionTagParams }
DeleteCodebaseByProjectIdAndVersionTagCalls gets all the calls that were made to DeleteCodebaseByProjectIdAndVersionTag. Check the length with:
len(mockedDataStoreQueries.DeleteCodebaseByProjectIdAndVersionTagCalls())
func (*DataStoreQueriesStub) DeleteCodebaseCalls ¶
func (mock *DataStoreQueriesStub) DeleteCodebaseCalls() []struct { Ctx context.Context ID int64 }
DeleteCodebaseCalls gets all the calls that were made to DeleteCodebase. Check the length with:
len(mockedDataStoreQueries.DeleteCodebaseCalls())
func (*DataStoreQueriesStub) DeleteCodebaseSurveys ¶
func (mock *DataStoreQueriesStub) DeleteCodebaseSurveys(ctx context.Context, codebaseID int64) error
DeleteCodebaseSurveys calls DeleteCodebaseSurveysFunc.
func (*DataStoreQueriesStub) DeleteCodebaseSurveysCalls ¶
func (mock *DataStoreQueriesStub) DeleteCodebaseSurveysCalls() []struct { Ctx context.Context CodebaseID int64 }
DeleteCodebaseSurveysCalls gets all the calls that were made to DeleteCodebaseSurveys. Check the length with:
len(mockedDataStoreQueries.DeleteCodebaseSurveysCalls())
func (*DataStoreQueriesStub) DeleteFile ¶
func (mock *DataStoreQueriesStub) DeleteFile(ctx context.Context, id int64) error
DeleteFile calls DeleteFileFunc.
func (*DataStoreQueriesStub) DeleteFileCalls ¶
func (mock *DataStoreQueriesStub) DeleteFileCalls() []struct { Ctx context.Context ID int64 }
DeleteFileCalls gets all the calls that were made to DeleteFile. Check the length with:
len(mockedDataStoreQueries.DeleteFileCalls())
func (*DataStoreQueriesStub) DeleteImport ¶
func (mock *DataStoreQueriesStub) DeleteImport(ctx context.Context, id int64) error
DeleteImport calls DeleteImportFunc.
func (*DataStoreQueriesStub) DeleteImportCalls ¶
func (mock *DataStoreQueriesStub) DeleteImportCalls() []struct { Ctx context.Context ID int64 }
DeleteImportCalls gets all the calls that were made to DeleteImport. Check the length with:
len(mockedDataStoreQueries.DeleteImportCalls())
func (*DataStoreQueriesStub) DeleteMethod ¶
func (mock *DataStoreQueriesStub) DeleteMethod(ctx context.Context, id int64) error
DeleteMethod calls DeleteMethodFunc.
func (*DataStoreQueriesStub) DeleteMethodCalls ¶
func (mock *DataStoreQueriesStub) DeleteMethodCalls() []struct { Ctx context.Context ID int64 }
DeleteMethodCalls gets all the calls that were made to DeleteMethod. Check the length with:
len(mockedDataStoreQueries.DeleteMethodCalls())
func (*DataStoreQueriesStub) DeleteModule ¶
func (mock *DataStoreQueriesStub) DeleteModule(ctx context.Context, id int64) error
DeleteModule calls DeleteModuleFunc.
func (*DataStoreQueriesStub) DeleteModuleCalls ¶
func (mock *DataStoreQueriesStub) DeleteModuleCalls() []struct { Ctx context.Context ID int64 }
DeleteModuleCalls gets all the calls that were made to DeleteModule. Check the length with:
len(mockedDataStoreQueries.DeleteModuleCalls())
func (*DataStoreQueriesStub) DeleteModuleVersion ¶
func (mock *DataStoreQueriesStub) DeleteModuleVersion(ctx context.Context, id int64) error
DeleteModuleVersion calls DeleteModuleVersionFunc.
func (*DataStoreQueriesStub) DeleteModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) DeleteModuleVersionCalls() []struct { Ctx context.Context ID int64 }
DeleteModuleVersionCalls gets all the calls that were made to DeleteModuleVersion. Check the length with:
len(mockedDataStoreQueries.DeleteModuleVersionCalls())
func (*DataStoreQueriesStub) DeletePackage ¶
func (mock *DataStoreQueriesStub) DeletePackage(ctx context.Context, id int64) error
DeletePackage calls DeletePackageFunc.
func (*DataStoreQueriesStub) DeletePackageCalls ¶
func (mock *DataStoreQueriesStub) DeletePackageCalls() []struct { Ctx context.Context ID int64 }
DeletePackageCalls gets all the calls that were made to DeletePackage. Check the length with:
len(mockedDataStoreQueries.DeletePackageCalls())
func (*DataStoreQueriesStub) DeletePackageType ¶
func (mock *DataStoreQueriesStub) DeletePackageType(ctx context.Context, id int64) error
DeletePackageType calls DeletePackageTypeFunc.
func (*DataStoreQueriesStub) DeletePackageTypeCalls ¶
func (mock *DataStoreQueriesStub) DeletePackageTypeCalls() []struct { Ctx context.Context ID int64 }
DeletePackageTypeCalls gets all the calls that were made to DeletePackageType. Check the length with:
len(mockedDataStoreQueries.DeletePackageTypeCalls())
func (*DataStoreQueriesStub) DeletePackageVersion ¶
func (mock *DataStoreQueriesStub) DeletePackageVersion(ctx context.Context, id int64) error
DeletePackageVersion calls DeletePackageVersionFunc.
func (*DataStoreQueriesStub) DeletePackageVersionCalls ¶
func (mock *DataStoreQueriesStub) DeletePackageVersionCalls() []struct { Ctx context.Context ID int64 }
DeletePackageVersionCalls gets all the calls that were made to DeletePackageVersion. Check the length with:
len(mockedDataStoreQueries.DeletePackageVersionCalls())
func (*DataStoreQueriesStub) DeleteProject ¶
func (mock *DataStoreQueriesStub) DeleteProject(ctx context.Context, id int64) error
DeleteProject calls DeleteProjectFunc.
func (*DataStoreQueriesStub) DeleteProjectByName ¶
func (mock *DataStoreQueriesStub) DeleteProjectByName(ctx context.Context, name string) error
DeleteProjectByName calls DeleteProjectByNameFunc.
func (*DataStoreQueriesStub) DeleteProjectByNameCalls ¶
func (mock *DataStoreQueriesStub) DeleteProjectByNameCalls() []struct { Ctx context.Context Name string }
DeleteProjectByNameCalls gets all the calls that were made to DeleteProjectByName. Check the length with:
len(mockedDataStoreQueries.DeleteProjectByNameCalls())
func (*DataStoreQueriesStub) DeleteProjectCalls ¶
func (mock *DataStoreQueriesStub) DeleteProjectCalls() []struct { Ctx context.Context ID int64 }
DeleteProjectCalls gets all the calls that were made to DeleteProject. Check the length with:
len(mockedDataStoreQueries.DeleteProjectCalls())
func (*DataStoreQueriesStub) DeleteSurvey ¶
func (mock *DataStoreQueriesStub) DeleteSurvey(ctx context.Context, id int64) error
DeleteSurvey calls DeleteSurveyFunc.
func (*DataStoreQueriesStub) DeleteSurveyCalls ¶
func (mock *DataStoreQueriesStub) DeleteSurveyCalls() []struct { Ctx context.Context ID int64 }
DeleteSurveyCalls gets all the calls that were made to DeleteSurvey. Check the length with:
len(mockedDataStoreQueries.DeleteSurveyCalls())
func (*DataStoreQueriesStub) DeleteSurveyModule ¶
func (mock *DataStoreQueriesStub) DeleteSurveyModule(ctx context.Context, id int64) error
DeleteSurveyModule calls DeleteSurveyModuleFunc.
func (*DataStoreQueriesStub) DeleteSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) DeleteSurveyModuleCalls() []struct { Ctx context.Context ID int64 }
DeleteSurveyModuleCalls gets all the calls that were made to DeleteSurveyModule. Check the length with:
len(mockedDataStoreQueries.DeleteSurveyModuleCalls())
func (*DataStoreQueriesStub) DeleteSymbolType ¶
func (mock *DataStoreQueriesStub) DeleteSymbolType(ctx context.Context, id int64) error
DeleteSymbolType calls DeleteSymbolTypeFunc.
func (*DataStoreQueriesStub) DeleteSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) DeleteSymbolTypeCalls() []struct { Ctx context.Context ID int64 }
DeleteSymbolTypeCalls gets all the calls that were made to DeleteSymbolType. Check the length with:
len(mockedDataStoreQueries.DeleteSymbolTypeCalls())
func (*DataStoreQueriesStub) DeleteType ¶
func (mock *DataStoreQueriesStub) DeleteType(ctx context.Context, id int64) error
DeleteType calls DeleteTypeFunc.
func (*DataStoreQueriesStub) DeleteTypeCalls ¶
func (mock *DataStoreQueriesStub) DeleteTypeCalls() []struct { Ctx context.Context ID int64 }
DeleteTypeCalls gets all the calls that were made to DeleteType. Check the length with:
len(mockedDataStoreQueries.DeleteTypeCalls())
func (*DataStoreQueriesStub) DeleteVariable ¶
func (mock *DataStoreQueriesStub) DeleteVariable(ctx context.Context, id int64) error
DeleteVariable calls DeleteVariableFunc.
func (*DataStoreQueriesStub) DeleteVariableCalls ¶
func (mock *DataStoreQueriesStub) DeleteVariableCalls() []struct { Ctx context.Context ID int64 }
DeleteVariableCalls gets all the calls that were made to DeleteVariable. Check the length with:
len(mockedDataStoreQueries.DeleteVariableCalls())
func (*DataStoreQueriesStub) InsertCategory ¶
func (mock *DataStoreQueriesStub) InsertCategory(ctx context.Context, arg persister.InsertCategoryParams) (persister.Category, error)
InsertCategory calls InsertCategoryFunc.
func (*DataStoreQueriesStub) InsertCategoryCalls ¶
func (mock *DataStoreQueriesStub) InsertCategoryCalls() []struct { Ctx context.Context Arg persister.InsertCategoryParams }
InsertCategoryCalls gets all the calls that were made to InsertCategory. Check the length with:
len(mockedDataStoreQueries.InsertCategoryCalls())
func (*DataStoreQueriesStub) InsertCodebase ¶
func (mock *DataStoreQueriesStub) InsertCodebase(ctx context.Context, arg persister.InsertCodebaseParams) (persister.Codebase, error)
InsertCodebase calls InsertCodebaseFunc.
func (*DataStoreQueriesStub) InsertCodebaseCalls ¶
func (mock *DataStoreQueriesStub) InsertCodebaseCalls() []struct { Ctx context.Context Arg persister.InsertCodebaseParams }
InsertCodebaseCalls gets all the calls that were made to InsertCodebase. Check the length with:
len(mockedDataStoreQueries.InsertCodebaseCalls())
func (*DataStoreQueriesStub) InsertFile ¶
func (mock *DataStoreQueriesStub) InsertFile(ctx context.Context, arg persister.InsertFileParams) (persister.File, error)
InsertFile calls InsertFileFunc.
func (*DataStoreQueriesStub) InsertFileCalls ¶
func (mock *DataStoreQueriesStub) InsertFileCalls() []struct { Ctx context.Context Arg persister.InsertFileParams }
InsertFileCalls gets all the calls that were made to InsertFile. Check the length with:
len(mockedDataStoreQueries.InsertFileCalls())
func (*DataStoreQueriesStub) InsertImport ¶
func (mock *DataStoreQueriesStub) InsertImport(ctx context.Context, arg persister.InsertImportParams) (persister.Import, error)
InsertImport calls InsertImportFunc.
func (*DataStoreQueriesStub) InsertImportCalls ¶
func (mock *DataStoreQueriesStub) InsertImportCalls() []struct { Ctx context.Context Arg persister.InsertImportParams }
InsertImportCalls gets all the calls that were made to InsertImport. Check the length with:
len(mockedDataStoreQueries.InsertImportCalls())
func (*DataStoreQueriesStub) InsertMethod ¶
func (mock *DataStoreQueriesStub) InsertMethod(ctx context.Context, arg persister.InsertMethodParams) (persister.Method, error)
InsertMethod calls InsertMethodFunc.
func (*DataStoreQueriesStub) InsertMethodCalls ¶
func (mock *DataStoreQueriesStub) InsertMethodCalls() []struct { Ctx context.Context Arg persister.InsertMethodParams }
InsertMethodCalls gets all the calls that were made to InsertMethod. Check the length with:
len(mockedDataStoreQueries.InsertMethodCalls())
func (*DataStoreQueriesStub) InsertModule ¶
func (mock *DataStoreQueriesStub) InsertModule(ctx context.Context, name string) (persister.Module, error)
InsertModule calls InsertModuleFunc.
func (*DataStoreQueriesStub) InsertModuleCalls ¶
func (mock *DataStoreQueriesStub) InsertModuleCalls() []struct { Ctx context.Context Name string }
InsertModuleCalls gets all the calls that were made to InsertModule. Check the length with:
len(mockedDataStoreQueries.InsertModuleCalls())
func (*DataStoreQueriesStub) InsertModuleVersion ¶
func (mock *DataStoreQueriesStub) InsertModuleVersion(ctx context.Context, arg persister.InsertModuleVersionParams) (persister.ModuleVersion, error)
InsertModuleVersion calls InsertModuleVersionFunc.
func (*DataStoreQueriesStub) InsertModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) InsertModuleVersionCalls() []struct { Ctx context.Context Arg persister.InsertModuleVersionParams }
InsertModuleVersionCalls gets all the calls that were made to InsertModuleVersion. Check the length with:
len(mockedDataStoreQueries.InsertModuleVersionCalls())
func (*DataStoreQueriesStub) InsertPackage ¶
func (mock *DataStoreQueriesStub) InsertPackage(ctx context.Context, arg persister.InsertPackageParams) (persister.Package, error)
InsertPackage calls InsertPackageFunc.
func (*DataStoreQueriesStub) InsertPackageCalls ¶
func (mock *DataStoreQueriesStub) InsertPackageCalls() []struct { Ctx context.Context Arg persister.InsertPackageParams }
InsertPackageCalls gets all the calls that were made to InsertPackage. Check the length with:
len(mockedDataStoreQueries.InsertPackageCalls())
func (*DataStoreQueriesStub) InsertPackageType ¶
func (mock *DataStoreQueriesStub) InsertPackageType(ctx context.Context, arg persister.InsertPackageTypeParams) (persister.PackageType, error)
InsertPackageType calls InsertPackageTypeFunc.
func (*DataStoreQueriesStub) InsertPackageTypeCalls ¶
func (mock *DataStoreQueriesStub) InsertPackageTypeCalls() []struct { Ctx context.Context Arg persister.InsertPackageTypeParams }
InsertPackageTypeCalls gets all the calls that were made to InsertPackageType. Check the length with:
len(mockedDataStoreQueries.InsertPackageTypeCalls())
func (*DataStoreQueriesStub) InsertPackageVersion ¶
func (mock *DataStoreQueriesStub) InsertPackageVersion(ctx context.Context, arg persister.InsertPackageVersionParams) (persister.PackageVersion, error)
InsertPackageVersion calls InsertPackageVersionFunc.
func (*DataStoreQueriesStub) InsertPackageVersionCalls ¶
func (mock *DataStoreQueriesStub) InsertPackageVersionCalls() []struct { Ctx context.Context Arg persister.InsertPackageVersionParams }
InsertPackageVersionCalls gets all the calls that were made to InsertPackageVersion. Check the length with:
len(mockedDataStoreQueries.InsertPackageVersionCalls())
func (*DataStoreQueriesStub) InsertProject ¶
func (mock *DataStoreQueriesStub) InsertProject(ctx context.Context, arg persister.InsertProjectParams) (persister.Project, error)
InsertProject calls InsertProjectFunc.
func (*DataStoreQueriesStub) InsertProjectCalls ¶
func (mock *DataStoreQueriesStub) InsertProjectCalls() []struct { Ctx context.Context Arg persister.InsertProjectParams }
InsertProjectCalls gets all the calls that were made to InsertProject. Check the length with:
len(mockedDataStoreQueries.InsertProjectCalls())
func (*DataStoreQueriesStub) InsertSurvey ¶
func (mock *DataStoreQueriesStub) InsertSurvey(ctx context.Context, arg persister.InsertSurveyParams) (persister.Survey, error)
InsertSurvey calls InsertSurveyFunc.
func (*DataStoreQueriesStub) InsertSurveyCalls ¶
func (mock *DataStoreQueriesStub) InsertSurveyCalls() []struct { Ctx context.Context Arg persister.InsertSurveyParams }
InsertSurveyCalls gets all the calls that were made to InsertSurvey. Check the length with:
len(mockedDataStoreQueries.InsertSurveyCalls())
func (*DataStoreQueriesStub) InsertSurveyModule ¶
func (mock *DataStoreQueriesStub) InsertSurveyModule(ctx context.Context, arg persister.InsertSurveyModuleParams) (persister.SurveyModule, error)
InsertSurveyModule calls InsertSurveyModuleFunc.
func (*DataStoreQueriesStub) InsertSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) InsertSurveyModuleCalls() []struct { Ctx context.Context Arg persister.InsertSurveyModuleParams }
InsertSurveyModuleCalls gets all the calls that were made to InsertSurveyModule. Check the length with:
len(mockedDataStoreQueries.InsertSurveyModuleCalls())
func (*DataStoreQueriesStub) InsertSymbolType ¶
func (mock *DataStoreQueriesStub) InsertSymbolType(ctx context.Context, arg persister.InsertSymbolTypeParams) (persister.SymbolType, error)
InsertSymbolType calls InsertSymbolTypeFunc.
func (*DataStoreQueriesStub) InsertSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) InsertSymbolTypeCalls() []struct { Ctx context.Context Arg persister.InsertSymbolTypeParams }
InsertSymbolTypeCalls gets all the calls that were made to InsertSymbolType. Check the length with:
len(mockedDataStoreQueries.InsertSymbolTypeCalls())
func (*DataStoreQueriesStub) InsertType ¶
func (mock *DataStoreQueriesStub) InsertType(ctx context.Context, arg persister.InsertTypeParams) (persister.Type, error)
InsertType calls InsertTypeFunc.
func (*DataStoreQueriesStub) InsertTypeCalls ¶
func (mock *DataStoreQueriesStub) InsertTypeCalls() []struct { Ctx context.Context Arg persister.InsertTypeParams }
InsertTypeCalls gets all the calls that were made to InsertType. Check the length with:
len(mockedDataStoreQueries.InsertTypeCalls())
func (*DataStoreQueriesStub) InsertVariable ¶
func (mock *DataStoreQueriesStub) InsertVariable(ctx context.Context, arg persister.InsertVariableParams) (persister.Variable, error)
InsertVariable calls InsertVariableFunc.
func (*DataStoreQueriesStub) InsertVariableCalls ¶
func (mock *DataStoreQueriesStub) InsertVariableCalls() []struct { Ctx context.Context Arg persister.InsertVariableParams }
InsertVariableCalls gets all the calls that were made to InsertVariable. Check the length with:
len(mockedDataStoreQueries.InsertVariableCalls())
func (*DataStoreQueriesStub) ListCategories ¶
ListCategories calls ListCategoriesFunc.
func (*DataStoreQueriesStub) ListCategoriesCalls ¶
func (mock *DataStoreQueriesStub) ListCategoriesCalls() []struct { Ctx context.Context }
ListCategoriesCalls gets all the calls that were made to ListCategories. Check the length with:
len(mockedDataStoreQueries.ListCategoriesCalls())
func (*DataStoreQueriesStub) ListCodebaseSurveys ¶
func (mock *DataStoreQueriesStub) ListCodebaseSurveys(ctx context.Context, codebaseID int64) ([]persister.Survey, error)
ListCodebaseSurveys calls ListCodebaseSurveysFunc.
func (*DataStoreQueriesStub) ListCodebaseSurveysCalls ¶
func (mock *DataStoreQueriesStub) ListCodebaseSurveysCalls() []struct { Ctx context.Context CodebaseID int64 }
ListCodebaseSurveysCalls gets all the calls that were made to ListCodebaseSurveys. Check the length with:
len(mockedDataStoreQueries.ListCodebaseSurveysCalls())
func (*DataStoreQueriesStub) ListCodebases ¶
ListCodebases calls ListCodebasesFunc.
func (*DataStoreQueriesStub) ListCodebasesCalls ¶
func (mock *DataStoreQueriesStub) ListCodebasesCalls() []struct { Ctx context.Context }
ListCodebasesCalls gets all the calls that were made to ListCodebases. Check the length with:
len(mockedDataStoreQueries.ListCodebasesCalls())
func (*DataStoreQueriesStub) ListFilesBySurvey ¶
func (mock *DataStoreQueriesStub) ListFilesBySurvey(ctx context.Context, surveyID int64) ([]persister.File, error)
ListFilesBySurvey calls ListFilesBySurveyFunc.
func (*DataStoreQueriesStub) ListFilesBySurveyCalls ¶
func (mock *DataStoreQueriesStub) ListFilesBySurveyCalls() []struct { Ctx context.Context SurveyID int64 }
ListFilesBySurveyCalls gets all the calls that were made to ListFilesBySurvey. Check the length with:
len(mockedDataStoreQueries.ListFilesBySurveyCalls())
func (*DataStoreQueriesStub) ListFilesCalls ¶
func (mock *DataStoreQueriesStub) ListFilesCalls() []struct { Ctx context.Context }
ListFilesCalls gets all the calls that were made to ListFiles. Check the length with:
len(mockedDataStoreQueries.ListFilesCalls())
func (*DataStoreQueriesStub) ListImports ¶
ListImports calls ListImportsFunc.
func (*DataStoreQueriesStub) ListImportsCalls ¶
func (mock *DataStoreQueriesStub) ListImportsCalls() []struct { Ctx context.Context }
ListImportsCalls gets all the calls that were made to ListImports. Check the length with:
len(mockedDataStoreQueries.ListImportsCalls())
func (*DataStoreQueriesStub) ListMethods ¶
ListMethods calls ListMethodsFunc.
func (*DataStoreQueriesStub) ListMethodsCalls ¶
func (mock *DataStoreQueriesStub) ListMethodsCalls() []struct { Ctx context.Context }
ListMethodsCalls gets all the calls that were made to ListMethods. Check the length with:
len(mockedDataStoreQueries.ListMethodsCalls())
func (*DataStoreQueriesStub) ListModuleVersions ¶
func (mock *DataStoreQueriesStub) ListModuleVersions(ctx context.Context) ([]persister.ModuleVersion, error)
ListModuleVersions calls ListModuleVersionsFunc.
func (*DataStoreQueriesStub) ListModuleVersionsCalls ¶
func (mock *DataStoreQueriesStub) ListModuleVersionsCalls() []struct { Ctx context.Context }
ListModuleVersionsCalls gets all the calls that were made to ListModuleVersions. Check the length with:
len(mockedDataStoreQueries.ListModuleVersionsCalls())
func (*DataStoreQueriesStub) ListModules ¶
ListModules calls ListModulesFunc.
func (*DataStoreQueriesStub) ListModulesCalls ¶
func (mock *DataStoreQueriesStub) ListModulesCalls() []struct { Ctx context.Context }
ListModulesCalls gets all the calls that were made to ListModules. Check the length with:
len(mockedDataStoreQueries.ListModulesCalls())
func (*DataStoreQueriesStub) ListPackageTypes ¶
func (mock *DataStoreQueriesStub) ListPackageTypes(ctx context.Context) ([]persister.PackageType, error)
ListPackageTypes calls ListPackageTypesFunc.
func (*DataStoreQueriesStub) ListPackageTypesByName ¶
func (mock *DataStoreQueriesStub) ListPackageTypesByName(ctx context.Context) ([]persister.PackageType, error)
ListPackageTypesByName calls ListPackageTypesByNameFunc.
func (*DataStoreQueriesStub) ListPackageTypesByNameCalls ¶
func (mock *DataStoreQueriesStub) ListPackageTypesByNameCalls() []struct { Ctx context.Context }
ListPackageTypesByNameCalls gets all the calls that were made to ListPackageTypesByName. Check the length with:
len(mockedDataStoreQueries.ListPackageTypesByNameCalls())
func (*DataStoreQueriesStub) ListPackageTypesCalls ¶
func (mock *DataStoreQueriesStub) ListPackageTypesCalls() []struct { Ctx context.Context }
ListPackageTypesCalls gets all the calls that were made to ListPackageTypes. Check the length with:
len(mockedDataStoreQueries.ListPackageTypesCalls())
func (*DataStoreQueriesStub) ListPackageVersions ¶
func (mock *DataStoreQueriesStub) ListPackageVersions(ctx context.Context) ([]persister.PackageVersion, error)
ListPackageVersions calls ListPackageVersionsFunc.
func (*DataStoreQueriesStub) ListPackageVersionsCalls ¶
func (mock *DataStoreQueriesStub) ListPackageVersionsCalls() []struct { Ctx context.Context }
ListPackageVersionsCalls gets all the calls that were made to ListPackageVersions. Check the length with:
len(mockedDataStoreQueries.ListPackageVersionsCalls())
func (*DataStoreQueriesStub) ListPackages ¶
ListPackages calls ListPackagesFunc.
func (*DataStoreQueriesStub) ListPackagesCalls ¶
func (mock *DataStoreQueriesStub) ListPackagesCalls() []struct { Ctx context.Context }
ListPackagesCalls gets all the calls that were made to ListPackages. Check the length with:
len(mockedDataStoreQueries.ListPackagesCalls())
func (*DataStoreQueriesStub) ListProjects ¶
ListProjects calls ListProjectsFunc.
func (*DataStoreQueriesStub) ListProjectsCalls ¶
func (mock *DataStoreQueriesStub) ListProjectsCalls() []struct { Ctx context.Context }
ListProjectsCalls gets all the calls that were made to ListProjects. Check the length with:
len(mockedDataStoreQueries.ListProjectsCalls())
func (*DataStoreQueriesStub) ListSurveyModules ¶
func (mock *DataStoreQueriesStub) ListSurveyModules(ctx context.Context) ([]persister.SurveyModule, error)
ListSurveyModules calls ListSurveyModulesFunc.
func (*DataStoreQueriesStub) ListSurveyModulesCalls ¶
func (mock *DataStoreQueriesStub) ListSurveyModulesCalls() []struct { Ctx context.Context }
ListSurveyModulesCalls gets all the calls that were made to ListSurveyModules. Check the length with:
len(mockedDataStoreQueries.ListSurveyModulesCalls())
func (*DataStoreQueriesStub) ListSurveys ¶
func (mock *DataStoreQueriesStub) ListSurveys(ctx context.Context) ([]persister.ListSurveysRow, error)
ListSurveys calls ListSurveysFunc.
func (*DataStoreQueriesStub) ListSurveysCalls ¶
func (mock *DataStoreQueriesStub) ListSurveysCalls() []struct { Ctx context.Context }
ListSurveysCalls gets all the calls that were made to ListSurveys. Check the length with:
len(mockedDataStoreQueries.ListSurveysCalls())
func (*DataStoreQueriesStub) ListSymbolTypes ¶
func (mock *DataStoreQueriesStub) ListSymbolTypes(ctx context.Context) ([]persister.SymbolType, error)
ListSymbolTypes calls ListSymbolTypesFunc.
func (*DataStoreQueriesStub) ListSymbolTypesByName ¶
func (mock *DataStoreQueriesStub) ListSymbolTypesByName(ctx context.Context) ([]persister.SymbolType, error)
ListSymbolTypesByName calls ListSymbolTypesByNameFunc.
func (*DataStoreQueriesStub) ListSymbolTypesByNameCalls ¶
func (mock *DataStoreQueriesStub) ListSymbolTypesByNameCalls() []struct { Ctx context.Context }
ListSymbolTypesByNameCalls gets all the calls that were made to ListSymbolTypesByName. Check the length with:
len(mockedDataStoreQueries.ListSymbolTypesByNameCalls())
func (*DataStoreQueriesStub) ListSymbolTypesCalls ¶
func (mock *DataStoreQueriesStub) ListSymbolTypesCalls() []struct { Ctx context.Context }
ListSymbolTypesCalls gets all the calls that were made to ListSymbolTypes. Check the length with:
len(mockedDataStoreQueries.ListSymbolTypesCalls())
func (*DataStoreQueriesStub) ListTypesByFile ¶
func (mock *DataStoreQueriesStub) ListTypesByFile(ctx context.Context, fileID int64) ([]persister.TypeView, error)
ListTypesByFile calls ListTypesByFileFunc.
func (*DataStoreQueriesStub) ListTypesByFileCalls ¶
func (mock *DataStoreQueriesStub) ListTypesByFileCalls() []struct { Ctx context.Context FileID int64 }
ListTypesByFileCalls gets all the calls that were made to ListTypesByFile. Check the length with:
len(mockedDataStoreQueries.ListTypesByFileCalls())
func (*DataStoreQueriesStub) ListTypesBySurvey ¶
func (mock *DataStoreQueriesStub) ListTypesBySurvey(ctx context.Context, surveyID int64) ([]persister.TypeView, error)
ListTypesBySurvey calls ListTypesBySurveyFunc.
func (*DataStoreQueriesStub) ListTypesBySurveyCalls ¶
func (mock *DataStoreQueriesStub) ListTypesBySurveyCalls() []struct { Ctx context.Context SurveyID int64 }
ListTypesBySurveyCalls gets all the calls that were made to ListTypesBySurvey. Check the length with:
len(mockedDataStoreQueries.ListTypesBySurveyCalls())
func (*DataStoreQueriesStub) ListTypesCalls ¶
func (mock *DataStoreQueriesStub) ListTypesCalls() []struct { Ctx context.Context }
ListTypesCalls gets all the calls that were made to ListTypes. Check the length with:
len(mockedDataStoreQueries.ListTypesCalls())
func (*DataStoreQueriesStub) ListVariables ¶
ListVariables calls ListVariablesFunc.
func (*DataStoreQueriesStub) ListVariablesCalls ¶
func (mock *DataStoreQueriesStub) ListVariablesCalls() []struct { Ctx context.Context }
ListVariablesCalls gets all the calls that were made to ListVariables. Check the length with:
len(mockedDataStoreQueries.ListVariablesCalls())
func (*DataStoreQueriesStub) LoadCategory ¶
func (mock *DataStoreQueriesStub) LoadCategory(ctx context.Context, id int64) (persister.Category, error)
LoadCategory calls LoadCategoryFunc.
func (*DataStoreQueriesStub) LoadCategoryCalls ¶
func (mock *DataStoreQueriesStub) LoadCategoryCalls() []struct { Ctx context.Context ID int64 }
LoadCategoryCalls gets all the calls that were made to LoadCategory. Check the length with:
len(mockedDataStoreQueries.LoadCategoryCalls())
func (*DataStoreQueriesStub) LoadCodebase ¶
func (mock *DataStoreQueriesStub) LoadCodebase(ctx context.Context, id int64) (persister.Codebase, error)
LoadCodebase calls LoadCodebaseFunc.
func (*DataStoreQueriesStub) LoadCodebaseCalls ¶
func (mock *DataStoreQueriesStub) LoadCodebaseCalls() []struct { Ctx context.Context ID int64 }
LoadCodebaseCalls gets all the calls that were made to LoadCodebase. Check the length with:
len(mockedDataStoreQueries.LoadCodebaseCalls())
func (*DataStoreQueriesStub) LoadCodebaseIDByProjectAndVersion ¶
func (mock *DataStoreQueriesStub) LoadCodebaseIDByProjectAndVersion(ctx context.Context, arg persister.LoadCodebaseIDByProjectAndVersionParams) (int64, error)
LoadCodebaseIDByProjectAndVersion calls LoadCodebaseIDByProjectAndVersionFunc.
func (*DataStoreQueriesStub) LoadCodebaseIDByProjectAndVersionCalls ¶
func (mock *DataStoreQueriesStub) LoadCodebaseIDByProjectAndVersionCalls() []struct { Ctx context.Context Arg persister.LoadCodebaseIDByProjectAndVersionParams }
LoadCodebaseIDByProjectAndVersionCalls gets all the calls that were made to LoadCodebaseIDByProjectAndVersion. Check the length with:
len(mockedDataStoreQueries.LoadCodebaseIDByProjectAndVersionCalls())
func (*DataStoreQueriesStub) LoadCodebaseIdByRepoURL ¶
func (mock *DataStoreQueriesStub) LoadCodebaseIdByRepoURL(ctx context.Context, repoUrl string) (int64, error)
LoadCodebaseIdByRepoURL calls LoadCodebaseIdByRepoURLFunc.
func (*DataStoreQueriesStub) LoadCodebaseIdByRepoURLCalls ¶
func (mock *DataStoreQueriesStub) LoadCodebaseIdByRepoURLCalls() []struct { Ctx context.Context RepoUrl string }
LoadCodebaseIdByRepoURLCalls gets all the calls that were made to LoadCodebaseIdByRepoURL. Check the length with:
len(mockedDataStoreQueries.LoadCodebaseIdByRepoURLCalls())
func (*DataStoreQueriesStub) LoadFileCalls ¶
func (mock *DataStoreQueriesStub) LoadFileCalls() []struct { Ctx context.Context ID int64 }
LoadFileCalls gets all the calls that were made to LoadFile. Check the length with:
len(mockedDataStoreQueries.LoadFileCalls())
func (*DataStoreQueriesStub) LoadImport ¶
func (mock *DataStoreQueriesStub) LoadImport(ctx context.Context, id int64) (persister.Import, error)
LoadImport calls LoadImportFunc.
func (*DataStoreQueriesStub) LoadImportCalls ¶
func (mock *DataStoreQueriesStub) LoadImportCalls() []struct { Ctx context.Context ID int64 }
LoadImportCalls gets all the calls that were made to LoadImport. Check the length with:
len(mockedDataStoreQueries.LoadImportCalls())
func (*DataStoreQueriesStub) LoadMethod ¶
func (mock *DataStoreQueriesStub) LoadMethod(ctx context.Context, id int64) (persister.Method, error)
LoadMethod calls LoadMethodFunc.
func (*DataStoreQueriesStub) LoadMethodCalls ¶
func (mock *DataStoreQueriesStub) LoadMethodCalls() []struct { Ctx context.Context ID int64 }
LoadMethodCalls gets all the calls that were made to LoadMethod. Check the length with:
len(mockedDataStoreQueries.LoadMethodCalls())
func (*DataStoreQueriesStub) LoadModule ¶
func (mock *DataStoreQueriesStub) LoadModule(ctx context.Context, id int64) (persister.Module, error)
LoadModule calls LoadModuleFunc.
func (*DataStoreQueriesStub) LoadModuleCalls ¶
func (mock *DataStoreQueriesStub) LoadModuleCalls() []struct { Ctx context.Context ID int64 }
LoadModuleCalls gets all the calls that were made to LoadModule. Check the length with:
len(mockedDataStoreQueries.LoadModuleCalls())
func (*DataStoreQueriesStub) LoadModuleVersion ¶
func (mock *DataStoreQueriesStub) LoadModuleVersion(ctx context.Context, id int64) (persister.ModuleVersion, error)
LoadModuleVersion calls LoadModuleVersionFunc.
func (*DataStoreQueriesStub) LoadModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) LoadModuleVersionCalls() []struct { Ctx context.Context ID int64 }
LoadModuleVersionCalls gets all the calls that were made to LoadModuleVersion. Check the length with:
len(mockedDataStoreQueries.LoadModuleVersionCalls())
func (*DataStoreQueriesStub) LoadPackage ¶
func (mock *DataStoreQueriesStub) LoadPackage(ctx context.Context, id int64) (persister.Package, error)
LoadPackage calls LoadPackageFunc.
func (*DataStoreQueriesStub) LoadPackageCalls ¶
func (mock *DataStoreQueriesStub) LoadPackageCalls() []struct { Ctx context.Context ID int64 }
LoadPackageCalls gets all the calls that were made to LoadPackage. Check the length with:
len(mockedDataStoreQueries.LoadPackageCalls())
func (*DataStoreQueriesStub) LoadPackageType ¶
func (mock *DataStoreQueriesStub) LoadPackageType(ctx context.Context, id int64) (persister.PackageType, error)
LoadPackageType calls LoadPackageTypeFunc.
func (*DataStoreQueriesStub) LoadPackageTypeCalls ¶
func (mock *DataStoreQueriesStub) LoadPackageTypeCalls() []struct { Ctx context.Context ID int64 }
LoadPackageTypeCalls gets all the calls that were made to LoadPackageType. Check the length with:
len(mockedDataStoreQueries.LoadPackageTypeCalls())
func (*DataStoreQueriesStub) LoadPackageVersion ¶
func (mock *DataStoreQueriesStub) LoadPackageVersion(ctx context.Context, id int64) (persister.PackageVersion, error)
LoadPackageVersion calls LoadPackageVersionFunc.
func (*DataStoreQueriesStub) LoadPackageVersionCalls ¶
func (mock *DataStoreQueriesStub) LoadPackageVersionCalls() []struct { Ctx context.Context ID int64 }
LoadPackageVersionCalls gets all the calls that were made to LoadPackageVersion. Check the length with:
len(mockedDataStoreQueries.LoadPackageVersionCalls())
func (*DataStoreQueriesStub) LoadProject ¶
func (mock *DataStoreQueriesStub) LoadProject(ctx context.Context, id int64) (persister.Project, error)
LoadProject calls LoadProjectFunc.
func (*DataStoreQueriesStub) LoadProjectByName ¶
func (mock *DataStoreQueriesStub) LoadProjectByName(ctx context.Context, name string) (persister.Project, error)
LoadProjectByName calls LoadProjectByNameFunc.
func (*DataStoreQueriesStub) LoadProjectByNameCalls ¶
func (mock *DataStoreQueriesStub) LoadProjectByNameCalls() []struct { Ctx context.Context Name string }
LoadProjectByNameCalls gets all the calls that were made to LoadProjectByName. Check the length with:
len(mockedDataStoreQueries.LoadProjectByNameCalls())
func (*DataStoreQueriesStub) LoadProjectByRepoURL ¶
func (mock *DataStoreQueriesStub) LoadProjectByRepoURL(ctx context.Context, repoUrl string) (persister.Project, error)
LoadProjectByRepoURL calls LoadProjectByRepoURLFunc.
func (*DataStoreQueriesStub) LoadProjectByRepoURLCalls ¶
func (mock *DataStoreQueriesStub) LoadProjectByRepoURLCalls() []struct { Ctx context.Context RepoUrl string }
LoadProjectByRepoURLCalls gets all the calls that were made to LoadProjectByRepoURL. Check the length with:
len(mockedDataStoreQueries.LoadProjectByRepoURLCalls())
func (*DataStoreQueriesStub) LoadProjectCalls ¶
func (mock *DataStoreQueriesStub) LoadProjectCalls() []struct { Ctx context.Context ID int64 }
LoadProjectCalls gets all the calls that were made to LoadProject. Check the length with:
len(mockedDataStoreQueries.LoadProjectCalls())
func (*DataStoreQueriesStub) LoadProjectRepoURL ¶
LoadProjectRepoURL calls LoadProjectRepoURLFunc.
func (*DataStoreQueriesStub) LoadProjectRepoURLCalls ¶
func (mock *DataStoreQueriesStub) LoadProjectRepoURLCalls() []struct { Ctx context.Context ID int64 }
LoadProjectRepoURLCalls gets all the calls that were made to LoadProjectRepoURL. Check the length with:
len(mockedDataStoreQueries.LoadProjectRepoURLCalls())
func (*DataStoreQueriesStub) LoadSurvey ¶
func (mock *DataStoreQueriesStub) LoadSurvey(ctx context.Context, id int64) (persister.Survey, error)
LoadSurvey calls LoadSurveyFunc.
func (*DataStoreQueriesStub) LoadSurveyByRepoURL ¶
func (mock *DataStoreQueriesStub) LoadSurveyByRepoURL(ctx context.Context, repoUrl string) (persister.LoadSurveyByRepoURLRow, error)
LoadSurveyByRepoURL calls LoadSurveyByRepoURLFunc.
func (*DataStoreQueriesStub) LoadSurveyByRepoURLCalls ¶
func (mock *DataStoreQueriesStub) LoadSurveyByRepoURLCalls() []struct { Ctx context.Context RepoUrl string }
LoadSurveyByRepoURLCalls gets all the calls that were made to LoadSurveyByRepoURL. Check the length with:
len(mockedDataStoreQueries.LoadSurveyByRepoURLCalls())
func (*DataStoreQueriesStub) LoadSurveyCalls ¶
func (mock *DataStoreQueriesStub) LoadSurveyCalls() []struct { Ctx context.Context ID int64 }
LoadSurveyCalls gets all the calls that were made to LoadSurvey. Check the length with:
len(mockedDataStoreQueries.LoadSurveyCalls())
func (*DataStoreQueriesStub) LoadSurveyModule ¶
func (mock *DataStoreQueriesStub) LoadSurveyModule(ctx context.Context, id int64) (persister.SurveyModule, error)
LoadSurveyModule calls LoadSurveyModuleFunc.
func (*DataStoreQueriesStub) LoadSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) LoadSurveyModuleCalls() []struct { Ctx context.Context ID int64 }
LoadSurveyModuleCalls gets all the calls that were made to LoadSurveyModule. Check the length with:
len(mockedDataStoreQueries.LoadSurveyModuleCalls())
func (*DataStoreQueriesStub) LoadSymbolType ¶
func (mock *DataStoreQueriesStub) LoadSymbolType(ctx context.Context, id int64) (persister.SymbolType, error)
LoadSymbolType calls LoadSymbolTypeFunc.
func (*DataStoreQueriesStub) LoadSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) LoadSymbolTypeCalls() []struct { Ctx context.Context ID int64 }
LoadSymbolTypeCalls gets all the calls that were made to LoadSymbolType. Check the length with:
len(mockedDataStoreQueries.LoadSymbolTypeCalls())
func (*DataStoreQueriesStub) LoadTypeCalls ¶
func (mock *DataStoreQueriesStub) LoadTypeCalls() []struct { Ctx context.Context ID int64 }
LoadTypeCalls gets all the calls that were made to LoadType. Check the length with:
len(mockedDataStoreQueries.LoadTypeCalls())
func (*DataStoreQueriesStub) LoadVariable ¶
func (mock *DataStoreQueriesStub) LoadVariable(ctx context.Context, id int64) (persister.Variable, error)
LoadVariable calls LoadVariableFunc.
func (*DataStoreQueriesStub) LoadVariableCalls ¶
func (mock *DataStoreQueriesStub) LoadVariableCalls() []struct { Ctx context.Context ID int64 }
LoadVariableCalls gets all the calls that were made to LoadVariable. Check the length with:
len(mockedDataStoreQueries.LoadVariableCalls())
func (*DataStoreQueriesStub) ResetCalls ¶
func (mock *DataStoreQueriesStub) ResetCalls()
ResetCalls reset all the calls that were made to all mocked methods.
func (*DataStoreQueriesStub) ResetDeleteCategoryCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteCategoryCalls()
ResetDeleteCategoryCalls reset all the calls that were made to DeleteCategory.
func (*DataStoreQueriesStub) ResetDeleteCodebaseByProjectIdAndVersionTagCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteCodebaseByProjectIdAndVersionTagCalls()
ResetDeleteCodebaseByProjectIdAndVersionTagCalls reset all the calls that were made to DeleteCodebaseByProjectIdAndVersionTag.
func (*DataStoreQueriesStub) ResetDeleteCodebaseCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteCodebaseCalls()
ResetDeleteCodebaseCalls reset all the calls that were made to DeleteCodebase.
func (*DataStoreQueriesStub) ResetDeleteCodebaseSurveysCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteCodebaseSurveysCalls()
ResetDeleteCodebaseSurveysCalls reset all the calls that were made to DeleteCodebaseSurveys.
func (*DataStoreQueriesStub) ResetDeleteFileCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteFileCalls()
ResetDeleteFileCalls reset all the calls that were made to DeleteFile.
func (*DataStoreQueriesStub) ResetDeleteImportCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteImportCalls()
ResetDeleteImportCalls reset all the calls that were made to DeleteImport.
func (*DataStoreQueriesStub) ResetDeleteMethodCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteMethodCalls()
ResetDeleteMethodCalls reset all the calls that were made to DeleteMethod.
func (*DataStoreQueriesStub) ResetDeleteModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteModuleCalls()
ResetDeleteModuleCalls reset all the calls that were made to DeleteModule.
func (*DataStoreQueriesStub) ResetDeleteModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteModuleVersionCalls()
ResetDeleteModuleVersionCalls reset all the calls that were made to DeleteModuleVersion.
func (*DataStoreQueriesStub) ResetDeletePackageCalls ¶
func (mock *DataStoreQueriesStub) ResetDeletePackageCalls()
ResetDeletePackageCalls reset all the calls that were made to DeletePackage.
func (*DataStoreQueriesStub) ResetDeletePackageTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetDeletePackageTypeCalls()
ResetDeletePackageTypeCalls reset all the calls that were made to DeletePackageType.
func (*DataStoreQueriesStub) ResetDeletePackageVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetDeletePackageVersionCalls()
ResetDeletePackageVersionCalls reset all the calls that were made to DeletePackageVersion.
func (*DataStoreQueriesStub) ResetDeleteProjectByNameCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteProjectByNameCalls()
ResetDeleteProjectByNameCalls reset all the calls that were made to DeleteProjectByName.
func (*DataStoreQueriesStub) ResetDeleteProjectCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteProjectCalls()
ResetDeleteProjectCalls reset all the calls that were made to DeleteProject.
func (*DataStoreQueriesStub) ResetDeleteSurveyCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteSurveyCalls()
ResetDeleteSurveyCalls reset all the calls that were made to DeleteSurvey.
func (*DataStoreQueriesStub) ResetDeleteSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteSurveyModuleCalls()
ResetDeleteSurveyModuleCalls reset all the calls that were made to DeleteSurveyModule.
func (*DataStoreQueriesStub) ResetDeleteSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteSymbolTypeCalls()
ResetDeleteSymbolTypeCalls reset all the calls that were made to DeleteSymbolType.
func (*DataStoreQueriesStub) ResetDeleteTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteTypeCalls()
ResetDeleteTypeCalls reset all the calls that were made to DeleteType.
func (*DataStoreQueriesStub) ResetDeleteVariableCalls ¶
func (mock *DataStoreQueriesStub) ResetDeleteVariableCalls()
ResetDeleteVariableCalls reset all the calls that were made to DeleteVariable.
func (*DataStoreQueriesStub) ResetInsertCategoryCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertCategoryCalls()
ResetInsertCategoryCalls reset all the calls that were made to InsertCategory.
func (*DataStoreQueriesStub) ResetInsertCodebaseCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertCodebaseCalls()
ResetInsertCodebaseCalls reset all the calls that were made to InsertCodebase.
func (*DataStoreQueriesStub) ResetInsertFileCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertFileCalls()
ResetInsertFileCalls reset all the calls that were made to InsertFile.
func (*DataStoreQueriesStub) ResetInsertImportCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertImportCalls()
ResetInsertImportCalls reset all the calls that were made to InsertImport.
func (*DataStoreQueriesStub) ResetInsertMethodCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertMethodCalls()
ResetInsertMethodCalls reset all the calls that were made to InsertMethod.
func (*DataStoreQueriesStub) ResetInsertModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertModuleCalls()
ResetInsertModuleCalls reset all the calls that were made to InsertModule.
func (*DataStoreQueriesStub) ResetInsertModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertModuleVersionCalls()
ResetInsertModuleVersionCalls reset all the calls that were made to InsertModuleVersion.
func (*DataStoreQueriesStub) ResetInsertPackageCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertPackageCalls()
ResetInsertPackageCalls reset all the calls that were made to InsertPackage.
func (*DataStoreQueriesStub) ResetInsertPackageTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertPackageTypeCalls()
ResetInsertPackageTypeCalls reset all the calls that were made to InsertPackageType.
func (*DataStoreQueriesStub) ResetInsertPackageVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertPackageVersionCalls()
ResetInsertPackageVersionCalls reset all the calls that were made to InsertPackageVersion.
func (*DataStoreQueriesStub) ResetInsertProjectCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertProjectCalls()
ResetInsertProjectCalls reset all the calls that were made to InsertProject.
func (*DataStoreQueriesStub) ResetInsertSurveyCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertSurveyCalls()
ResetInsertSurveyCalls reset all the calls that were made to InsertSurvey.
func (*DataStoreQueriesStub) ResetInsertSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertSurveyModuleCalls()
ResetInsertSurveyModuleCalls reset all the calls that were made to InsertSurveyModule.
func (*DataStoreQueriesStub) ResetInsertSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertSymbolTypeCalls()
ResetInsertSymbolTypeCalls reset all the calls that were made to InsertSymbolType.
func (*DataStoreQueriesStub) ResetInsertTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertTypeCalls()
ResetInsertTypeCalls reset all the calls that were made to InsertType.
func (*DataStoreQueriesStub) ResetInsertVariableCalls ¶
func (mock *DataStoreQueriesStub) ResetInsertVariableCalls()
ResetInsertVariableCalls reset all the calls that were made to InsertVariable.
func (*DataStoreQueriesStub) ResetListCategoriesCalls ¶
func (mock *DataStoreQueriesStub) ResetListCategoriesCalls()
ResetListCategoriesCalls reset all the calls that were made to ListCategories.
func (*DataStoreQueriesStub) ResetListCodebaseSurveysCalls ¶
func (mock *DataStoreQueriesStub) ResetListCodebaseSurveysCalls()
ResetListCodebaseSurveysCalls reset all the calls that were made to ListCodebaseSurveys.
func (*DataStoreQueriesStub) ResetListCodebasesCalls ¶
func (mock *DataStoreQueriesStub) ResetListCodebasesCalls()
ResetListCodebasesCalls reset all the calls that were made to ListCodebases.
func (*DataStoreQueriesStub) ResetListFilesBySurveyCalls ¶
func (mock *DataStoreQueriesStub) ResetListFilesBySurveyCalls()
ResetListFilesBySurveyCalls reset all the calls that were made to ListFilesBySurvey.
func (*DataStoreQueriesStub) ResetListFilesCalls ¶
func (mock *DataStoreQueriesStub) ResetListFilesCalls()
ResetListFilesCalls reset all the calls that were made to ListFiles.
func (*DataStoreQueriesStub) ResetListImportsCalls ¶
func (mock *DataStoreQueriesStub) ResetListImportsCalls()
ResetListImportsCalls reset all the calls that were made to ListImports.
func (*DataStoreQueriesStub) ResetListMethodsCalls ¶
func (mock *DataStoreQueriesStub) ResetListMethodsCalls()
ResetListMethodsCalls reset all the calls that were made to ListMethods.
func (*DataStoreQueriesStub) ResetListModuleVersionsCalls ¶
func (mock *DataStoreQueriesStub) ResetListModuleVersionsCalls()
ResetListModuleVersionsCalls reset all the calls that were made to ListModuleVersions.
func (*DataStoreQueriesStub) ResetListModulesCalls ¶
func (mock *DataStoreQueriesStub) ResetListModulesCalls()
ResetListModulesCalls reset all the calls that were made to ListModules.
func (*DataStoreQueriesStub) ResetListPackageTypesByNameCalls ¶
func (mock *DataStoreQueriesStub) ResetListPackageTypesByNameCalls()
ResetListPackageTypesByNameCalls reset all the calls that were made to ListPackageTypesByName.
func (*DataStoreQueriesStub) ResetListPackageTypesCalls ¶
func (mock *DataStoreQueriesStub) ResetListPackageTypesCalls()
ResetListPackageTypesCalls reset all the calls that were made to ListPackageTypes.
func (*DataStoreQueriesStub) ResetListPackageVersionsCalls ¶
func (mock *DataStoreQueriesStub) ResetListPackageVersionsCalls()
ResetListPackageVersionsCalls reset all the calls that were made to ListPackageVersions.
func (*DataStoreQueriesStub) ResetListPackagesCalls ¶
func (mock *DataStoreQueriesStub) ResetListPackagesCalls()
ResetListPackagesCalls reset all the calls that were made to ListPackages.
func (*DataStoreQueriesStub) ResetListProjectsCalls ¶
func (mock *DataStoreQueriesStub) ResetListProjectsCalls()
ResetListProjectsCalls reset all the calls that were made to ListProjects.
func (*DataStoreQueriesStub) ResetListSurveyModulesCalls ¶
func (mock *DataStoreQueriesStub) ResetListSurveyModulesCalls()
ResetListSurveyModulesCalls reset all the calls that were made to ListSurveyModules.
func (*DataStoreQueriesStub) ResetListSurveysCalls ¶
func (mock *DataStoreQueriesStub) ResetListSurveysCalls()
ResetListSurveysCalls reset all the calls that were made to ListSurveys.
func (*DataStoreQueriesStub) ResetListSymbolTypesByNameCalls ¶
func (mock *DataStoreQueriesStub) ResetListSymbolTypesByNameCalls()
ResetListSymbolTypesByNameCalls reset all the calls that were made to ListSymbolTypesByName.
func (*DataStoreQueriesStub) ResetListSymbolTypesCalls ¶
func (mock *DataStoreQueriesStub) ResetListSymbolTypesCalls()
ResetListSymbolTypesCalls reset all the calls that were made to ListSymbolTypes.
func (*DataStoreQueriesStub) ResetListTypesByFileCalls ¶
func (mock *DataStoreQueriesStub) ResetListTypesByFileCalls()
ResetListTypesByFileCalls reset all the calls that were made to ListTypesByFile.
func (*DataStoreQueriesStub) ResetListTypesBySurveyCalls ¶
func (mock *DataStoreQueriesStub) ResetListTypesBySurveyCalls()
ResetListTypesBySurveyCalls reset all the calls that were made to ListTypesBySurvey.
func (*DataStoreQueriesStub) ResetListTypesCalls ¶
func (mock *DataStoreQueriesStub) ResetListTypesCalls()
ResetListTypesCalls reset all the calls that were made to ListTypes.
func (*DataStoreQueriesStub) ResetListVariablesCalls ¶
func (mock *DataStoreQueriesStub) ResetListVariablesCalls()
ResetListVariablesCalls reset all the calls that were made to ListVariables.
func (*DataStoreQueriesStub) ResetLoadCategoryCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadCategoryCalls()
ResetLoadCategoryCalls reset all the calls that were made to LoadCategory.
func (*DataStoreQueriesStub) ResetLoadCodebaseCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadCodebaseCalls()
ResetLoadCodebaseCalls reset all the calls that were made to LoadCodebase.
func (*DataStoreQueriesStub) ResetLoadCodebaseIDByProjectAndVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadCodebaseIDByProjectAndVersionCalls()
ResetLoadCodebaseIDByProjectAndVersionCalls reset all the calls that were made to LoadCodebaseIDByProjectAndVersion.
func (*DataStoreQueriesStub) ResetLoadCodebaseIdByRepoURLCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadCodebaseIdByRepoURLCalls()
ResetLoadCodebaseIdByRepoURLCalls reset all the calls that were made to LoadCodebaseIdByRepoURL.
func (*DataStoreQueriesStub) ResetLoadFileCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadFileCalls()
ResetLoadFileCalls reset all the calls that were made to LoadFile.
func (*DataStoreQueriesStub) ResetLoadImportCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadImportCalls()
ResetLoadImportCalls reset all the calls that were made to LoadImport.
func (*DataStoreQueriesStub) ResetLoadMethodCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadMethodCalls()
ResetLoadMethodCalls reset all the calls that were made to LoadMethod.
func (*DataStoreQueriesStub) ResetLoadModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadModuleCalls()
ResetLoadModuleCalls reset all the calls that were made to LoadModule.
func (*DataStoreQueriesStub) ResetLoadModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadModuleVersionCalls()
ResetLoadModuleVersionCalls reset all the calls that were made to LoadModuleVersion.
func (*DataStoreQueriesStub) ResetLoadPackageCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadPackageCalls()
ResetLoadPackageCalls reset all the calls that were made to LoadPackage.
func (*DataStoreQueriesStub) ResetLoadPackageTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadPackageTypeCalls()
ResetLoadPackageTypeCalls reset all the calls that were made to LoadPackageType.
func (*DataStoreQueriesStub) ResetLoadPackageVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadPackageVersionCalls()
ResetLoadPackageVersionCalls reset all the calls that were made to LoadPackageVersion.
func (*DataStoreQueriesStub) ResetLoadProjectByNameCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadProjectByNameCalls()
ResetLoadProjectByNameCalls reset all the calls that were made to LoadProjectByName.
func (*DataStoreQueriesStub) ResetLoadProjectByRepoURLCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadProjectByRepoURLCalls()
ResetLoadProjectByRepoURLCalls reset all the calls that were made to LoadProjectByRepoURL.
func (*DataStoreQueriesStub) ResetLoadProjectCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadProjectCalls()
ResetLoadProjectCalls reset all the calls that were made to LoadProject.
func (*DataStoreQueriesStub) ResetLoadProjectRepoURLCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadProjectRepoURLCalls()
ResetLoadProjectRepoURLCalls reset all the calls that were made to LoadProjectRepoURL.
func (*DataStoreQueriesStub) ResetLoadSurveyByRepoURLCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadSurveyByRepoURLCalls()
ResetLoadSurveyByRepoURLCalls reset all the calls that were made to LoadSurveyByRepoURL.
func (*DataStoreQueriesStub) ResetLoadSurveyCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadSurveyCalls()
ResetLoadSurveyCalls reset all the calls that were made to LoadSurvey.
func (*DataStoreQueriesStub) ResetLoadSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadSurveyModuleCalls()
ResetLoadSurveyModuleCalls reset all the calls that were made to LoadSurveyModule.
func (*DataStoreQueriesStub) ResetLoadSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadSymbolTypeCalls()
ResetLoadSymbolTypeCalls reset all the calls that were made to LoadSymbolType.
func (*DataStoreQueriesStub) ResetLoadTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadTypeCalls()
ResetLoadTypeCalls reset all the calls that were made to LoadType.
func (*DataStoreQueriesStub) ResetLoadVariableCalls ¶
func (mock *DataStoreQueriesStub) ResetLoadVariableCalls()
ResetLoadVariableCalls reset all the calls that were made to LoadVariable.
func (*DataStoreQueriesStub) ResetUpdateCategoryCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateCategoryCalls()
ResetUpdateCategoryCalls reset all the calls that were made to UpdateCategory.
func (*DataStoreQueriesStub) ResetUpdateCodebaseByProjectIdAndVersionTagCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateCodebaseByProjectIdAndVersionTagCalls()
ResetUpdateCodebaseByProjectIdAndVersionTagCalls reset all the calls that were made to UpdateCodebaseByProjectIdAndVersionTag.
func (*DataStoreQueriesStub) ResetUpdateCodebaseCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateCodebaseCalls()
ResetUpdateCodebaseCalls reset all the calls that were made to UpdateCodebase.
func (*DataStoreQueriesStub) ResetUpdateFileCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateFileCalls()
ResetUpdateFileCalls reset all the calls that were made to UpdateFile.
func (*DataStoreQueriesStub) ResetUpdateImportCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateImportCalls()
ResetUpdateImportCalls reset all the calls that were made to UpdateImport.
func (*DataStoreQueriesStub) ResetUpdateMethodCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateMethodCalls()
ResetUpdateMethodCalls reset all the calls that were made to UpdateMethod.
func (*DataStoreQueriesStub) ResetUpdateModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateModuleCalls()
ResetUpdateModuleCalls reset all the calls that were made to UpdateModule.
func (*DataStoreQueriesStub) ResetUpdateModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateModuleVersionCalls()
ResetUpdateModuleVersionCalls reset all the calls that were made to UpdateModuleVersion.
func (*DataStoreQueriesStub) ResetUpdatePackageCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdatePackageCalls()
ResetUpdatePackageCalls reset all the calls that were made to UpdatePackage.
func (*DataStoreQueriesStub) ResetUpdatePackageTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdatePackageTypeCalls()
ResetUpdatePackageTypeCalls reset all the calls that were made to UpdatePackageType.
func (*DataStoreQueriesStub) ResetUpdatePackageVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdatePackageVersionCalls()
ResetUpdatePackageVersionCalls reset all the calls that were made to UpdatePackageVersion.
func (*DataStoreQueriesStub) ResetUpdateProjectByNameCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateProjectByNameCalls()
ResetUpdateProjectByNameCalls reset all the calls that were made to UpdateProjectByName.
func (*DataStoreQueriesStub) ResetUpdateProjectCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateProjectCalls()
ResetUpdateProjectCalls reset all the calls that were made to UpdateProject.
func (*DataStoreQueriesStub) ResetUpdateSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateSurveyModuleCalls()
ResetUpdateSurveyModuleCalls reset all the calls that were made to UpdateSurveyModule.
func (*DataStoreQueriesStub) ResetUpdateSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateSymbolTypeCalls()
ResetUpdateSymbolTypeCalls reset all the calls that were made to UpdateSymbolType.
func (*DataStoreQueriesStub) ResetUpdateTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateTypeCalls()
ResetUpdateTypeCalls reset all the calls that were made to UpdateType.
func (*DataStoreQueriesStub) ResetUpdateVariableCalls ¶
func (mock *DataStoreQueriesStub) ResetUpdateVariableCalls()
ResetUpdateVariableCalls reset all the calls that were made to UpdateVariable.
func (*DataStoreQueriesStub) ResetUpsertCategoryCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertCategoryCalls()
ResetUpsertCategoryCalls reset all the calls that were made to UpsertCategory.
func (*DataStoreQueriesStub) ResetUpsertCodebaseCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertCodebaseCalls()
ResetUpsertCodebaseCalls reset all the calls that were made to UpsertCodebase.
func (*DataStoreQueriesStub) ResetUpsertFileCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertFileCalls()
ResetUpsertFileCalls reset all the calls that were made to UpsertFile.
func (*DataStoreQueriesStub) ResetUpsertImportCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertImportCalls()
ResetUpsertImportCalls reset all the calls that were made to UpsertImport.
func (*DataStoreQueriesStub) ResetUpsertModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertModuleCalls()
ResetUpsertModuleCalls reset all the calls that were made to UpsertModule.
func (*DataStoreQueriesStub) ResetUpsertModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertModuleVersionCalls()
ResetUpsertModuleVersionCalls reset all the calls that were made to UpsertModuleVersion.
func (*DataStoreQueriesStub) ResetUpsertPackageCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertPackageCalls()
ResetUpsertPackageCalls reset all the calls that were made to UpsertPackage.
func (*DataStoreQueriesStub) ResetUpsertPackageTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertPackageTypeCalls()
ResetUpsertPackageTypeCalls reset all the calls that were made to UpsertPackageType.
func (*DataStoreQueriesStub) ResetUpsertPackageVersionCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertPackageVersionCalls()
ResetUpsertPackageVersionCalls reset all the calls that were made to UpsertPackageVersion.
func (*DataStoreQueriesStub) ResetUpsertProjectCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertProjectCalls()
ResetUpsertProjectCalls reset all the calls that were made to UpsertProject.
func (*DataStoreQueriesStub) ResetUpsertSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertSurveyModuleCalls()
ResetUpsertSurveyModuleCalls reset all the calls that were made to UpsertSurveyModule.
func (*DataStoreQueriesStub) ResetUpsertSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) ResetUpsertSymbolTypeCalls()
ResetUpsertSymbolTypeCalls reset all the calls that were made to UpsertSymbolType.
func (*DataStoreQueriesStub) ResetWithTxCalls ¶
func (mock *DataStoreQueriesStub) ResetWithTxCalls()
ResetWithTxCalls reset all the calls that were made to WithTx.
func (*DataStoreQueriesStub) UpdateCategory ¶
func (mock *DataStoreQueriesStub) UpdateCategory(ctx context.Context, arg persister.UpdateCategoryParams) error
UpdateCategory calls UpdateCategoryFunc.
func (*DataStoreQueriesStub) UpdateCategoryCalls ¶
func (mock *DataStoreQueriesStub) UpdateCategoryCalls() []struct { Ctx context.Context Arg persister.UpdateCategoryParams }
UpdateCategoryCalls gets all the calls that were made to UpdateCategory. Check the length with:
len(mockedDataStoreQueries.UpdateCategoryCalls())
func (*DataStoreQueriesStub) UpdateCodebase ¶
func (mock *DataStoreQueriesStub) UpdateCodebase(ctx context.Context, arg persister.UpdateCodebaseParams) error
UpdateCodebase calls UpdateCodebaseFunc.
func (*DataStoreQueriesStub) UpdateCodebaseByProjectIdAndVersionTag ¶
func (mock *DataStoreQueriesStub) UpdateCodebaseByProjectIdAndVersionTag(ctx context.Context, arg persister.UpdateCodebaseByProjectIdAndVersionTagParams) error
UpdateCodebaseByProjectIdAndVersionTag calls UpdateCodebaseByProjectIdAndVersionTagFunc.
func (*DataStoreQueriesStub) UpdateCodebaseByProjectIdAndVersionTagCalls ¶
func (mock *DataStoreQueriesStub) UpdateCodebaseByProjectIdAndVersionTagCalls() []struct { Ctx context.Context Arg persister.UpdateCodebaseByProjectIdAndVersionTagParams }
UpdateCodebaseByProjectIdAndVersionTagCalls gets all the calls that were made to UpdateCodebaseByProjectIdAndVersionTag. Check the length with:
len(mockedDataStoreQueries.UpdateCodebaseByProjectIdAndVersionTagCalls())
func (*DataStoreQueriesStub) UpdateCodebaseCalls ¶
func (mock *DataStoreQueriesStub) UpdateCodebaseCalls() []struct { Ctx context.Context Arg persister.UpdateCodebaseParams }
UpdateCodebaseCalls gets all the calls that were made to UpdateCodebase. Check the length with:
len(mockedDataStoreQueries.UpdateCodebaseCalls())
func (*DataStoreQueriesStub) UpdateFile ¶
func (mock *DataStoreQueriesStub) UpdateFile(ctx context.Context, arg persister.UpdateFileParams) error
UpdateFile calls UpdateFileFunc.
func (*DataStoreQueriesStub) UpdateFileCalls ¶
func (mock *DataStoreQueriesStub) UpdateFileCalls() []struct { Ctx context.Context Arg persister.UpdateFileParams }
UpdateFileCalls gets all the calls that were made to UpdateFile. Check the length with:
len(mockedDataStoreQueries.UpdateFileCalls())
func (*DataStoreQueriesStub) UpdateImport ¶
func (mock *DataStoreQueriesStub) UpdateImport(ctx context.Context, arg persister.UpdateImportParams) error
UpdateImport calls UpdateImportFunc.
func (*DataStoreQueriesStub) UpdateImportCalls ¶
func (mock *DataStoreQueriesStub) UpdateImportCalls() []struct { Ctx context.Context Arg persister.UpdateImportParams }
UpdateImportCalls gets all the calls that were made to UpdateImport. Check the length with:
len(mockedDataStoreQueries.UpdateImportCalls())
func (*DataStoreQueriesStub) UpdateMethod ¶
func (mock *DataStoreQueriesStub) UpdateMethod(ctx context.Context, arg persister.UpdateMethodParams) error
UpdateMethod calls UpdateMethodFunc.
func (*DataStoreQueriesStub) UpdateMethodCalls ¶
func (mock *DataStoreQueriesStub) UpdateMethodCalls() []struct { Ctx context.Context Arg persister.UpdateMethodParams }
UpdateMethodCalls gets all the calls that were made to UpdateMethod. Check the length with:
len(mockedDataStoreQueries.UpdateMethodCalls())
func (*DataStoreQueriesStub) UpdateModule ¶
func (mock *DataStoreQueriesStub) UpdateModule(ctx context.Context, arg persister.UpdateModuleParams) error
UpdateModule calls UpdateModuleFunc.
func (*DataStoreQueriesStub) UpdateModuleCalls ¶
func (mock *DataStoreQueriesStub) UpdateModuleCalls() []struct { Ctx context.Context Arg persister.UpdateModuleParams }
UpdateModuleCalls gets all the calls that were made to UpdateModule. Check the length with:
len(mockedDataStoreQueries.UpdateModuleCalls())
func (*DataStoreQueriesStub) UpdateModuleVersion ¶
func (mock *DataStoreQueriesStub) UpdateModuleVersion(ctx context.Context, arg persister.UpdateModuleVersionParams) error
UpdateModuleVersion calls UpdateModuleVersionFunc.
func (*DataStoreQueriesStub) UpdateModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) UpdateModuleVersionCalls() []struct { Ctx context.Context Arg persister.UpdateModuleVersionParams }
UpdateModuleVersionCalls gets all the calls that were made to UpdateModuleVersion. Check the length with:
len(mockedDataStoreQueries.UpdateModuleVersionCalls())
func (*DataStoreQueriesStub) UpdatePackage ¶
func (mock *DataStoreQueriesStub) UpdatePackage(ctx context.Context, arg persister.UpdatePackageParams) error
UpdatePackage calls UpdatePackageFunc.
func (*DataStoreQueriesStub) UpdatePackageCalls ¶
func (mock *DataStoreQueriesStub) UpdatePackageCalls() []struct { Ctx context.Context Arg persister.UpdatePackageParams }
UpdatePackageCalls gets all the calls that were made to UpdatePackage. Check the length with:
len(mockedDataStoreQueries.UpdatePackageCalls())
func (*DataStoreQueriesStub) UpdatePackageType ¶
func (mock *DataStoreQueriesStub) UpdatePackageType(ctx context.Context, arg persister.UpdatePackageTypeParams) error
UpdatePackageType calls UpdatePackageTypeFunc.
func (*DataStoreQueriesStub) UpdatePackageTypeCalls ¶
func (mock *DataStoreQueriesStub) UpdatePackageTypeCalls() []struct { Ctx context.Context Arg persister.UpdatePackageTypeParams }
UpdatePackageTypeCalls gets all the calls that were made to UpdatePackageType. Check the length with:
len(mockedDataStoreQueries.UpdatePackageTypeCalls())
func (*DataStoreQueriesStub) UpdatePackageVersion ¶
func (mock *DataStoreQueriesStub) UpdatePackageVersion(ctx context.Context, arg persister.UpdatePackageVersionParams) error
UpdatePackageVersion calls UpdatePackageVersionFunc.
func (*DataStoreQueriesStub) UpdatePackageVersionCalls ¶
func (mock *DataStoreQueriesStub) UpdatePackageVersionCalls() []struct { Ctx context.Context Arg persister.UpdatePackageVersionParams }
UpdatePackageVersionCalls gets all the calls that were made to UpdatePackageVersion. Check the length with:
len(mockedDataStoreQueries.UpdatePackageVersionCalls())
func (*DataStoreQueriesStub) UpdateProject ¶
func (mock *DataStoreQueriesStub) UpdateProject(ctx context.Context, arg persister.UpdateProjectParams) error
UpdateProject calls UpdateProjectFunc.
func (*DataStoreQueriesStub) UpdateProjectByName ¶
func (mock *DataStoreQueriesStub) UpdateProjectByName(ctx context.Context, arg persister.UpdateProjectByNameParams) error
UpdateProjectByName calls UpdateProjectByNameFunc.
func (*DataStoreQueriesStub) UpdateProjectByNameCalls ¶
func (mock *DataStoreQueriesStub) UpdateProjectByNameCalls() []struct { Ctx context.Context Arg persister.UpdateProjectByNameParams }
UpdateProjectByNameCalls gets all the calls that were made to UpdateProjectByName. Check the length with:
len(mockedDataStoreQueries.UpdateProjectByNameCalls())
func (*DataStoreQueriesStub) UpdateProjectCalls ¶
func (mock *DataStoreQueriesStub) UpdateProjectCalls() []struct { Ctx context.Context Arg persister.UpdateProjectParams }
UpdateProjectCalls gets all the calls that were made to UpdateProject. Check the length with:
len(mockedDataStoreQueries.UpdateProjectCalls())
func (*DataStoreQueriesStub) UpdateSurveyModule ¶
func (mock *DataStoreQueriesStub) UpdateSurveyModule(ctx context.Context, arg persister.UpdateSurveyModuleParams) error
UpdateSurveyModule calls UpdateSurveyModuleFunc.
func (*DataStoreQueriesStub) UpdateSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) UpdateSurveyModuleCalls() []struct { Ctx context.Context Arg persister.UpdateSurveyModuleParams }
UpdateSurveyModuleCalls gets all the calls that were made to UpdateSurveyModule. Check the length with:
len(mockedDataStoreQueries.UpdateSurveyModuleCalls())
func (*DataStoreQueriesStub) UpdateSymbolType ¶
func (mock *DataStoreQueriesStub) UpdateSymbolType(ctx context.Context, arg persister.UpdateSymbolTypeParams) error
UpdateSymbolType calls UpdateSymbolTypeFunc.
func (*DataStoreQueriesStub) UpdateSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) UpdateSymbolTypeCalls() []struct { Ctx context.Context Arg persister.UpdateSymbolTypeParams }
UpdateSymbolTypeCalls gets all the calls that were made to UpdateSymbolType. Check the length with:
len(mockedDataStoreQueries.UpdateSymbolTypeCalls())
func (*DataStoreQueriesStub) UpdateType ¶
func (mock *DataStoreQueriesStub) UpdateType(ctx context.Context, arg persister.UpdateTypeParams) error
UpdateType calls UpdateTypeFunc.
func (*DataStoreQueriesStub) UpdateTypeCalls ¶
func (mock *DataStoreQueriesStub) UpdateTypeCalls() []struct { Ctx context.Context Arg persister.UpdateTypeParams }
UpdateTypeCalls gets all the calls that were made to UpdateType. Check the length with:
len(mockedDataStoreQueries.UpdateTypeCalls())
func (*DataStoreQueriesStub) UpdateVariable ¶
func (mock *DataStoreQueriesStub) UpdateVariable(ctx context.Context, arg persister.UpdateVariableParams) error
UpdateVariable calls UpdateVariableFunc.
func (*DataStoreQueriesStub) UpdateVariableCalls ¶
func (mock *DataStoreQueriesStub) UpdateVariableCalls() []struct { Ctx context.Context Arg persister.UpdateVariableParams }
UpdateVariableCalls gets all the calls that were made to UpdateVariable. Check the length with:
len(mockedDataStoreQueries.UpdateVariableCalls())
func (*DataStoreQueriesStub) UpsertCategory ¶
func (mock *DataStoreQueriesStub) UpsertCategory(ctx context.Context, arg persister.UpsertCategoryParams) (persister.Category, error)
UpsertCategory calls UpsertCategoryFunc.
func (*DataStoreQueriesStub) UpsertCategoryCalls ¶
func (mock *DataStoreQueriesStub) UpsertCategoryCalls() []struct { Ctx context.Context Arg persister.UpsertCategoryParams }
UpsertCategoryCalls gets all the calls that were made to UpsertCategory. Check the length with:
len(mockedDataStoreQueries.UpsertCategoryCalls())
func (*DataStoreQueriesStub) UpsertCodebase ¶
func (mock *DataStoreQueriesStub) UpsertCodebase(ctx context.Context, arg persister.UpsertCodebaseParams) (persister.Codebase, error)
UpsertCodebase calls UpsertCodebaseFunc.
func (*DataStoreQueriesStub) UpsertCodebaseCalls ¶
func (mock *DataStoreQueriesStub) UpsertCodebaseCalls() []struct { Ctx context.Context Arg persister.UpsertCodebaseParams }
UpsertCodebaseCalls gets all the calls that were made to UpsertCodebase. Check the length with:
len(mockedDataStoreQueries.UpsertCodebaseCalls())
func (*DataStoreQueriesStub) UpsertFile ¶
func (mock *DataStoreQueriesStub) UpsertFile(ctx context.Context, arg persister.UpsertFileParams) (persister.File, error)
UpsertFile calls UpsertFileFunc.
func (*DataStoreQueriesStub) UpsertFileCalls ¶
func (mock *DataStoreQueriesStub) UpsertFileCalls() []struct { Ctx context.Context Arg persister.UpsertFileParams }
UpsertFileCalls gets all the calls that were made to UpsertFile. Check the length with:
len(mockedDataStoreQueries.UpsertFileCalls())
func (*DataStoreQueriesStub) UpsertImport ¶
func (mock *DataStoreQueriesStub) UpsertImport(ctx context.Context, arg persister.UpsertImportParams) (persister.Import, error)
UpsertImport calls UpsertImportFunc.
func (*DataStoreQueriesStub) UpsertImportCalls ¶
func (mock *DataStoreQueriesStub) UpsertImportCalls() []struct { Ctx context.Context Arg persister.UpsertImportParams }
UpsertImportCalls gets all the calls that were made to UpsertImport. Check the length with:
len(mockedDataStoreQueries.UpsertImportCalls())
func (*DataStoreQueriesStub) UpsertModule ¶
func (mock *DataStoreQueriesStub) UpsertModule(ctx context.Context, name string) (persister.Module, error)
UpsertModule calls UpsertModuleFunc.
func (*DataStoreQueriesStub) UpsertModuleCalls ¶
func (mock *DataStoreQueriesStub) UpsertModuleCalls() []struct { Ctx context.Context Name string }
UpsertModuleCalls gets all the calls that were made to UpsertModule. Check the length with:
len(mockedDataStoreQueries.UpsertModuleCalls())
func (*DataStoreQueriesStub) UpsertModuleVersion ¶
func (mock *DataStoreQueriesStub) UpsertModuleVersion(ctx context.Context, arg persister.UpsertModuleVersionParams) (persister.ModuleVersion, error)
UpsertModuleVersion calls UpsertModuleVersionFunc.
func (*DataStoreQueriesStub) UpsertModuleVersionCalls ¶
func (mock *DataStoreQueriesStub) UpsertModuleVersionCalls() []struct { Ctx context.Context Arg persister.UpsertModuleVersionParams }
UpsertModuleVersionCalls gets all the calls that were made to UpsertModuleVersion. Check the length with:
len(mockedDataStoreQueries.UpsertModuleVersionCalls())
func (*DataStoreQueriesStub) UpsertPackage ¶
func (mock *DataStoreQueriesStub) UpsertPackage(ctx context.Context, arg persister.UpsertPackageParams) (persister.Package, error)
UpsertPackage calls UpsertPackageFunc.
func (*DataStoreQueriesStub) UpsertPackageCalls ¶
func (mock *DataStoreQueriesStub) UpsertPackageCalls() []struct { Ctx context.Context Arg persister.UpsertPackageParams }
UpsertPackageCalls gets all the calls that were made to UpsertPackage. Check the length with:
len(mockedDataStoreQueries.UpsertPackageCalls())
func (*DataStoreQueriesStub) UpsertPackageType ¶
func (mock *DataStoreQueriesStub) UpsertPackageType(ctx context.Context, arg persister.UpsertPackageTypeParams) (persister.PackageType, error)
UpsertPackageType calls UpsertPackageTypeFunc.
func (*DataStoreQueriesStub) UpsertPackageTypeCalls ¶
func (mock *DataStoreQueriesStub) UpsertPackageTypeCalls() []struct { Ctx context.Context Arg persister.UpsertPackageTypeParams }
UpsertPackageTypeCalls gets all the calls that were made to UpsertPackageType. Check the length with:
len(mockedDataStoreQueries.UpsertPackageTypeCalls())
func (*DataStoreQueriesStub) UpsertPackageVersion ¶
func (mock *DataStoreQueriesStub) UpsertPackageVersion(ctx context.Context, arg persister.UpsertPackageVersionParams) (persister.PackageVersion, error)
UpsertPackageVersion calls UpsertPackageVersionFunc.
func (*DataStoreQueriesStub) UpsertPackageVersionCalls ¶
func (mock *DataStoreQueriesStub) UpsertPackageVersionCalls() []struct { Ctx context.Context Arg persister.UpsertPackageVersionParams }
UpsertPackageVersionCalls gets all the calls that were made to UpsertPackageVersion. Check the length with:
len(mockedDataStoreQueries.UpsertPackageVersionCalls())
func (*DataStoreQueriesStub) UpsertProject ¶
func (mock *DataStoreQueriesStub) UpsertProject(ctx context.Context, arg persister.UpsertProjectParams) (persister.Project, error)
UpsertProject calls UpsertProjectFunc.
func (*DataStoreQueriesStub) UpsertProjectCalls ¶
func (mock *DataStoreQueriesStub) UpsertProjectCalls() []struct { Ctx context.Context Arg persister.UpsertProjectParams }
UpsertProjectCalls gets all the calls that were made to UpsertProject. Check the length with:
len(mockedDataStoreQueries.UpsertProjectCalls())
func (*DataStoreQueriesStub) UpsertSurveyModule ¶
func (mock *DataStoreQueriesStub) UpsertSurveyModule(ctx context.Context, arg persister.UpsertSurveyModuleParams) (persister.SurveyModule, error)
UpsertSurveyModule calls UpsertSurveyModuleFunc.
func (*DataStoreQueriesStub) UpsertSurveyModuleCalls ¶
func (mock *DataStoreQueriesStub) UpsertSurveyModuleCalls() []struct { Ctx context.Context Arg persister.UpsertSurveyModuleParams }
UpsertSurveyModuleCalls gets all the calls that were made to UpsertSurveyModule. Check the length with:
len(mockedDataStoreQueries.UpsertSurveyModuleCalls())
func (*DataStoreQueriesStub) UpsertSymbolType ¶
func (mock *DataStoreQueriesStub) UpsertSymbolType(ctx context.Context, arg persister.UpsertSymbolTypeParams) (persister.SymbolType, error)
UpsertSymbolType calls UpsertSymbolTypeFunc.
func (*DataStoreQueriesStub) UpsertSymbolTypeCalls ¶
func (mock *DataStoreQueriesStub) UpsertSymbolTypeCalls() []struct { Ctx context.Context Arg persister.UpsertSymbolTypeParams }
UpsertSymbolTypeCalls gets all the calls that were made to UpsertSymbolType. Check the length with:
len(mockedDataStoreQueries.UpsertSymbolTypeCalls())
func (*DataStoreQueriesStub) WithTx ¶
func (mock *DataStoreQueriesStub) WithTx(tx *sql.Tx) *persister.Queries
WithTx calls WithTxFunc.
func (*DataStoreQueriesStub) WithTxCalls ¶
func (mock *DataStoreQueriesStub) WithTxCalls() []struct { Tx *sql.Tx }
WithTxCalls gets all the calls that were made to WithTx. Check the length with:
len(mockedDataStoreQueries.WithTxCalls())