Versions in this module Expand all Collapse all v0 v0.2.21 Aug 13, 2021 v0.2.20 Aug 10, 2021 v0.2.19 Jul 28, 2021 v0.2.18 Jul 20, 2021 v0.2.17 Jul 16, 2021 v0.2.16 Jul 9, 2021 v0.2.15 Jul 2, 2021 v0.2.14 Jun 28, 2021 v0.2.13 Jun 22, 2021 v0.2.12 Jun 1, 2021 v0.2.11 May 24, 2021 v0.2.10 May 23, 2021 v0.2.9 May 5, 2021 v0.2.8 Apr 23, 2021 v0.2.7 Apr 12, 2021 v0.2.6 Apr 7, 2021 Changes in this version + const BULK_APPSTORE_DEPLOY_DURABLE + const BULK_APPSTORE_DEPLOY_GROUP + const BULK_APPSTORE_DEPLOY_TOPIC + const CLUSTER_COMPONENT_DIR_PATH + const DEFAULT_ENVIRONMENT_OR_NAMESPACE_OR_PROJECT + const REFERENCE_TYPE_DEFAULT + const REFERENCE_TYPE_DEPLOYED + const REFERENCE_TYPE_EXISTING + const REFERENCE_TYPE_TEMPLATE + var CHART_PROXY_TEMPLATE = "reference-chart-proxy" + var REQUIREMENTS_YAML_FILE = "requirements.yaml" + var VALUES_YAML_FILE = "values.yaml" + type AcdConfigMapRepositoriesDto struct + CaSecret *KeyDto + CertSecret *KeyDto + KeySecret *KeyDto + Name string + PasswordSecret *KeyDto + Type string + Url string + UsernameSecret *KeyDto + type AppNames struct + Exists bool + Name string + SuggestedName string + type AppSotoreVersionDTOWrapper struct + Values []*AppStoreVersionValuesCategoryWiseDTO + type AppStoreApplication struct + Active bool + AppStoreApplicationVersions []*AppStoreApplicationVersionResponse + ChartGitLocation string + ChartRepoId int + CreatedOn time.Time + Id int + Name string + UpdatedOn time.Time + type AppStoreApplicationVersionResponse struct + AppStoreApplicationName string + AppStoreId int + AppVersion string + ChartName string + ChartYaml string + Created time.Time + CreatedOn time.Time + Deprecated bool + Description string + Digest string + Home string + Icon string + Id int + IsChartRepoActive bool + Latest bool + Name string + RawValues string + Readme string + Source string + UpdatedOn time.Time + ValuesYaml string + Version string + type AppStoreService interface + CreateChartRepo func(request *ChartRepoDto) (*chartConfig.ChartRepo, error) + FindAllApps func(filter *appstore.AppStoreFilter) ([]appstore.AppStoreWithVersion, error) + FindAppDetailsForAppstoreApplication func(installedAppId, envId int) (bean.AppDetailContainer, error) + FindChartDetailsById func(id int) (AppStoreApplicationVersionResponse, error) + FindChartVersionsByAppStoreId func(appStoreId int) ([]AppStoreVersionsResponse, error) + GetChartRepoById func(id int) (*ChartRepoDto, error) + GetChartRepoList func() ([]*ChartRepoDto, error) + GetReadMeByAppStoreApplicationVersionId func(id int) (*ReadmeRes, error) + SearchAppStoreChartByName func(chartName string) ([]*appstore.ChartRepoSearch, error) + UpdateChartRepo func(request *ChartRepoDto) (*chartConfig.ChartRepo, error) + type AppStoreServiceImpl struct + K8sUtil *util.K8sUtil + func NewAppStoreServiceImpl(logger *zap.SugaredLogger, appStoreRepository appstore.AppStoreRepository, ...) *AppStoreServiceImpl + func (impl *AppStoreServiceImpl) CreateChartRepo(request *ChartRepoDto) (*chartConfig.ChartRepo, error) + func (impl *AppStoreServiceImpl) FindAllApps(filter *appstore.AppStoreFilter) ([]appstore.AppStoreWithVersion, error) + func (impl *AppStoreServiceImpl) FindAppDetailsForAppstoreApplication(installedAppId, envId int) (bean.AppDetailContainer, error) + func (impl *AppStoreServiceImpl) FindChartDetailsById(id int) (AppStoreApplicationVersionResponse, error) + func (impl *AppStoreServiceImpl) FindChartVersionsByAppStoreId(appStoreId int) ([]AppStoreVersionsResponse, error) + func (impl *AppStoreServiceImpl) GetChartRepoById(id int) (*ChartRepoDto, error) + func (impl *AppStoreServiceImpl) GetChartRepoList() ([]*ChartRepoDto, error) + func (impl *AppStoreServiceImpl) GetReadMeByAppStoreApplicationVersionId(id int) (*ReadmeRes, error) + func (impl *AppStoreServiceImpl) SearchAppStoreChartByName(chartName string) ([]*appstore.ChartRepoSearch, error) + func (impl *AppStoreServiceImpl) UpdateChartRepo(request *ChartRepoDto) (*chartConfig.ChartRepo, error) + type AppStoreValuesService interface + CreateAppStoreVersionValues func(model *AppStoreVersionValuesDTO) (*AppStoreVersionValuesDTO, error) + DeleteAppStoreVersionValues func(appStoreValueId int) (bool, error) + FindValuesByAppStoreId func(appStoreId int, installedAppVersionId int) (*AppSotoreVersionDTOWrapper, error) + FindValuesByAppStoreIdAndReferenceType func(appStoreVersionId int, referenceType string) ([]*AppStoreVersionValuesDTO, error) + FindValuesByIdAndKind func(referenceId int, kind string) (*AppStoreVersionValuesDTO, error) + GetSelectedChartMetaData func(req *ChartMetaDataRequestWrapper) ([]*ChartMetaDataResponse, error) + UpdateAppStoreVersionValues func(model *AppStoreVersionValuesDTO) (*AppStoreVersionValuesDTO, error) + type AppStoreValuesServiceImpl struct + func NewAppStoreValuesServiceImpl(logger *zap.SugaredLogger, appStoreRepository appstore.AppStoreRepository, ...) *AppStoreValuesServiceImpl + func (impl AppStoreValuesServiceImpl) CreateAppStoreVersionValues(request *AppStoreVersionValuesDTO) (*AppStoreVersionValuesDTO, error) + func (impl AppStoreValuesServiceImpl) DeleteAppStoreVersionValues(appStoreValueId int) (bool, error) + func (impl AppStoreValuesServiceImpl) FindValuesByAppStoreId(appStoreId int, installedAppVersionId int) (*AppSotoreVersionDTOWrapper, error) + func (impl AppStoreValuesServiceImpl) FindValuesByAppStoreIdAndReferenceType(appStoreId int, referenceType string) ([]*AppStoreVersionValuesDTO, error) + func (impl AppStoreValuesServiceImpl) FindValuesByIdAndKind(referenceId int, kind string) (*AppStoreVersionValuesDTO, error) + func (impl AppStoreValuesServiceImpl) GetSelectedChartMetaData(req *ChartMetaDataRequestWrapper) ([]*ChartMetaDataResponse, error) + func (impl AppStoreValuesServiceImpl) UpdateAppStoreVersionValues(request *AppStoreVersionValuesDTO) (*AppStoreVersionValuesDTO, error) + type AppStoreVersionValuesCategoryWiseDTO struct + Kind string + Values []*AppStoreVersionValuesDTO + type AppStoreVersionValuesDTO struct + AppStoreVersionId int + ChartVersion string + EnvironmentName string + Id int + Name string + UserId int32 + Values string + type AppStoreVersionsResponse struct + Id int + Version string + type ChartComponent struct + Name string + Values string + type ChartComponents struct + ChartComponent []*ChartComponent + type ChartGroupBean struct + ChartGroupEntries []*ChartGroupEntryBean + Description string + Id int + InstalledChartData []*InstalledChartData + Name string + UserId int32 + type ChartGroupEntryBean struct + AppStoreApplicationVersionId int + AppStoreValuesChartVersion string + AppStoreValuesVersionId int + AppStoreValuesVersionName string + ChartMetaData *ChartMetaData + Id int + ReferenceType string + type ChartGroupInstallAppRes struct + type ChartGroupInstallChartRequest struct + AppName string + AppStoreVersion int + ChartGroupEntryId int + DefaultClusterComponent bool + EnvironmentId int + ReferenceValueId int + ReferenceValueKind string + ValuesOverrideYaml string + type ChartGroupInstallRequest struct + ChartGroupId int + ChartGroupInstallChartRequest []*ChartGroupInstallChartRequest + ProjectId int + UserId int32 + type ChartGroupList struct + Groups []*ChartGroupBean + type ChartGroupService interface + ChartGroupList func(max int) (*ChartGroupList, error) + ChartGroupListMin func(max int) ([]*ChartGroupBean, error) + CreateChartGroup func(req *ChartGroupBean) (*ChartGroupBean, error) + GetChartGroupWithChartMetaData func(chartGroupId int) (*ChartGroupBean, error) + GetChartGroupWithInstallationDetail func(chartGroupId int) (*ChartGroupBean, error) + SaveChartGroupEntries func(req *ChartGroupBean) (*ChartGroupBean, error) + UpdateChartGroup func(req *ChartGroupBean) (*ChartGroupBean, error) + type ChartGroupServiceImpl struct + Logger *zap.SugaredLogger + func NewChartGroupServiceImpl(chartGroupEntriesRepository chartGroup.ChartGroupEntriesRepository, ...) *ChartGroupServiceImpl + func (impl *ChartGroupServiceImpl) ChartGroupList(max int) (*ChartGroupList, error) + func (impl *ChartGroupServiceImpl) ChartGroupListMin(max int) ([]*ChartGroupBean, error) + func (impl *ChartGroupServiceImpl) CreateChartGroup(req *ChartGroupBean) (*ChartGroupBean, error) + func (impl *ChartGroupServiceImpl) GetChartGroupWithChartMetaData(chartGroupId int) (*ChartGroupBean, error) + func (impl *ChartGroupServiceImpl) GetChartGroupWithInstallationDetail(chartGroupId int) (*ChartGroupBean, error) + func (impl *ChartGroupServiceImpl) SaveChartGroupEntries(req *ChartGroupBean) (*ChartGroupBean, error) + func (impl *ChartGroupServiceImpl) UpdateChartGroup(req *ChartGroupBean) (*ChartGroupBean, error) + type ChartMetaData struct + AppStoreApplicationVersion string + AppStoreId int + ChartName string + ChartRepoName string + EnvironmentId int + EnvironmentName string + Icon string + IsChartRepoActive bool + type ChartMetaDataRequest struct + Kind string + Value int + type ChartMetaDataRequestWrapper struct + Values []*ChartMetaDataRequest + type ChartMetaDataResponse struct + AppStoreApplicationVersionId int + ChartName string + ChartRepoName string + Icon string + Kind string + type ChartRepoDto struct + AccessToken string + Active bool + AuthMode repository.AuthMode + Default bool + Id int + Name string + Password string + SshKey string + Url string + UserId int32 + UserName string + type ConfigMapDataDto struct + HelmRepositories string + Repositories string + type Dependencies struct + Dependencies []Dependency + type Dependency struct + Name string + Repository string + Version string + type DeployPayload struct + InstalledAppVersionId int + type HelmRepositoriesData struct + Name string + Url string + type InstallAppVersionDTO struct + ACDAppName string + AppId int + AppName string + AppStoreId int + AppStoreName string + AppStoreVersion int + ChartGroupEntryId int + DefaultClusterComponent bool + Deprecated bool + Environment *cluster.Environment + EnvironmentId int + Id int + InstalledAppId int + InstalledAppVersionId int + Readme string + ReferenceValueId int + ReferenceValueKind string + Status appstore.AppstoreDeploymentStatus + TeamId int + UserId int32 + ValuesOverrideYaml string + type InstalledAppService interface + AppStoreDeployOperationACD func(installAppVersionRequest *InstallAppVersionDTO, ...) (*InstallAppVersionDTO, error) + AppStoreDeployOperationDB func(installAppVersionRequest *InstallAppVersionDTO, tx *pg.Tx) (*InstallAppVersionDTO, error) + AppStoreDeployOperationGIT func(installAppVersionRequest *InstallAppVersionDTO) (*InstallAppVersionDTO, *util.ChartGitAttribute, error) + AppStoreDeployOperationStatusUpdate func(installAppId int, status appstore.AppstoreDeploymentStatus) (bool, error) + CheckAppExists func(appNames []*AppNames) ([]*AppNames, error) + CreateInstalledAppV2 func(installAppVersionRequest *InstallAppVersionDTO, ctx context.Context) (*InstallAppVersionDTO, error) + DeleteInstalledApp func(ctx context.Context, installAppVersionRequest *InstallAppVersionDTO) (*InstallAppVersionDTO, error) + DeployBulk func(chartGroupInstallRequest *ChartGroupInstallRequest) (*ChartGroupInstallAppRes, error) + DeployDefaultChartOnCluster func(bean *cluster2.ClusterBean, userId int32) (bool, error) + DeployDefaultComponent func(chartGroupInstallRequest *ChartGroupInstallRequest) (*ChartGroupInstallAppRes, error) + GetAll func(environments []int) ([]InstalledAppsResponse, error) + GetAllInstalledAppsByAppStoreId func(w http.ResponseWriter, r *http.Request, token string, appStoreId int) ([]InstalledAppsResponse, error) + GetInstalledApp func(id int) (*InstallAppVersionDTO, error) + GetInstalledAppVersion func(id int) (*InstallAppVersionDTO, error) + IsChartRepoActive func(appStoreVersionId int) (bool, error) + UpdateInstalledApp func(ctx context.Context, installAppVersionRequest *InstallAppVersionDTO) (*InstallAppVersionDTO, error) + type InstalledAppServiceImpl struct + ArgoK8sClient argocdServer.ArgoK8sClient + func NewInstalledAppServiceImpl(chartRepository chartConfig.ChartRepository, logger *zap.SugaredLogger, ...) (*InstalledAppServiceImpl, error) + func (impl *InstalledAppServiceImpl) DeployDefaultChartOnCluster(bean *cluster2.ClusterBean, userId int32) (bool, error) + func (impl *InstalledAppServiceImpl) IsChartRepoActive(appStoreVersionId int) (bool, error) + func (impl *InstalledAppServiceImpl) Subscribe() error + func (impl InstalledAppServiceImpl) AppStoreDeployOperationACD(installAppVersionRequest *InstallAppVersionDTO, ...) (*InstallAppVersionDTO, error) + func (impl InstalledAppServiceImpl) AppStoreDeployOperationDB(installAppVersionRequest *InstallAppVersionDTO, tx *pg.Tx) (*InstallAppVersionDTO, error) + func (impl InstalledAppServiceImpl) AppStoreDeployOperationGIT(installAppVersionRequest *InstallAppVersionDTO) (*InstallAppVersionDTO, *util.ChartGitAttribute, error) + func (impl InstalledAppServiceImpl) AppStoreDeployOperationStatusUpdate(installAppId int, status appstore.AppstoreDeploymentStatus) (bool, error) + func (impl InstalledAppServiceImpl) CheckAppExists(appNames []*AppNames) ([]*AppNames, error) + func (impl InstalledAppServiceImpl) CreateInstalledAppV2(installAppVersionRequest *InstallAppVersionDTO, ctx context.Context) (*InstallAppVersionDTO, error) + func (impl InstalledAppServiceImpl) DeleteInstalledApp(ctx context.Context, installAppVersionRequest *InstallAppVersionDTO) (*InstallAppVersionDTO, error) + func (impl InstalledAppServiceImpl) DeployBulk(chartGroupInstallRequest *ChartGroupInstallRequest) (*ChartGroupInstallAppRes, error) + func (impl InstalledAppServiceImpl) DeployDefaultComponent(chartGroupInstallRequest *ChartGroupInstallRequest) (*ChartGroupInstallAppRes, error) + func (impl InstalledAppServiceImpl) GetAll(environments []int) ([]InstalledAppsResponse, error) + func (impl InstalledAppServiceImpl) GetAllInstalledAppsByAppStoreId(w http.ResponseWriter, r *http.Request, token string, appStoreId int) ([]InstalledAppsResponse, error) + func (impl InstalledAppServiceImpl) GetInstalledApp(id int) (*InstallAppVersionDTO, error) + func (impl InstalledAppServiceImpl) GetInstalledAppVersion(id int) (*InstallAppVersionDTO, error) + func (impl InstalledAppServiceImpl) UpdateInstalledApp(ctx context.Context, installAppVersionRequest *InstallAppVersionDTO) (*InstallAppVersionDTO, error) + type InstalledAppsResponse struct + AppName string + AppStoreApplicationName string + AppStoreApplicationVersionId int + ChartName string + DeployedAt time.Time + DeployedBy string + Deprecated bool + EnvironmentId int + EnvironmentName string + Icon string + InstalledAppVersionId int + InstalledAppsId int + Readme string + Status string + type InstalledChart struct + InstalledAppId int + type InstalledChartData struct + InstallationTime time.Time + InstalledCharts []*InstalledChart + type KeyDto struct + Key string + Name string + Url string + type ReadmeRes struct + AppStoreApplicationVersionId int + Readme string + type RefChartProxyDir string + type ValuesCategoryResponse struct + ReferenceType json.RawMessage + ValuesListCategory []ValuesListCategory + type ValuesListCategory struct + AppStoreVersionId int + Id int + Name string + ReferenceId int + ValuesOverride json.RawMessage