adapter

package
v0.6.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateInstallAppVersionDTO

func GenerateInstallAppVersionDTO(chart *repository.InstalledApps, installedAppVersion *repository.InstalledAppVersions) *appStoreBean.InstallAppVersionDTO

GenerateInstallAppVersionDTO converts repository.InstalledApps and repository.InstalledAppVersions db object to appStoreBean.InstallAppVersionDTO bean

func GenerateInstallAppVersionMinDTO

func GenerateInstallAppVersionMinDTO(chart *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

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

NewInstallAppModel is used to generate new repository.InstalledApps model to be saved; Note: Do not use for update operations

func NewInstallAppVersionHistoryModel

func NewInstallAppVersionHistoryModel(chart *appStoreBean.InstallAppVersionDTO, status string, helmInstallConfigDTO appStoreBean.HelmReleaseStatusConfig) (*repository.InstalledAppVersionHistory, error)

NewInstallAppVersionHistoryModel is used to generate new repository.InstalledAppVersionHistory model to be saved; 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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL