Documentation ¶
Index ¶
- func Delete(db gorpmapper.SqlExecutorWithTx, projectID int64, name string) error
- func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, ...) error
- func LoadAllVCSByProject(ctx context.Context, db gorp.SqlExecutor, projectKey string, ...) ([]sdk.VCSProject, error)
- func LoadAllVCSGerrit(ctx context.Context, db gorp.SqlExecutor, opts ...gorpmapping.GetOptionFunc) ([]sdk.VCSProject, error)
- func LoadVCSByIDAndProjectKey(ctx context.Context, db gorp.SqlExecutor, projectKey string, vcsID string, ...) (*sdk.VCSProject, error)
- func LoadVCSByProject(ctx context.Context, db gorp.SqlExecutor, projectKey string, vcsName string, ...) (*sdk.VCSProject, error)
- func Update(ctx context.Context, db gorpmapper.SqlExecutorWithTx, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(db gorpmapper.SqlExecutorWithTx, projectID int64, name string) error
func Insert ¶
func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, vcsProject *sdk.VCSProject) error
func LoadAllVCSByProject ¶
func LoadAllVCSByProject(ctx context.Context, db gorp.SqlExecutor, projectKey string, opts ...gorpmapping.GetOptionFunc) ([]sdk.VCSProject, error)
func LoadAllVCSGerrit ¶
func LoadAllVCSGerrit(ctx context.Context, db gorp.SqlExecutor, opts ...gorpmapping.GetOptionFunc) ([]sdk.VCSProject, error)
func LoadVCSByIDAndProjectKey ¶ added in v0.53.1
func LoadVCSByIDAndProjectKey(ctx context.Context, db gorp.SqlExecutor, projectKey string, vcsID string, opts ...gorpmapping.GetOptionFunc) (*sdk.VCSProject, error)
func LoadVCSByProject ¶
func LoadVCSByProject(ctx context.Context, db gorp.SqlExecutor, projectKey string, vcsName string, opts ...gorpmapping.GetOptionFunc) (*sdk.VCSProject, error)
func Update ¶
func Update(ctx context.Context, db gorpmapper.SqlExecutorWithTx, vcsProject *sdk.VCSProject) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.