Documentation ¶
Overview ¶
Generated by protoc-ddl. protoc-gen-dao-mock: v0.1
Index ¶
- type PermitPullRequest
- func (d *PermitPullRequest) Create(ctx context.Context, permitPullRequest *database.PermitPullRequest, ...) (*database.PermitPullRequest, error)
- func (d *PermitPullRequest) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
- func (d *PermitPullRequest) ListByRepositoryAndNumber(ctx context.Context, repository string, number int32, opt ...dao.ListOption) ([]*database.PermitPullRequest, error)
- func (d *PermitPullRequest) RegisterListByRepositoryAndNumber(repository string, number int32, value []*database.PermitPullRequest, ...)
- func (d *PermitPullRequest) RegisterSelect(id int32, value *database.PermitPullRequest)
- func (d *PermitPullRequest) RegisterSelectMulti(id []int32, value []*database.PermitPullRequest)
- func (d *PermitPullRequest) Select(ctx context.Context, id int32) (*database.PermitPullRequest, error)
- func (d *PermitPullRequest) SelectMulti(ctx context.Context, id ...int32) ([]*database.PermitPullRequest, error)
- func (d *PermitPullRequest) Tx(ctx context.Context, fn func(tx *sql.Tx) error) error
- func (d *PermitPullRequest) Update(ctx context.Context, permitPullRequest *database.PermitPullRequest, ...) error
- type SourceRepository
- func (d *SourceRepository) Create(ctx context.Context, sourceRepository *database.SourceRepository, ...) (*database.SourceRepository, error)
- func (d *SourceRepository) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
- func (d *SourceRepository) ListAll(ctx context.Context, opt ...dao.ListOption) ([]*database.SourceRepository, error)
- func (d *SourceRepository) ListByUrl(ctx context.Context, url string, opt ...dao.ListOption) ([]*database.SourceRepository, error)
- func (d *SourceRepository) RegisterListAll(value []*database.SourceRepository, err error)
- func (d *SourceRepository) RegisterListByUrl(url string, value []*database.SourceRepository, err error)
- func (d *SourceRepository) RegisterSelect(id int32, value *database.SourceRepository)
- func (d *SourceRepository) RegisterSelectMulti(id []int32, value []*database.SourceRepository)
- func (d *SourceRepository) Select(ctx context.Context, id int32) (*database.SourceRepository, error)
- func (d *SourceRepository) SelectMulti(ctx context.Context, id ...int32) ([]*database.SourceRepository, error)
- func (d *SourceRepository) Tx(ctx context.Context, fn func(tx *sql.Tx) error) error
- func (d *SourceRepository) Update(ctx context.Context, sourceRepository *database.SourceRepository, ...) error
- type Task
- func (d *Task) Create(ctx context.Context, task *database.Task, opt ...dao.ExecOption) (*database.Task, error)
- func (d *Task) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
- func (d *Task) ListAll(ctx context.Context, opt ...dao.ListOption) ([]*database.Task, error)
- func (d *Task) ListByRepositoryId(ctx context.Context, repositoryId int32, opt ...dao.ListOption) ([]*database.Task, error)
- func (d *Task) ListByRevision(ctx context.Context, repositoryId int32, revision string, ...) ([]*database.Task, error)
- func (d *Task) ListPending(ctx context.Context, opt ...dao.ListOption) ([]*database.Task, error)
- func (d *Task) ListUniqJobName(ctx context.Context, repositoryId int32, opt ...dao.ListOption) ([]*database.Task, error)
- func (d *Task) RegisterListAll(value []*database.Task, err error)
- func (d *Task) RegisterListByRepositoryId(repositoryId int32, value []*database.Task, err error)
- func (d *Task) RegisterListByRevision(repositoryId int32, revision string, value []*database.Task, err error)
- func (d *Task) RegisterListPending(value []*database.Task, err error)
- func (d *Task) RegisterListUniqJobName(repositoryId int32, value []*database.Task, err error)
- func (d *Task) RegisterSelect(id int32, value *database.Task)
- func (d *Task) RegisterSelectMulti(id []int32, value []*database.Task)
- func (d *Task) Select(ctx context.Context, id int32) (*database.Task, error)
- func (d *Task) SelectMulti(ctx context.Context, id ...int32) ([]*database.Task, error)
- func (d *Task) Tx(ctx context.Context, fn func(tx *sql.Tx) error) error
- func (d *Task) Update(ctx context.Context, task *database.Task, opt ...dao.ExecOption) error
- type TestReport
- func (d *TestReport) Create(ctx context.Context, testReport *database.TestReport, opt ...dao.ExecOption) (*database.TestReport, error)
- func (d *TestReport) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
- func (d *TestReport) ListByTaskId(ctx context.Context, taskId int32, opt ...dao.ListOption) ([]*database.TestReport, error)
- func (d *TestReport) RegisterListByTaskId(taskId int32, value []*database.TestReport, err error)
- func (d *TestReport) RegisterSelect(id int32, value *database.TestReport)
- func (d *TestReport) RegisterSelectMulti(id []int32, value []*database.TestReport)
- func (d *TestReport) Select(ctx context.Context, id int32) (*database.TestReport, error)
- func (d *TestReport) SelectMulti(ctx context.Context, id ...int32) ([]*database.TestReport, error)
- func (d *TestReport) Tx(ctx context.Context, fn func(tx *sql.Tx) error) error
- func (d *TestReport) Update(ctx context.Context, testReport *database.TestReport, opt ...dao.ExecOption) error
- type TrustedUser
- func (d *TrustedUser) Create(ctx context.Context, trustedUser *database.TrustedUser, opt ...dao.ExecOption) (*database.TrustedUser, error)
- func (d *TrustedUser) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
- func (d *TrustedUser) ListAll(ctx context.Context, opt ...dao.ListOption) ([]*database.TrustedUser, error)
- func (d *TrustedUser) ListByGithubId(ctx context.Context, githubId int64, opt ...dao.ListOption) ([]*database.TrustedUser, error)
- func (d *TrustedUser) RegisterListAll(value []*database.TrustedUser, err error)
- func (d *TrustedUser) RegisterListByGithubId(githubId int64, value []*database.TrustedUser, err error)
- func (d *TrustedUser) RegisterSelect(id int32, value *database.TrustedUser)
- func (d *TrustedUser) RegisterSelectMulti(id []int32, value []*database.TrustedUser)
- func (d *TrustedUser) Select(ctx context.Context, id int32) (*database.TrustedUser, error)
- func (d *TrustedUser) SelectMulti(ctx context.Context, id ...int32) ([]*database.TrustedUser, error)
- func (d *TrustedUser) Tx(ctx context.Context, fn func(tx *sql.Tx) error) error
- func (d *TrustedUser) Update(ctx context.Context, trustedUser *database.TrustedUser, opt ...dao.ExecOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermitPullRequest ¶
func NewPermitPullRequest ¶
func NewPermitPullRequest() *PermitPullRequest
func (*PermitPullRequest) Create ¶
func (d *PermitPullRequest) Create(ctx context.Context, permitPullRequest *database.PermitPullRequest, opt ...dao.ExecOption) (*database.PermitPullRequest, error)
func (*PermitPullRequest) Delete ¶
func (d *PermitPullRequest) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
func (*PermitPullRequest) ListByRepositoryAndNumber ¶
func (d *PermitPullRequest) ListByRepositoryAndNumber(ctx context.Context, repository string, number int32, opt ...dao.ListOption) ([]*database.PermitPullRequest, error)
func (*PermitPullRequest) RegisterListByRepositoryAndNumber ¶
func (d *PermitPullRequest) RegisterListByRepositoryAndNumber(repository string, number int32, value []*database.PermitPullRequest, err error)
func (*PermitPullRequest) RegisterSelect ¶
func (d *PermitPullRequest) RegisterSelect(id int32, value *database.PermitPullRequest)
func (*PermitPullRequest) RegisterSelectMulti ¶
func (d *PermitPullRequest) RegisterSelectMulti(id []int32, value []*database.PermitPullRequest)
func (*PermitPullRequest) Select ¶
func (d *PermitPullRequest) Select(ctx context.Context, id int32) (*database.PermitPullRequest, error)
func (*PermitPullRequest) SelectMulti ¶
func (d *PermitPullRequest) SelectMulti(ctx context.Context, id ...int32) ([]*database.PermitPullRequest, error)
func (*PermitPullRequest) Update ¶
func (d *PermitPullRequest) Update(ctx context.Context, permitPullRequest *database.PermitPullRequest, opt ...dao.ExecOption) error
type SourceRepository ¶
func NewSourceRepository ¶
func NewSourceRepository() *SourceRepository
func (*SourceRepository) Create ¶
func (d *SourceRepository) Create(ctx context.Context, sourceRepository *database.SourceRepository, opt ...dao.ExecOption) (*database.SourceRepository, error)
func (*SourceRepository) Delete ¶
func (d *SourceRepository) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
func (*SourceRepository) ListAll ¶
func (d *SourceRepository) ListAll(ctx context.Context, opt ...dao.ListOption) ([]*database.SourceRepository, error)
func (*SourceRepository) ListByUrl ¶
func (d *SourceRepository) ListByUrl(ctx context.Context, url string, opt ...dao.ListOption) ([]*database.SourceRepository, error)
func (*SourceRepository) RegisterListAll ¶
func (d *SourceRepository) RegisterListAll(value []*database.SourceRepository, err error)
func (*SourceRepository) RegisterListByUrl ¶
func (d *SourceRepository) RegisterListByUrl(url string, value []*database.SourceRepository, err error)
func (*SourceRepository) RegisterSelect ¶
func (d *SourceRepository) RegisterSelect(id int32, value *database.SourceRepository)
func (*SourceRepository) RegisterSelectMulti ¶
func (d *SourceRepository) RegisterSelectMulti(id []int32, value []*database.SourceRepository)
func (*SourceRepository) Select ¶
func (d *SourceRepository) Select(ctx context.Context, id int32) (*database.SourceRepository, error)
func (*SourceRepository) SelectMulti ¶
func (d *SourceRepository) SelectMulti(ctx context.Context, id ...int32) ([]*database.SourceRepository, error)
func (*SourceRepository) Update ¶
func (d *SourceRepository) Update(ctx context.Context, sourceRepository *database.SourceRepository, opt ...dao.ExecOption) error
type Task ¶
func (*Task) ListByRepositoryId ¶
func (*Task) ListByRevision ¶
func (*Task) ListPending ¶
func (*Task) ListUniqJobName ¶
func (*Task) RegisterListByRepositoryId ¶
func (*Task) RegisterListByRevision ¶
func (*Task) RegisterListPending ¶
func (*Task) RegisterListUniqJobName ¶
func (*Task) RegisterSelectMulti ¶
func (*Task) SelectMulti ¶
type TestReport ¶
func NewTestReport ¶
func NewTestReport() *TestReport
func (*TestReport) Create ¶
func (d *TestReport) Create(ctx context.Context, testReport *database.TestReport, opt ...dao.ExecOption) (*database.TestReport, error)
func (*TestReport) Delete ¶
func (d *TestReport) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
func (*TestReport) ListByTaskId ¶
func (d *TestReport) ListByTaskId(ctx context.Context, taskId int32, opt ...dao.ListOption) ([]*database.TestReport, error)
func (*TestReport) RegisterListByTaskId ¶
func (d *TestReport) RegisterListByTaskId(taskId int32, value []*database.TestReport, err error)
func (*TestReport) RegisterSelect ¶
func (d *TestReport) RegisterSelect(id int32, value *database.TestReport)
func (*TestReport) RegisterSelectMulti ¶
func (d *TestReport) RegisterSelectMulti(id []int32, value []*database.TestReport)
func (*TestReport) Select ¶
func (d *TestReport) Select(ctx context.Context, id int32) (*database.TestReport, error)
func (*TestReport) SelectMulti ¶
func (d *TestReport) SelectMulti(ctx context.Context, id ...int32) ([]*database.TestReport, error)
func (*TestReport) Update ¶
func (d *TestReport) Update(ctx context.Context, testReport *database.TestReport, opt ...dao.ExecOption) error
type TrustedUser ¶
func NewTrustedUser ¶
func NewTrustedUser() *TrustedUser
func (*TrustedUser) Create ¶
func (d *TrustedUser) Create(ctx context.Context, trustedUser *database.TrustedUser, opt ...dao.ExecOption) (*database.TrustedUser, error)
func (*TrustedUser) Delete ¶
func (d *TrustedUser) Delete(ctx context.Context, id int32, opt ...dao.ExecOption) error
func (*TrustedUser) ListAll ¶
func (d *TrustedUser) ListAll(ctx context.Context, opt ...dao.ListOption) ([]*database.TrustedUser, error)
func (*TrustedUser) ListByGithubId ¶
func (d *TrustedUser) ListByGithubId(ctx context.Context, githubId int64, opt ...dao.ListOption) ([]*database.TrustedUser, error)
func (*TrustedUser) RegisterListAll ¶
func (d *TrustedUser) RegisterListAll(value []*database.TrustedUser, err error)
func (*TrustedUser) RegisterListByGithubId ¶
func (d *TrustedUser) RegisterListByGithubId(githubId int64, value []*database.TrustedUser, err error)
func (*TrustedUser) RegisterSelect ¶
func (d *TrustedUser) RegisterSelect(id int32, value *database.TrustedUser)
func (*TrustedUser) RegisterSelectMulti ¶
func (d *TrustedUser) RegisterSelectMulti(id []int32, value []*database.TrustedUser)
func (*TrustedUser) Select ¶
func (d *TrustedUser) Select(ctx context.Context, id int32) (*database.TrustedUser, error)
func (*TrustedUser) SelectMulti ¶
func (d *TrustedUser) SelectMulti(ctx context.Context, id ...int32) ([]*database.TrustedUser, error)
func (*TrustedUser) Update ¶
func (d *TrustedUser) Update(ctx context.Context, trustedUser *database.TrustedUser, opt ...dao.ExecOption) error
Click to show internal directories.
Click to hide internal directories.