audit

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraConfigAuditService

type InfraConfigAuditService interface {
	SaveCiInfraConfigHistorySnapshot(tx *pg.Tx, workflowId int, triggeredBy int32, infraConfigs map[string]*infraBean.InfraConfig) error
	GetInfraConfigByWorkflowId(workflowId int, workflowType string) (*infraBean.InfraConfig, error)
	sql.TransactionWrapper
}

type InfraConfigAuditServiceImpl

type InfraConfigAuditServiceImpl struct {
	*sql.TransactionUtilImpl
	// contains filtered or unexported fields
}

func NewInfraConfigAuditServiceImpl

func NewInfraConfigAuditServiceImpl(logger *zap.SugaredLogger,
	infraConfigAuditRepository audit.InfraConfigAuditRepository,
	transactionUtilImpl *sql.TransactionUtilImpl) *InfraConfigAuditServiceImpl

func (*InfraConfigAuditServiceImpl) GetInfraConfigByWorkflowId added in v1.8.0

func (impl *InfraConfigAuditServiceImpl) GetInfraConfigByWorkflowId(workflowId int, workflowType string) (*infraBean.InfraConfig, error)

func (*InfraConfigAuditServiceImpl) SaveCiInfraConfigHistorySnapshot

func (impl *InfraConfigAuditServiceImpl) SaveCiInfraConfigHistorySnapshot(tx *pg.Tx,
	workflowId int, triggeredBy int32, infraConfigs map[string]*infraBean.InfraConfig) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL