Documentation
¶
Index ¶
- type WorkflowTriggerAuditService
- type WorkflowTriggerAuditServiceImpl
- func (impl *WorkflowTriggerAuditServiceImpl) GetWorkflowRequestFromSnapshotForRetrigger(workflowId int, workflowType types.WorkflowType) (*types.WorkflowRequest, error)
- func (impl *WorkflowTriggerAuditServiceImpl) SaveTriggerAudit(workflowRequest *types.WorkflowRequest) (*repository.WorkflowConfigSnapshot, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkflowTriggerAuditService ¶
type WorkflowTriggerAuditService interface {
// SaveTriggerAudit saves audit data for CI, Pre-cd and Post-cd trigger
SaveTriggerAudit(workflowRequest *types.WorkflowRequest) (*repository.WorkflowConfigSnapshot, error)
// GetWorkflowRequestFromSnapshotForRetrigger fetches workflow request by workflowId and workflowType from snapshot for retrigger
GetWorkflowRequestFromSnapshotForRetrigger(workflowId int, workflowType types.WorkflowType) (*types.WorkflowRequest, error)
}
type WorkflowTriggerAuditServiceImpl ¶
type WorkflowTriggerAuditServiceImpl struct {
*sql.TransactionUtilImpl
// contains filtered or unexported fields
}
func NewWorkflowTriggerAuditServiceImpl ¶
func NewWorkflowTriggerAuditServiceImpl( logger *zap.SugaredLogger, workflowConfigSnapshotRepository repository.WorkflowConfigSnapshotRepository, config *types.CiCdConfig, dockerRegistryConfig pipeline.DockerRegistryConfig, transactionUtilImpl *sql.TransactionUtilImpl) *WorkflowTriggerAuditServiceImpl
func (*WorkflowTriggerAuditServiceImpl) GetWorkflowRequestFromSnapshotForRetrigger ¶
func (impl *WorkflowTriggerAuditServiceImpl) GetWorkflowRequestFromSnapshotForRetrigger(workflowId int, workflowType types.WorkflowType) (*types.WorkflowRequest, error)
GetWorkflowRequestFromSnapshotForRetrigger retrieves workflow request for retrigger scenarios
func (*WorkflowTriggerAuditServiceImpl) SaveTriggerAudit ¶
func (impl *WorkflowTriggerAuditServiceImpl) SaveTriggerAudit(workflowRequest *types.WorkflowRequest) (*repository.WorkflowConfigSnapshot, error)
Click to show internal directories.
Click to hide internal directories.