Documentation
¶
Index ¶
- type InfraConfigAuditRepository
- type InfraConfigAuditRepositoryImpl
- type InfraConfigTriggerHistory
- func (i *InfraConfigTriggerHistory) WithAuditLog(userId int32) *InfraConfigTriggerHistory
- func (i *InfraConfigTriggerHistory) WithPlatform(platform string) *InfraConfigTriggerHistory
- func (i *InfraConfigTriggerHistory) WithWorkflowId(workflowId int) *InfraConfigTriggerHistory
- func (i *InfraConfigTriggerHistory) WithWorkflowType(workflowType WorkflowType) *InfraConfigTriggerHistory
- type WorkflowType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraConfigAuditRepository ¶
type InfraConfigAuditRepository interface {
SaveInfraConfigHistorySnapshot(tx *pg.Tx, infraConfigTriggerHistories []*InfraConfigTriggerHistory) error
}
type InfraConfigAuditRepositoryImpl ¶
type InfraConfigAuditRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewInfraConfigAuditRepositoryImpl ¶
func NewInfraConfigAuditRepositoryImpl(dbConnection *pg.DB) *InfraConfigAuditRepositoryImpl
func (*InfraConfigAuditRepositoryImpl) SaveInfraConfigHistorySnapshot ¶
func (impl *InfraConfigAuditRepositoryImpl) SaveInfraConfigHistorySnapshot(tx *pg.Tx, infraConfigTriggerHistories []*InfraConfigTriggerHistory) error
type InfraConfigTriggerHistory ¶
type InfraConfigTriggerHistory struct {
Id int `sql:"id"`
Key v1.ConfigKey `sql:"key"`
ValueString string `sql:"value_string"`
Platform string `sql:"platform"`
WorkflowId int `sql:"workflow_id"`
WorkflowType WorkflowType `sql:"workflow_type"`
sql.AuditLog
// contains filtered or unexported fields
}
func (*InfraConfigTriggerHistory) WithAuditLog ¶
func (i *InfraConfigTriggerHistory) WithAuditLog(userId int32) *InfraConfigTriggerHistory
func (*InfraConfigTriggerHistory) WithPlatform ¶
func (i *InfraConfigTriggerHistory) WithPlatform(platform string) *InfraConfigTriggerHistory
func (*InfraConfigTriggerHistory) WithWorkflowId ¶
func (i *InfraConfigTriggerHistory) WithWorkflowId(workflowId int) *InfraConfigTriggerHistory
func (*InfraConfigTriggerHistory) WithWorkflowType ¶
func (i *InfraConfigTriggerHistory) WithWorkflowType(workflowType WorkflowType) *InfraConfigTriggerHistory
Click to show internal directories.
Click to hide internal directories.