Documentation
¶
Index ¶
- type DeploymentConfigReadService
- type DeploymentConfigReadServiceImpl
- func (impl *DeploymentConfigReadServiceImpl) GetDeploymentAppTypeForCDInBulk(pipelines []*serviceBean.CDPipelineMinConfig, ...) (map[int]*bean.DeploymentConfigMin, error)
- func (impl *DeploymentConfigReadServiceImpl) GetDeploymentConfigForApp(appId int) (*bean.DeploymentConfig, bool, error)
- func (impl *DeploymentConfigReadServiceImpl) GetDeploymentConfigForAppAndEnv(appLevelConfig *bean.DeploymentConfig, appId, envId int) (*bean.DeploymentConfig, bool, error)
- func (impl *DeploymentConfigReadServiceImpl) GetDeploymentConfigMinForAppAndEnv(appId, envId int) (*bean.DeploymentConfigMin, error)
- func (impl *DeploymentConfigReadServiceImpl) ParseEnvLevelReleaseConfigForDevtronApp(config *bean.DeploymentConfig, appId int, envId int) (*bean.ReleaseConfiguration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentConfigReadService ¶
type DeploymentConfigReadService interface { GetDeploymentConfigMinForAppAndEnv(appId, envId int) (*bean.DeploymentConfigMin, error) GetDeploymentAppTypeForCDInBulk(pipelines []*serviceBean.CDPipelineMinConfig, appIdToGitOpsConfiguredMap map[int]bool) (map[int]*bean.DeploymentConfigMin, error) GetDeploymentConfigForApp(appId int) (*bean.DeploymentConfig, bool, error) GetDeploymentConfigForAppAndEnv(appLevelConfig *bean.DeploymentConfig, appId, envId int) (*bean.DeploymentConfig, bool, error) ParseEnvLevelReleaseConfigForDevtronApp(config *bean.DeploymentConfig, appId int, envId int) (*bean.ReleaseConfiguration, error) }
type DeploymentConfigReadServiceImpl ¶
type DeploymentConfigReadServiceImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentConfigReadServiceImpl ¶ added in v1.4.0
func NewDeploymentConfigReadServiceImpl(logger *zap.SugaredLogger, deploymentConfigRepository deploymentConfig.Repository, envVariables *util.EnvironmentVariables, chartRepository chartRepoRepository.ChartRepository, pipelineRepository pipelineConfig.PipelineRepository, appRepository app.AppRepository, environmentRepository repository.EnvironmentRepository, envConfigOverrideService read.EnvConfigOverrideService, ) *DeploymentConfigReadServiceImpl
func (*DeploymentConfigReadServiceImpl) GetDeploymentAppTypeForCDInBulk ¶ added in v1.4.0
func (impl *DeploymentConfigReadServiceImpl) GetDeploymentAppTypeForCDInBulk(pipelines []*serviceBean.CDPipelineMinConfig, appIdToGitOpsConfiguredMap map[int]bool) (map[int]*bean.DeploymentConfigMin, error)
func (*DeploymentConfigReadServiceImpl) GetDeploymentConfigForApp ¶ added in v1.4.0
func (impl *DeploymentConfigReadServiceImpl) GetDeploymentConfigForApp(appId int) (*bean.DeploymentConfig, bool, error)
func (*DeploymentConfigReadServiceImpl) GetDeploymentConfigForAppAndEnv ¶ added in v1.4.0
func (impl *DeploymentConfigReadServiceImpl) GetDeploymentConfigForAppAndEnv(appLevelConfig *bean.DeploymentConfig, appId, envId int) (*bean.DeploymentConfig, bool, error)
func (*DeploymentConfigReadServiceImpl) GetDeploymentConfigMinForAppAndEnv ¶ added in v1.4.0
func (impl *DeploymentConfigReadServiceImpl) GetDeploymentConfigMinForAppAndEnv(appId, envId int) (*bean.DeploymentConfigMin, error)
func (*DeploymentConfigReadServiceImpl) ParseEnvLevelReleaseConfigForDevtronApp ¶ added in v1.4.0
func (impl *DeploymentConfigReadServiceImpl) ParseEnvLevelReleaseConfigForDevtronApp(config *bean.DeploymentConfig, appId int, envId int) (*bean.ReleaseConfiguration, error)
Click to show internal directories.
Click to hide internal directories.