read

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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