Documentation
¶
Index ¶
- func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, e *sdk.Entity) error
- func LoadByBranchTypeName(ctx context.Context, db gorp.SqlExecutor, projectRepositoryID string, ...) (*sdk.Entity, error)
- func LoadByType(ctx context.Context, db gorp.SqlExecutor, projectRepositoryID string, t string, ...) ([]sdk.Entity, error)
- func LoadByTypeAndBranch(ctx context.Context, db gorp.SqlExecutor, projectRepositoryID string, t string, ...) ([]sdk.Entity, error)
- func Update(ctx context.Context, db gorpmapper.SqlExecutorWithTx, e *sdk.Entity) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(ctx context.Context, db gorpmapper.SqlExecutorWithTx, e *sdk.Entity) error
func LoadByBranchTypeName ¶
func LoadByBranchTypeName(ctx context.Context, db gorp.SqlExecutor, projectRepositoryID string, branch string, t string, name string, opts ...gorpmapping.GetOptionFunc) (*sdk.Entity, error)
LoadByBranchTypeName loads an entity by his repository, branch, type and name
func LoadByType ¶
func LoadByType(ctx context.Context, db gorp.SqlExecutor, projectRepositoryID string, t string, opts ...gorpmapping.GetOptionFunc) ([]sdk.Entity, error)
LoadByType loads an entity by his repository, type
func LoadByTypeAndBranch ¶
func LoadByTypeAndBranch(ctx context.Context, db gorp.SqlExecutor, projectRepositoryID string, t string, branch string, opts ...gorpmapping.GetOptionFunc) ([]sdk.Entity, error)
LoadByTypeAndBranch loads an entity by his repository, type and branch
func Update ¶
func Update(ctx context.Context, db gorpmapper.SqlExecutorWithTx, e *sdk.Entity) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.