Documentation ¶
Index ¶
- type ConfigMapRepository
- func (_m *ConfigMapRepository) CreateAppLevel(model *chartConfig.ConfigMapAppModel) (*chartConfig.ConfigMapAppModel, error)
- func (_m *ConfigMapRepository) CreateEnvLevel(model *chartConfig.ConfigMapEnvModel) (*chartConfig.ConfigMapEnvModel, error)
- func (_m *ConfigMapRepository) GetAllAppLevel() ([]chartConfig.ConfigMapAppModel, error)
- func (_m *ConfigMapRepository) GetAllEnvLevel() ([]chartConfig.ConfigMapEnvModel, error)
- func (_m *ConfigMapRepository) GetByAppIdAndEnvIdEnvLevel(appId int, envId int) (*chartConfig.ConfigMapEnvModel, error)
- func (_m *ConfigMapRepository) GetByAppIdAppLevel(appId int) (*chartConfig.ConfigMapAppModel, error)
- func (_m *ConfigMapRepository) GetByIdAppLevel(id int) (*chartConfig.ConfigMapAppModel, error)
- func (_m *ConfigMapRepository) GetByIdEnvLevel(id int) (*chartConfig.ConfigMapEnvModel, error)
- func (_m *ConfigMapRepository) GetEnvLevelByAppId(appId int) ([]*chartConfig.ConfigMapEnvModel, error)
- func (_m *ConfigMapRepository) UpdateAppLevel(model *chartConfig.ConfigMapAppModel) (*chartConfig.ConfigMapAppModel, error)
- func (_m *ConfigMapRepository) UpdateEnvLevel(model *chartConfig.ConfigMapEnvModel) (*chartConfig.ConfigMapEnvModel, error)
- type EnvConfigOverrideRepository
- func (_m *EnvConfigOverrideRepository) ActiveEnvConfigOverride(appId int, environmentId int) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) Delete(envConfigOverride *chartConfig.EnvConfigOverride) error
- func (_m *EnvConfigOverrideRepository) FindChartByAppIdAndEnvIdAndChartRefId(appId int, targetEnvironmentId int, chartRefId int) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) FindChartForAppByAppIdAndEnvId(appId int, targetEnvironmentId int) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) FindChartRefIdsForLatestChartForAppByAppIdAndEnvIds(appId int, targetEnvironmentIds []int) (map[int]int, error)
- func (_m *EnvConfigOverrideRepository) FindLatestChartForAppByAppIdAndEnvId(appId int, targetEnvironmentId int) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) Get(id int) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) GetByAppIdEnvIdAndChartRefId(appId int, envId int, chartRefId int) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) GetByChartAndEnvironment(chartId int, targetEnvironmentId int) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) GetByEnvironment(targetEnvironmentId int) ([]chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) GetEnvConfigByChartId(chartId int) ([]chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) Save(_a0 *chartConfig.EnvConfigOverride) error
- func (_m *EnvConfigOverrideRepository) SaveWithTxn(model *chartConfig.EnvConfigOverride, tx *pg.Tx) error
- func (_m *EnvConfigOverrideRepository) Update(envConfigOverride *chartConfig.EnvConfigOverride) (*chartConfig.EnvConfigOverride, error)
- func (_m *EnvConfigOverrideRepository) UpdateEnvConfigStatus(config *chartConfig.EnvConfigOverride) error
- func (_m *EnvConfigOverrideRepository) UpdateProperties(config *chartConfig.EnvConfigOverride) error
- func (_m *EnvConfigOverrideRepository) UpdateWithTxn(envConfigOverride *chartConfig.EnvConfigOverride, tx *pg.Tx) (*chartConfig.EnvConfigOverride, error)
- type PipelineConfigRepository
- func (_m *PipelineConfigRepository) Delete(pipelineStrategy *chartConfig.PipelineStrategy, tx *pg.Tx) error
- func (_m *PipelineConfigRepository) FindById(id int) (*chartConfig.PipelineStrategy, error)
- func (_m *PipelineConfigRepository) FindByStrategy(strategy chartRepoRepository.DeploymentStrategy) (*chartConfig.PipelineStrategy, error)
- func (_m *PipelineConfigRepository) FindByStrategyAndPipelineId(strategy chartRepoRepository.DeploymentStrategy, pipelineId int) (*chartConfig.PipelineStrategy, error)
- func (_m *PipelineConfigRepository) GetAllStrategyByPipelineId(pipelineId int) ([]*chartConfig.PipelineStrategy, error)
- func (_m *PipelineConfigRepository) GetAllStrategyByPipelineIds(pipelineIds []int) ([]*chartConfig.PipelineStrategy, error)
- func (_m *PipelineConfigRepository) GetDefaultStrategyByPipelineId(pipelineId int) (*chartConfig.PipelineStrategy, error)
- func (_m *PipelineConfigRepository) Save(pipelineStrategy *chartConfig.PipelineStrategy, tx *pg.Tx) error
- func (_m *PipelineConfigRepository) Update(pipelineStrategy *chartConfig.PipelineStrategy, tx *pg.Tx) error
- type PipelineOverrideRepository
- func (_m *PipelineOverrideRepository) FetchHelmTypePipelineOverridesForStatusUpdate() ([]*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) FindById(id int) (*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) FindByPipelineTriggerGitHash(gitHash string) (*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) FindLatestByAppIdAndEnvId(appId int, environmentId int) (*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetAllRelease(appId int, environmentId int) ([]*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetByDeployedImage(appId int, environmentId int, images []string) (*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetByPipelineIdAndReleaseNo(pipelineId int, releaseNo int) ([]*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetCurrentPipelineReleaseCounter(pipelineId int) (int, error)
- func (_m *PipelineOverrideRepository) GetLatestConfigByEnvironmentConfigOverrideId(envConfigOverrideId int) (*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetLatestConfigByRequestIdentifier(requestIdentifier string) (*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetLatestRelease(appId int, environmentId int) (*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetLatestReleaseByPipelineIds(pipelineIds []int) ([]*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) GetLatestReleaseDeploymentType(pipelineIds []int) ([]*chartConfig.PipelineOverride, error)
- func (_m *PipelineOverrideRepository) Save(_a0 *chartConfig.PipelineOverride) error
- func (_m *PipelineOverrideRepository) Update(pipelineOverride *chartConfig.PipelineOverride) error
- func (_m *PipelineOverrideRepository) UpdateStatusByRequestIdentifier(requestId string, newStatus models.ChartStatus) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapRepository ¶ added in v0.6.21
ConfigMapRepository is an autogenerated mock type for the ConfigMapRepository type
func NewConfigMapRepository ¶ added in v0.6.21
func NewConfigMapRepository(t mockConstructorTestingTNewConfigMapRepository) *ConfigMapRepository
NewConfigMapRepository creates a new instance of ConfigMapRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConfigMapRepository) CreateAppLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) CreateAppLevel(model *chartConfig.ConfigMapAppModel) (*chartConfig.ConfigMapAppModel, error)
CreateAppLevel provides a mock function with given fields: model
func (*ConfigMapRepository) CreateEnvLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) CreateEnvLevel(model *chartConfig.ConfigMapEnvModel) (*chartConfig.ConfigMapEnvModel, error)
CreateEnvLevel provides a mock function with given fields: model
func (*ConfigMapRepository) GetAllAppLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) GetAllAppLevel() ([]chartConfig.ConfigMapAppModel, error)
GetAllAppLevel provides a mock function with given fields:
func (*ConfigMapRepository) GetAllEnvLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) GetAllEnvLevel() ([]chartConfig.ConfigMapEnvModel, error)
GetAllEnvLevel provides a mock function with given fields:
func (*ConfigMapRepository) GetByAppIdAndEnvIdEnvLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) GetByAppIdAndEnvIdEnvLevel(appId int, envId int) (*chartConfig.ConfigMapEnvModel, error)
GetByAppIdAndEnvIdEnvLevel provides a mock function with given fields: appId, envId
func (*ConfigMapRepository) GetByAppIdAppLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) GetByAppIdAppLevel(appId int) (*chartConfig.ConfigMapAppModel, error)
GetByAppIdAppLevel provides a mock function with given fields: appId
func (*ConfigMapRepository) GetByIdAppLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) GetByIdAppLevel(id int) (*chartConfig.ConfigMapAppModel, error)
GetByIdAppLevel provides a mock function with given fields: id
func (*ConfigMapRepository) GetByIdEnvLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) GetByIdEnvLevel(id int) (*chartConfig.ConfigMapEnvModel, error)
GetByIdEnvLevel provides a mock function with given fields: id
func (*ConfigMapRepository) GetEnvLevelByAppId ¶ added in v0.6.21
func (_m *ConfigMapRepository) GetEnvLevelByAppId(appId int) ([]*chartConfig.ConfigMapEnvModel, error)
GetEnvLevelByAppId provides a mock function with given fields: appId
func (*ConfigMapRepository) UpdateAppLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) UpdateAppLevel(model *chartConfig.ConfigMapAppModel) (*chartConfig.ConfigMapAppModel, error)
UpdateAppLevel provides a mock function with given fields: model
func (*ConfigMapRepository) UpdateEnvLevel ¶ added in v0.6.21
func (_m *ConfigMapRepository) UpdateEnvLevel(model *chartConfig.ConfigMapEnvModel) (*chartConfig.ConfigMapEnvModel, error)
UpdateEnvLevel provides a mock function with given fields: model
type EnvConfigOverrideRepository ¶ added in v0.6.17
EnvConfigOverrideRepository is an autogenerated mock type for the EnvConfigOverrideRepository type
func NewEnvConfigOverrideRepository ¶ added in v0.6.17
func NewEnvConfigOverrideRepository(t mockConstructorTestingTNewEnvConfigOverrideRepository) *EnvConfigOverrideRepository
NewEnvConfigOverrideRepository creates a new instance of EnvConfigOverrideRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EnvConfigOverrideRepository) ActiveEnvConfigOverride ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) ActiveEnvConfigOverride(appId int, environmentId int) (*chartConfig.EnvConfigOverride, error)
ActiveEnvConfigOverride provides a mock function with given fields: appId, environmentId
func (*EnvConfigOverrideRepository) Delete ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) Delete(envConfigOverride *chartConfig.EnvConfigOverride) error
Delete provides a mock function with given fields: envConfigOverride
func (*EnvConfigOverrideRepository) FindChartByAppIdAndEnvIdAndChartRefId ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) FindChartByAppIdAndEnvIdAndChartRefId(appId int, targetEnvironmentId int, chartRefId int) (*chartConfig.EnvConfigOverride, error)
FindChartByAppIdAndEnvIdAndChartRefId provides a mock function with given fields: appId, targetEnvironmentId, chartRefId
func (*EnvConfigOverrideRepository) FindChartForAppByAppIdAndEnvId ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) FindChartForAppByAppIdAndEnvId(appId int, targetEnvironmentId int) (*chartConfig.EnvConfigOverride, error)
FindChartForAppByAppIdAndEnvId provides a mock function with given fields: appId, targetEnvironmentId
func (*EnvConfigOverrideRepository) FindChartRefIdsForLatestChartForAppByAppIdAndEnvIds ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) FindChartRefIdsForLatestChartForAppByAppIdAndEnvIds(appId int, targetEnvironmentIds []int) (map[int]int, error)
FindChartRefIdsForLatestChartForAppByAppIdAndEnvIds provides a mock function with given fields: appId, targetEnvironmentIds
func (*EnvConfigOverrideRepository) FindLatestChartForAppByAppIdAndEnvId ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) FindLatestChartForAppByAppIdAndEnvId(appId int, targetEnvironmentId int) (*chartConfig.EnvConfigOverride, error)
FindLatestChartForAppByAppIdAndEnvId provides a mock function with given fields: appId, targetEnvironmentId
func (*EnvConfigOverrideRepository) Get ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) Get(id int) (*chartConfig.EnvConfigOverride, error)
Get provides a mock function with given fields: id
func (*EnvConfigOverrideRepository) GetByAppIdEnvIdAndChartRefId ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) GetByAppIdEnvIdAndChartRefId(appId int, envId int, chartRefId int) (*chartConfig.EnvConfigOverride, error)
GetByAppIdEnvIdAndChartRefId provides a mock function with given fields: appId, envId, chartRefId
func (*EnvConfigOverrideRepository) GetByChartAndEnvironment ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) GetByChartAndEnvironment(chartId int, targetEnvironmentId int) (*chartConfig.EnvConfigOverride, error)
GetByChartAndEnvironment provides a mock function with given fields: chartId, targetEnvironmentId
func (*EnvConfigOverrideRepository) GetByEnvironment ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) GetByEnvironment(targetEnvironmentId int) ([]chartConfig.EnvConfigOverride, error)
GetByEnvironment provides a mock function with given fields: targetEnvironmentId
func (*EnvConfigOverrideRepository) GetEnvConfigByChartId ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) GetEnvConfigByChartId(chartId int) ([]chartConfig.EnvConfigOverride, error)
GetEnvConfigByChartId provides a mock function with given fields: chartId
func (*EnvConfigOverrideRepository) Save ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) Save(_a0 *chartConfig.EnvConfigOverride) error
Save provides a mock function with given fields: _a0
func (*EnvConfigOverrideRepository) SaveWithTxn ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) SaveWithTxn(model *chartConfig.EnvConfigOverride, tx *pg.Tx) error
SaveWithTxn provides a mock function with given fields: model, tx
func (*EnvConfigOverrideRepository) Update ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) Update(envConfigOverride *chartConfig.EnvConfigOverride) (*chartConfig.EnvConfigOverride, error)
Update provides a mock function with given fields: envConfigOverride
func (*EnvConfigOverrideRepository) UpdateEnvConfigStatus ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) UpdateEnvConfigStatus(config *chartConfig.EnvConfigOverride) error
UpdateEnvConfigStatus provides a mock function with given fields: config
func (*EnvConfigOverrideRepository) UpdateProperties ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) UpdateProperties(config *chartConfig.EnvConfigOverride) error
UpdateProperties provides a mock function with given fields: config
func (*EnvConfigOverrideRepository) UpdateWithTxn ¶ added in v0.6.17
func (_m *EnvConfigOverrideRepository) UpdateWithTxn(envConfigOverride *chartConfig.EnvConfigOverride, tx *pg.Tx) (*chartConfig.EnvConfigOverride, error)
UpdateWithTxn provides a mock function with given fields: envConfigOverride, tx
type PipelineConfigRepository ¶ added in v0.6.17
PipelineConfigRepository is an autogenerated mock type for the PipelineConfigRepository type
func NewPipelineConfigRepository ¶ added in v0.6.17
func NewPipelineConfigRepository(t mockConstructorTestingTNewPipelineConfigRepository) *PipelineConfigRepository
NewPipelineConfigRepository creates a new instance of PipelineConfigRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PipelineConfigRepository) Delete ¶ added in v0.6.17
func (_m *PipelineConfigRepository) Delete(pipelineStrategy *chartConfig.PipelineStrategy, tx *pg.Tx) error
Delete provides a mock function with given fields: pipelineStrategy, tx
func (*PipelineConfigRepository) FindById ¶ added in v0.6.17
func (_m *PipelineConfigRepository) FindById(id int) (*chartConfig.PipelineStrategy, error)
FindById provides a mock function with given fields: id
func (*PipelineConfigRepository) FindByStrategy ¶ added in v0.6.17
func (_m *PipelineConfigRepository) FindByStrategy(strategy chartRepoRepository.DeploymentStrategy) (*chartConfig.PipelineStrategy, error)
FindByStrategy provides a mock function with given fields: strategy
func (*PipelineConfigRepository) FindByStrategyAndPipelineId ¶ added in v0.6.17
func (_m *PipelineConfigRepository) FindByStrategyAndPipelineId(strategy chartRepoRepository.DeploymentStrategy, pipelineId int) (*chartConfig.PipelineStrategy, error)
FindByStrategyAndPipelineId provides a mock function with given fields: strategy, pipelineId
func (*PipelineConfigRepository) GetAllStrategyByPipelineId ¶ added in v0.6.17
func (_m *PipelineConfigRepository) GetAllStrategyByPipelineId(pipelineId int) ([]*chartConfig.PipelineStrategy, error)
GetAllStrategyByPipelineId provides a mock function with given fields: pipelineId
func (*PipelineConfigRepository) GetAllStrategyByPipelineIds ¶ added in v0.6.17
func (_m *PipelineConfigRepository) GetAllStrategyByPipelineIds(pipelineIds []int) ([]*chartConfig.PipelineStrategy, error)
GetAllStrategyByPipelineIds provides a mock function with given fields: pipelineIds
func (*PipelineConfigRepository) GetDefaultStrategyByPipelineId ¶ added in v0.6.17
func (_m *PipelineConfigRepository) GetDefaultStrategyByPipelineId(pipelineId int) (*chartConfig.PipelineStrategy, error)
GetDefaultStrategyByPipelineId provides a mock function with given fields: pipelineId
func (*PipelineConfigRepository) Save ¶ added in v0.6.17
func (_m *PipelineConfigRepository) Save(pipelineStrategy *chartConfig.PipelineStrategy, tx *pg.Tx) error
Save provides a mock function with given fields: pipelineStrategy, tx
func (*PipelineConfigRepository) Update ¶ added in v0.6.17
func (_m *PipelineConfigRepository) Update(pipelineStrategy *chartConfig.PipelineStrategy, tx *pg.Tx) error
Update provides a mock function with given fields: pipelineStrategy, tx
type PipelineOverrideRepository ¶
PipelineOverrideRepository is an autogenerated mock type for the PipelineOverrideRepository type
func NewPipelineOverrideRepository ¶
func NewPipelineOverrideRepository(t mockConstructorTestingTNewPipelineOverrideRepository) *PipelineOverrideRepository
NewPipelineOverrideRepository creates a new instance of PipelineOverrideRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PipelineOverrideRepository) FetchHelmTypePipelineOverridesForStatusUpdate ¶
func (_m *PipelineOverrideRepository) FetchHelmTypePipelineOverridesForStatusUpdate() ([]*chartConfig.PipelineOverride, error)
FetchHelmTypePipelineOverridesForStatusUpdate provides a mock function with given fields:
func (*PipelineOverrideRepository) FindById ¶
func (_m *PipelineOverrideRepository) FindById(id int) (*chartConfig.PipelineOverride, error)
FindById provides a mock function with given fields: id
func (*PipelineOverrideRepository) FindByPipelineTriggerGitHash ¶
func (_m *PipelineOverrideRepository) FindByPipelineTriggerGitHash(gitHash string) (*chartConfig.PipelineOverride, error)
FindByPipelineTriggerGitHash provides a mock function with given fields: gitHash
func (*PipelineOverrideRepository) FindLatestByAppIdAndEnvId ¶
func (_m *PipelineOverrideRepository) FindLatestByAppIdAndEnvId(appId int, environmentId int) (*chartConfig.PipelineOverride, error)
FindLatestByAppIdAndEnvId provides a mock function with given fields: appId, environmentId
func (*PipelineOverrideRepository) GetAllRelease ¶
func (_m *PipelineOverrideRepository) GetAllRelease(appId int, environmentId int) ([]*chartConfig.PipelineOverride, error)
GetAllRelease provides a mock function with given fields: appId, environmentId
func (*PipelineOverrideRepository) GetByDeployedImage ¶
func (_m *PipelineOverrideRepository) GetByDeployedImage(appId int, environmentId int, images []string) (*chartConfig.PipelineOverride, error)
GetByDeployedImage provides a mock function with given fields: appId, environmentId, images
func (*PipelineOverrideRepository) GetByPipelineIdAndReleaseNo ¶
func (_m *PipelineOverrideRepository) GetByPipelineIdAndReleaseNo(pipelineId int, releaseNo int) ([]*chartConfig.PipelineOverride, error)
GetByPipelineIdAndReleaseNo provides a mock function with given fields: pipelineId, releaseNo
func (*PipelineOverrideRepository) GetCurrentPipelineReleaseCounter ¶
func (_m *PipelineOverrideRepository) GetCurrentPipelineReleaseCounter(pipelineId int) (int, error)
GetCurrentPipelineReleaseCounter provides a mock function with given fields: pipelineId
func (*PipelineOverrideRepository) GetLatestConfigByEnvironmentConfigOverrideId ¶
func (_m *PipelineOverrideRepository) GetLatestConfigByEnvironmentConfigOverrideId(envConfigOverrideId int) (*chartConfig.PipelineOverride, error)
GetLatestConfigByEnvironmentConfigOverrideId provides a mock function with given fields: envConfigOverrideId
func (*PipelineOverrideRepository) GetLatestConfigByRequestIdentifier ¶
func (_m *PipelineOverrideRepository) GetLatestConfigByRequestIdentifier(requestIdentifier string) (*chartConfig.PipelineOverride, error)
GetLatestConfigByRequestIdentifier provides a mock function with given fields: requestIdentifier
func (*PipelineOverrideRepository) GetLatestRelease ¶
func (_m *PipelineOverrideRepository) GetLatestRelease(appId int, environmentId int) (*chartConfig.PipelineOverride, error)
GetLatestRelease provides a mock function with given fields: appId, environmentId
func (*PipelineOverrideRepository) GetLatestReleaseByPipelineIds ¶
func (_m *PipelineOverrideRepository) GetLatestReleaseByPipelineIds(pipelineIds []int) ([]*chartConfig.PipelineOverride, error)
GetLatestReleaseByPipelineIds provides a mock function with given fields: pipelineIds
func (*PipelineOverrideRepository) GetLatestReleaseDeploymentType ¶
func (_m *PipelineOverrideRepository) GetLatestReleaseDeploymentType(pipelineIds []int) ([]*chartConfig.PipelineOverride, error)
GetLatestReleaseDeploymentType provides a mock function with given fields: pipelineIds
func (*PipelineOverrideRepository) Save ¶
func (_m *PipelineOverrideRepository) Save(_a0 *chartConfig.PipelineOverride) error
Save provides a mock function with given fields: _a0
func (*PipelineOverrideRepository) Update ¶
func (_m *PipelineOverrideRepository) Update(pipelineOverride *chartConfig.PipelineOverride) error
Update provides a mock function with given fields: pipelineOverride
func (*PipelineOverrideRepository) UpdateStatusByRequestIdentifier ¶
func (_m *PipelineOverrideRepository) UpdateStatusByRequestIdentifier(requestId string, newStatus models.ChartStatus) (int, error)
UpdateStatusByRequestIdentifier provides a mock function with given fields: requestId, newStatus