ci

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: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraGetter

type InfraGetter struct {
	// contains filtered or unexported fields
}

InfraGetter gets infra config for ci workflows

func NewCiInfraGetter

func NewCiInfraGetter(logger *zap.SugaredLogger,
	infraConfigService service.InfraConfigService,
	infraConfigAuditService audit.InfraConfigAuditService) *InfraGetter

func (*InfraGetter) GetConfigurationsByScopeAndTargetPlatforms

func (ciInfraGetter *InfraGetter) GetConfigurationsByScopeAndTargetPlatforms(request *infraGetters.InfraRequest) (map[string]*v1.InfraConfig, error)

GetConfigurationsByScopeAndTargetPlatforms gets infra config for ci workflows using the scope

func (*InfraGetter) SaveInfraConfigHistorySnapshot

func (ciInfraGetter *InfraGetter) SaveInfraConfigHistorySnapshot(workflowId int, triggeredBy int32, infraConfigs map[string]*v1.InfraConfig) error

Jump to

Keyboard shortcuts

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