Documentation ¶
Index ¶
- func GenerateInstallAppVersionDTO(installedApp *repository.InstalledApps, ...) *appStoreBean.InstallAppVersionDTO
- func GenerateInstallAppVersionMinDTO(installedApp *repository.InstalledApps) *appStoreBean.InstallAppVersionDTO
- func GetGeneratedHelmPackageName(appName, envName string, updatedOn time.Time) string
- func NewClusterInstalledAppsModel(chart *appStoreBean.InstallAppVersionDTO, clusterId int) *repository.ClusterInstalledApps
- func NewInstallAppModel(request *appStoreBean.InstallAppVersionDTO, ...) *repository.InstalledApps
- func NewInstallAppVersionHistoryModel(request *appStoreBean.InstallAppVersionDTO, status string, ...) (*repository.InstalledAppVersionHistory, error)
- func NewInstallAppVersionsModel(chart *appStoreBean.InstallAppVersionDTO) *repository.InstalledAppVersions
- func NewInstalledAppDeploymentAction(deploymentAppType string) *appStoreBean.InstalledAppDeploymentAction
- func NewInstalledAppVersionModel(request *appStoreBean.InstallAppVersionDTO) *repository.InstalledAppVersions
- func UpdateAdditionalEnvDetails(request *appStoreBean.InstallAppVersionDTO, ...)
- func UpdateAppDetails(request *appStoreBean.InstallAppVersionDTO, app *app.App)
- func UpdateAppStoreApplicationDetails(request *appStoreBean.InstallAppVersionDTO, ...)
- func UpdateInstallAppDetails(request *appStoreBean.InstallAppVersionDTO, ...)
- func UpdateInstalledAppVersionModel(model *repository.InstalledAppVersions, ...)
- func UpdateInstalledAppVersionsMetaData(request *appStoreBean.InstallAppVersionDTO, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateInstallAppVersionDTO ¶
func GenerateInstallAppVersionDTO(installedApp *repository.InstalledApps, installedAppVersion *repository.InstalledAppVersions) *appStoreBean.InstallAppVersionDTO
GenerateInstallAppVersionDTO converts repository.InstalledApps and repository.InstalledAppVersions db object to appStoreBean.InstallAppVersionDTO bean
func GenerateInstallAppVersionMinDTO ¶
func GenerateInstallAppVersionMinDTO(installedApp *repository.InstalledApps) *appStoreBean.InstallAppVersionDTO
GenerateInstallAppVersionMinDTO converts repository.InstalledApps db object to appStoreBean.InstallAppVersionDTO bean; Note: It only generates a minimal DTO and doesn't include repository.InstalledAppVersions data, also it's safe not to use this bean for creating db model again
func GetGeneratedHelmPackageName ¶ added in v0.7.0
func NewClusterInstalledAppsModel ¶
func NewClusterInstalledAppsModel(chart *appStoreBean.InstallAppVersionDTO, clusterId int) *repository.ClusterInstalledApps
NewClusterInstalledAppsModel is used to generate new repository.ClusterInstalledApps model to be saved; Note: Do not use for update operations
func NewInstallAppModel ¶
func NewInstallAppModel(request *appStoreBean.InstallAppVersionDTO, status appStoreBean.AppstoreDeploymentStatus) *repository.InstalledApps
NewInstallAppModel is used to generate new repository.InstalledApps model to be saved; Note: Do not use for update operations
func NewInstallAppVersionHistoryModel ¶
func NewInstallAppVersionHistoryModel(request *appStoreBean.InstallAppVersionDTO, status string, helmInstallConfigDTO appStoreBean.HelmReleaseStatusConfig) (*repository.InstalledAppVersionHistory, error)
NewInstallAppVersionHistoryModel is used to generate new repository.InstalledAppVersionHistory model to be saved; GitHash and FinishedOn are not provided by NewInstallAppVersionHistoryModel; since it is used only on update operations; Note: Do not use for update operations;
func NewInstallAppVersionsModel ¶
func NewInstallAppVersionsModel(chart *appStoreBean.InstallAppVersionDTO) *repository.InstalledAppVersions
NewInstallAppVersionsModel is used to generate new repository.InstalledAppVersions model to be saved; Note: Do not use for update operations
func NewInstalledAppDeploymentAction ¶
func NewInstalledAppDeploymentAction(deploymentAppType string) *appStoreBean.InstalledAppDeploymentAction
NewInstalledAppDeploymentAction is used to generate appStoreBean.InstalledAppDeploymentAction from deploymentAppType
func NewInstalledAppVersionModel ¶ added in v0.7.0
func NewInstalledAppVersionModel(request *appStoreBean.InstallAppVersionDTO) *repository.InstalledAppVersions
NewInstalledAppVersionModel will generate a new repository.InstalledAppVersions for the given appStoreBean.InstallAppVersionDTO
func UpdateAdditionalEnvDetails ¶ added in v0.7.0
func UpdateAdditionalEnvDetails(request *appStoreBean.InstallAppVersionDTO, envBean *clutserBean.EnvironmentBean)
UpdateAdditionalEnvDetails update cluster.EnvironmentBean data into the same InstallAppVersionDTO
func UpdateAppDetails ¶ added in v0.7.0
func UpdateAppDetails(request *appStoreBean.InstallAppVersionDTO, app *app.App)
UpdateAppDetails update app.App data into the same InstallAppVersionDTO
func UpdateAppStoreApplicationDetails ¶ added in v0.7.0
func UpdateAppStoreApplicationDetails(request *appStoreBean.InstallAppVersionDTO, appStoreApplicationVersion *appStoreDiscoverRepository.AppStoreApplicationVersion)
UpdateAppStoreApplicationDetails update appStoreDiscoverRepository.AppStoreApplicationVersion data into the same InstallAppVersionDTO
func UpdateInstallAppDetails ¶ added in v0.7.0
func UpdateInstallAppDetails(request *appStoreBean.InstallAppVersionDTO, installedApp *repository.InstalledApps)
UpdateInstallAppDetails update repository.InstalledApps data into the same InstallAppVersionDTO
func UpdateInstalledAppVersionModel ¶ added in v0.7.0
func UpdateInstalledAppVersionModel(model *repository.InstalledAppVersions, request *appStoreBean.InstallAppVersionDTO)
UpdateInstalledAppVersionModel will update the same repository.InstalledAppVersions model object for the given appStoreBean.InstallAppVersionDTO
func UpdateInstalledAppVersionsMetaData ¶ added in v0.7.0
func UpdateInstalledAppVersionsMetaData(request *appStoreBean.InstallAppVersionDTO, installedAppVersion *repository.InstalledAppVersions)
UpdateInstalledAppVersionsMetaData update repository.InstalledAppVersions meta data (excluding values.yaml and preset values mapping) into the same InstallAppVersionDTO
Types ¶
This section is empty.