job

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraGetter added in v1.2.2

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

InfraGetter gets the infra config for job workflows

func NewJobInfraGetter

func NewJobInfraGetter(logger *zap.SugaredLogger,
	configMapService read.ConfigReadService,
	infraConfigAuditService audit.InfraConfigAuditService) (*InfraGetter, error)

func (*InfraGetter) GetConfigurationsByScopeAndTargetPlatforms added in v1.2.2

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

GetConfigurationsByScopeAndTargetPlatforms gets infra config for ci workflows using the Scope

func (*InfraGetter) SaveInfraConfigHistorySnapshot added in v1.2.2

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