repository

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountAnalysesByRepo

func CountAnalysesByRepo(db gorp.SqlExecutor, projectRepositoryID string) (int64, error)

func Delete

func Delete(db gorpmapper.SqlExecutorWithTx, vcsProjectID string, name string) error

func DeleteOldestAnalysis

func DeleteOldestAnalysis(ctx context.Context, db gorpmapper.SqlExecutorWithTx, projectRepositoryID string) error

func LoadAllRepositories

func LoadAllRepositories(ctx context.Context, db gorp.SqlExecutor) ([]sdk.ProjectRepository, error)

func LoadAllRepositoriesByVCSProjectID

func LoadAllRepositoriesByVCSProjectID(ctx context.Context, db gorp.SqlExecutor, vcsProjectID string) ([]sdk.ProjectRepository, error)

func LoadAnalysesByRepo

func LoadAnalysesByRepo(ctx context.Context, db gorp.SqlExecutor, projectRepositoryID string) ([]sdk.ProjectRepositoryAnalysis, error)

func LoadByNameWithoutVCSServer added in v0.53.1

func LoadByNameWithoutVCSServer(ctx context.Context, db gorp.SqlExecutor, repoName string) ([]sdk.ProjectRepository, error)

func LoadRepositoryAnalysisById

func LoadRepositoryAnalysisById(ctx context.Context, db gorp.SqlExecutor, projectRepoID, analysisID string) (*sdk.ProjectRepositoryAnalysis, error)

func LoadRepositoryByName

func LoadRepositoryByName(ctx context.Context, db gorp.SqlExecutor, vcsProjectID string, repoName string, opts ...gorpmapping.GetOptionFunc) (*sdk.ProjectRepository, error)

func LoadRepositoryByVCSAndID

func LoadRepositoryByVCSAndID(ctx context.Context, db gorp.SqlExecutor, vcsProjectID, repoID string, opts ...gorpmapping.GetOptionFunc) (*sdk.ProjectRepository, error)

func LoadRepositoryIDsAnalysisInProgress

func LoadRepositoryIDsAnalysisInProgress(ctx context.Context, db gorp.SqlExecutor) ([]sdk.ProjectRepositoryAnalysis, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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