Documentation ¶
Index ¶
- type DeployRepository
- func (deploy *DeployRepository) AddDeploy(modDeploy *models.Deploy) bool
- func (deploy *DeployRepository) DeleteDeploy(id uint) bool
- func (deploy *DeployRepository) ExistDeployByName(where interface{}) bool
- func (deploy *DeployRepository) GetBetweenCount(where string, cycle, count int) interface{}
- func (deploy *DeployRepository) GetDeploy(where interface{}) *models.Deploy
- func (deploy *DeployRepository) GetDeploys(PageNum uint, PageSize uint, total *uint64, where interface{}) *[]models.Deploy
- func (deploy *DeployRepository) GetOkErrorCount(where string) interface{}
- func (deploy *DeployRepository) UpdateDeploy(modDeploy *models.Deploy) bool
- func (deploy *DeployRepository) UpdateDeployByCol(modDeploy *models.Deploy, where map[string]interface{}) bool
- type IDeployRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployRepository ¶
type DeployRepository struct { Log logger.ILogger `inject:""` Base baseRep.BaseRepository `inject:"inline"` Source datasource.IDb `inject:""` }
func (*DeployRepository) AddDeploy ¶
func (deploy *DeployRepository) AddDeploy(modDeploy *models.Deploy) bool
func (*DeployRepository) DeleteDeploy ¶
func (deploy *DeployRepository) DeleteDeploy(id uint) bool
func (*DeployRepository) ExistDeployByName ¶
func (deploy *DeployRepository) ExistDeployByName(where interface{}) bool
func (*DeployRepository) GetBetweenCount ¶
func (deploy *DeployRepository) GetBetweenCount(where string, cycle, count int) interface{}
func (*DeployRepository) GetDeploy ¶
func (deploy *DeployRepository) GetDeploy(where interface{}) *models.Deploy
func (*DeployRepository) GetDeploys ¶
func (*DeployRepository) GetOkErrorCount ¶
func (deploy *DeployRepository) GetOkErrorCount(where string) interface{}
func (*DeployRepository) UpdateDeploy ¶
func (deploy *DeployRepository) UpdateDeploy(modDeploy *models.Deploy) bool
func (*DeployRepository) UpdateDeployByCol ¶
func (deploy *DeployRepository) UpdateDeployByCol(modDeploy *models.Deploy, where map[string]interface{}) bool
type IDeployRepository ¶
type IDeployRepository interface { GetDeploy(where interface{}) *models.Deploy AddDeploy(deploy *models.Deploy) bool UpdateDeploy(deploy *models.Deploy) bool UpdateDeployByCol(deploy *models.Deploy, where map[string]interface{}) bool GetDeploys(PageNum, PageSize uint, total *uint64, where interface{}) *[]models.Deploy GetOkErrorCount(where string) interface{} GetBetweenCount(where string, cycle, count int) interface{} ExistDeployByName(where interface{}) bool DeleteDeploy(id uint) bool }
Click to show internal directories.
Click to hide internal directories.