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
Click to show internal directories.
Click to hide internal directories.