Documentation ¶
Index ¶
- type DeploymentConfigurationService
- type DeploymentConfigurationServiceImpl
- func (impl *DeploymentConfigurationServiceImpl) CompareCategoryWiseConfigData(ctx context.Context, comparisonRequestDto bean2.ComparisonRequestDto, ...) (*bean2.ComparisonResponseDto, error)
- func (impl *DeploymentConfigurationServiceImpl) CompareSecretDataAndMaskIfNecessary(indexVsComparisonItems map[int]*bean2.SecretConfigMetadata) error
- func (impl *DeploymentConfigurationServiceImpl) ConfigAutoComplete(appId int, envId int) (*bean2.ConfigDataResponse, error)
- func (impl *DeploymentConfigurationServiceImpl) GetAllConfigData(ctx context.Context, configDataQueryParams *bean2.ConfigDataQueryParams, ...) (*bean2.DeploymentAndCmCsConfigDto, error)
- func (impl *DeploymentConfigurationServiceImpl) GetManifest(ctx context.Context, manifestRequest *bean2.ManifestRequest) (*bean2.ManifestResponse, error)
- func (impl *DeploymentConfigurationServiceImpl) IsFirstDeployment(pipelineId, wfrId int) (bool, error)
- func (impl *DeploymentConfigurationServiceImpl) ResolveCmCs(ctx context.Context, envId, appId, clusterId int, userHasAdminAccess bool, ...) (*bean2.ResolvedCmCsMetadataDto, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentConfigurationService ¶
type DeploymentConfigurationService interface { ConfigAutoComplete(appId int, envId int) (*bean2.ConfigDataResponse, error) GetAllConfigData(ctx context.Context, configDataQueryParams *bean2.ConfigDataQueryParams, userHasAdminAccess bool) (*bean2.DeploymentAndCmCsConfigDto, error) CompareCategoryWiseConfigData(ctx context.Context, comparisonRequestDto bean2.ComparisonRequestDto, userHasAdminAccess bool) (*bean2.ComparisonResponseDto, error) GetManifest(ctx context.Context, manifestRequest *bean2.ManifestRequest) (*bean2.ManifestResponse, error) }
type DeploymentConfigurationServiceImpl ¶
type DeploymentConfigurationServiceImpl struct { HelmAppReadService read3.HelmAppReadService // contains filtered or unexported fields }
func NewDeploymentConfigurationServiceImpl ¶
func NewDeploymentConfigurationServiceImpl(logger *zap.SugaredLogger, configMapService pipeline.ConfigMapService, appRepository appRepository.AppRepository, environmentRepository repository4.EnvironmentRepository, chartService chartService.ChartService, deploymentTemplateService generateManifest.DeploymentTemplateService, deploymentTemplateHistoryRepository repository3.DeploymentTemplateHistoryRepository, pipelineStrategyHistoryRepository repository3.PipelineStrategyHistoryRepository, configMapHistoryRepository repository3.ConfigMapHistoryRepository, scopedVariableManager variables.ScopedVariableCMCSManager, configMapRepository chartConfig.ConfigMapRepository, deploymentConfigService pipeline.PipelineDeploymentConfigService, chartRefService chartRef.ChartRefService, pipelineRepository pipelineConfig.PipelineRepository, configMapHistoryService configMapAndSecret.ConfigMapHistoryService, deploymentTemplateHistoryReadService read.DeploymentTemplateHistoryReadService, configMapHistoryReadService read2.ConfigMapHistoryReadService, cdWorkflowRepository pipelineConfig.CdWorkflowRepository, envConfigOverrideService read.EnvConfigOverrideService, chartTemplateService util.ChartTemplateService, helmAppClient gRPC.HelmAppClient, helmAppService service.HelmAppService, k8sUtil k8sUtil.K8sService, mergeUtil util.MergeUtil, HelmAppReadService read3.HelmAppReadService, ) (*DeploymentConfigurationServiceImpl, error)
func (*DeploymentConfigurationServiceImpl) CompareCategoryWiseConfigData ¶ added in v1.1.0
func (impl *DeploymentConfigurationServiceImpl) CompareCategoryWiseConfigData(ctx context.Context, comparisonRequestDto bean2.ComparisonRequestDto, userHasAdminAccess bool) (*bean2.ComparisonResponseDto, error)
func (*DeploymentConfigurationServiceImpl) CompareSecretDataAndMaskIfNecessary ¶ added in v1.1.0
func (impl *DeploymentConfigurationServiceImpl) CompareSecretDataAndMaskIfNecessary(indexVsComparisonItems map[int]*bean2.SecretConfigMetadata) error
func (*DeploymentConfigurationServiceImpl) ConfigAutoComplete ¶
func (impl *DeploymentConfigurationServiceImpl) ConfigAutoComplete(appId int, envId int) (*bean2.ConfigDataResponse, error)
func (*DeploymentConfigurationServiceImpl) GetAllConfigData ¶
func (impl *DeploymentConfigurationServiceImpl) GetAllConfigData(ctx context.Context, configDataQueryParams *bean2.ConfigDataQueryParams, userHasAdminAccess bool) (*bean2.DeploymentAndCmCsConfigDto, error)
func (*DeploymentConfigurationServiceImpl) GetManifest ¶ added in v1.1.0
func (impl *DeploymentConfigurationServiceImpl) GetManifest(ctx context.Context, manifestRequest *bean2.ManifestRequest) (*bean2.ManifestResponse, error)
func (*DeploymentConfigurationServiceImpl) IsFirstDeployment ¶ added in v1.1.0
func (impl *DeploymentConfigurationServiceImpl) IsFirstDeployment(pipelineId, wfrId int) (bool, error)
func (*DeploymentConfigurationServiceImpl) ResolveCmCs ¶ added in v1.0.0
func (impl *DeploymentConfigurationServiceImpl) ResolveCmCs(ctx context.Context, envId, appId, clusterId int, userHasAdminAccess bool, resourceName string, resourceType bean.ResourceType, systemMetadata *resourceQualifiers.SystemMetadata) (*bean2.ResolvedCmCsMetadataDto, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.