Documentation ¶
Index ¶
- Constants
- type AppStoreDeploymentFullModeService
- type AppStoreDeploymentFullModeServiceImpl
- func (impl AppStoreDeploymentFullModeServiceImpl) AppStoreDeployOperationACD(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, ...) (*appStoreBean.InstallAppVersionDTO, error)
- func (impl AppStoreDeploymentFullModeServiceImpl) GetGitOpsRepoName(appName string, environmentName string) (string, error)
- func (impl AppStoreDeploymentFullModeServiceImpl) RegisterInArgo(chartGitAttribute *util.ChartGitAttribute, ctx context.Context) error
- func (impl AppStoreDeploymentFullModeServiceImpl) UpdateRequirementYaml(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, ...) error
- func (impl AppStoreDeploymentFullModeServiceImpl) UpdateValuesYaml(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, tx *pg.Tx) (*appStoreBean.InstallAppVersionDTO, error)
Constants ¶
View Source
const ( DEFAULT_ENVIRONMENT_OR_NAMESPACE_OR_PROJECT = "devtron" CLUSTER_COMPONENT_DIR_PATH = "/cluster/component" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStoreDeploymentFullModeService ¶
type AppStoreDeploymentFullModeService interface { AppStoreDeployOperationACD(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, chartGitAttr *util.ChartGitAttribute, ctx context.Context, tx *pg.Tx) (*appStoreBean.InstallAppVersionDTO, error) //TRACE usages and delete if unused RegisterInArgo(chartGitAttribute *util.ChartGitAttribute, ctx context.Context) error UpdateValuesYaml(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, tx *pg.Tx) (*appStoreBean.InstallAppVersionDTO, error) UpdateRequirementYaml(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, appStoreAppVersion *appStoreDiscoverRepository.AppStoreApplicationVersion) error GetGitOpsRepoName(appName string, environmentName string) (string, error) }
ACD operation and git operation
type AppStoreDeploymentFullModeServiceImpl ¶
type AppStoreDeploymentFullModeServiceImpl struct { ArgoK8sClient argocdServer.ArgoK8sClient ACDConfig *argocdServer.ACDConfig // contains filtered or unexported fields }
func NewAppStoreDeploymentFullModeServiceImpl ¶
func NewAppStoreDeploymentFullModeServiceImpl(logger *zap.SugaredLogger, chartTemplateService util.ChartTemplateService, repositoryService repository.ServiceClient, acdClient application2.ServiceClient, argoK8sClient argocdServer.ArgoK8sClient, aCDAuthConfig *util2.ACDAuthConfig, argoUserService argo.ArgoUserService, pipelineStatusTimelineService status.PipelineStatusTimelineService, appStoreDeploymentCommonService appStoreDeploymentCommon.AppStoreDeploymentCommonService, argoClientWrapperService argocdServer.ArgoClientWrapperService, pubSubClient *pubsub_lib.PubSubClientServiceImpl, installedAppRepositoryHistory repository4.InstalledAppVersionHistoryRepository, ACDConfig *argocdServer.ACDConfig, ) *AppStoreDeploymentFullModeServiceImpl
func (AppStoreDeploymentFullModeServiceImpl) AppStoreDeployOperationACD ¶
func (impl AppStoreDeploymentFullModeServiceImpl) AppStoreDeployOperationACD(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, chartGitAttr *util.ChartGitAttribute, ctx context.Context, tx *pg.Tx) (*appStoreBean.InstallAppVersionDTO, error)
func (AppStoreDeploymentFullModeServiceImpl) GetGitOpsRepoName ¶ added in v0.3.22
func (impl AppStoreDeploymentFullModeServiceImpl) GetGitOpsRepoName(appName string, environmentName string) (string, error)
func (AppStoreDeploymentFullModeServiceImpl) RegisterInArgo ¶
func (impl AppStoreDeploymentFullModeServiceImpl) RegisterInArgo(chartGitAttribute *util.ChartGitAttribute, ctx context.Context) error
func (AppStoreDeploymentFullModeServiceImpl) UpdateRequirementYaml ¶ added in v0.3.22
func (impl AppStoreDeploymentFullModeServiceImpl) UpdateRequirementYaml(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, appStoreAppVersion *appStoreDiscoverRepository.AppStoreApplicationVersion) error
func (AppStoreDeploymentFullModeServiceImpl) UpdateValuesYaml ¶ added in v0.3.22
func (impl AppStoreDeploymentFullModeServiceImpl) UpdateValuesYaml(installAppVersionRequest *appStoreBean.InstallAppVersionDTO, tx *pg.Tx) (*appStoreBean.InstallAppVersionDTO, error)
Click to show internal directories.
Click to hide internal directories.