audit

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 (*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

type WorkflowType

type WorkflowType string
const (
	CIWorkflowType WorkflowType = "CI"
)

Jump to

Keyboard shortcuts

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