Documentation
¶
Index ¶
- type DeploymentConfigurationService
- type DeploymentConfigurationServiceImpl
- 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) 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) }
type DeploymentConfigurationServiceImpl ¶
type DeploymentConfigurationServiceImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentConfigurationServiceImpl ¶
func NewDeploymentConfigurationServiceImpl(logger *zap.SugaredLogger, configMapService pipeline.ConfigMapService, appRepository appRepository.AppRepository, environmentRepository repository.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, deploymentTemplateHistoryService history.DeploymentTemplateHistoryService, configMapHistoryService history.ConfigMapHistoryService, ) (*DeploymentConfigurationServiceImpl, 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) 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)
Click to show internal directories.
Click to hide internal directories.