Documentation
¶
Index ¶
- Variables
- type CdWorkflowStatusLatest
- type CiWorkflowStatusLatest
- type WorkflowStatusLatestService
- type WorkflowStatusLatestServiceImpl
- func (impl *WorkflowStatusLatestServiceImpl) GetCdWorkflowLatestByPipelineIds(pipelineIds []int) ([]*CdWorkflowStatusLatest, error)
- func (impl *WorkflowStatusLatestServiceImpl) GetCiWorkflowStatusLatestByPipelineIds(pipelineIds []int) ([]*pipelineConfig.CiWorkflowStatusLatest, error)
- func (impl *WorkflowStatusLatestServiceImpl) SaveCdWorkflowStatusLatest(tx *pg.Tx, pipelineId, appId, environmentId, workflowRunnerId int, ...) error
- func (impl *WorkflowStatusLatestServiceImpl) SaveCiWorkflowStatusLatest(tx *pg.Tx, pipelineId, appId, ciWorkflowId int, userId int32) error
Constants ¶
This section is empty.
Variables ¶
View Source
var WorkflowStatusLatestWireSet = wire.NewSet( pipelineConfig.NewWorkflowStatusLatestRepositoryImpl, wire.Bind(new(pipelineConfig.WorkflowStatusLatestRepository), new(*pipelineConfig.WorkflowStatusLatestRepositoryImpl)), NewWorkflowStatusLatestServiceImpl, wire.Bind(new(WorkflowStatusLatestService), new(*WorkflowStatusLatestServiceImpl)), )
Functions ¶
This section is empty.
Types ¶
type CdWorkflowStatusLatest ¶
type CiWorkflowStatusLatest ¶
type WorkflowStatusLatestService ¶
type WorkflowStatusLatestService interface { // CI Workflow Status Latest methods SaveCiWorkflowStatusLatest(tx *pg.Tx, pipelineId, appId, ciWorkflowId int, userId int32) error GetCiWorkflowStatusLatestByPipelineIds(pipelineIds []int) ([]*pipelineConfig.CiWorkflowStatusLatest, error) // CD Workflow Status Latest methods SaveCdWorkflowStatusLatest(tx *pg.Tx, pipelineId, appId, environmentId, workflowRunnerId int, workflowType string, userId int32) error GetCdWorkflowLatestByPipelineIds(pipelineIds []int) ([]*CdWorkflowStatusLatest, error) }
type WorkflowStatusLatestServiceImpl ¶
type WorkflowStatusLatestServiceImpl struct {
// contains filtered or unexported fields
}
func NewWorkflowStatusLatestServiceImpl ¶
func NewWorkflowStatusLatestServiceImpl( logger *zap.SugaredLogger, workflowStatusLatestRepository pipelineConfig.WorkflowStatusLatestRepository, ciWorkflowRepository pipelineConfig.CiWorkflowRepository, cdWorkflowRepository pipelineConfig.CdWorkflowRepository, ciPipelineRepository pipelineConfig.CiPipelineRepository, ) *WorkflowStatusLatestServiceImpl
func (*WorkflowStatusLatestServiceImpl) GetCdWorkflowLatestByPipelineIds ¶
func (impl *WorkflowStatusLatestServiceImpl) GetCdWorkflowLatestByPipelineIds(pipelineIds []int) ([]*CdWorkflowStatusLatest, error)
func (*WorkflowStatusLatestServiceImpl) GetCiWorkflowStatusLatestByPipelineIds ¶
func (impl *WorkflowStatusLatestServiceImpl) GetCiWorkflowStatusLatestByPipelineIds(pipelineIds []int) ([]*pipelineConfig.CiWorkflowStatusLatest, error)
func (*WorkflowStatusLatestServiceImpl) SaveCdWorkflowStatusLatest ¶
func (impl *WorkflowStatusLatestServiceImpl) SaveCdWorkflowStatusLatest(tx *pg.Tx, pipelineId, appId, environmentId, workflowRunnerId int, workflowType string, userId int32) error
CD Workflow Status Latest methods implementation
func (*WorkflowStatusLatestServiceImpl) SaveCiWorkflowStatusLatest ¶
Click to show internal directories.
Click to hide internal directories.