Help us shape the future of Go! Take the 2026 Go Developer Survey

appStoreDeploymentCommon

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChartNameFromAppStoreApplicationVersion added in v1.7.0

func GetChartNameFromAppStoreApplicationVersion(appStoreApplicationVersion *appStoreDiscoverRepository.AppStoreApplicationVersion) string

Types

type AppStoreDeploymentCommonService

type AppStoreDeploymentCommonService interface {
	// GetValuesString will return values string from the given valuesOverrideYaml
	GetValuesString(appStoreApplicationVersion *appStoreDiscoverRepository.AppStoreApplicationVersion, valuesOverrideYaml string) (string, error)
	// GetRequirementsString will return requirement dependencies for the given appStoreVersionId
	GetRequirementsString(appStoreApplicationVersion *appStoreDiscoverRepository.AppStoreApplicationVersion) (string, error)
	// CreateChartProxyAndGetPath parse chart in local directory and returns path of local dir and values.yaml
	CreateChartProxyAndGetPath(chartCreateRequest *util.ChartCreateRequest) (*util.ChartCreateResponse, error)
	GetDeploymentHistoryFromDB(ctx context.Context, installedApp *appStoreBean.InstallAppVersionDTO) (*gRPC.HelmAppDeploymentHistory, error)
	GetDeploymentHistoryInfoFromDB(ctx context.Context, installedApp *appStoreBean.InstallAppVersionDTO, version int32) (*openapi.HelmAppDeploymentManifestDetail, error)
}

type AppStoreDeploymentCommonServiceImpl

type AppStoreDeploymentCommonServiceImpl struct {
	// contains filtered or unexported fields
}

func NewAppStoreDeploymentCommonServiceImpl

func NewAppStoreDeploymentCommonServiceImpl(
	logger *zap.SugaredLogger,
	appStoreApplicationVersionRepository appStoreDiscoverRepository.AppStoreApplicationVersionRepository,
	chartTemplateService util.ChartTemplateService,
	userService user.UserService,
	helmAppService service.HelmAppService,
	installedAppDBService EAMode.InstalledAppDBService,
) *AppStoreDeploymentCommonServiceImpl

func (AppStoreDeploymentCommonServiceImpl) CreateChartProxyAndGetPath

func (impl AppStoreDeploymentCommonServiceImpl) CreateChartProxyAndGetPath(chartCreateRequest *util.ChartCreateRequest) (*util.ChartCreateResponse, error)

func (*AppStoreDeploymentCommonServiceImpl) GetDeploymentHistoryFromDB added in v1.0.1

func (*AppStoreDeploymentCommonServiceImpl) GetDeploymentHistoryInfoFromDB added in v1.0.1

func (impl *AppStoreDeploymentCommonServiceImpl) GetDeploymentHistoryInfoFromDB(ctx context.Context, installedApp *appStoreBean.InstallAppVersionDTO, version int32) (*openapi.HelmAppDeploymentManifestDetail, error)

func (AppStoreDeploymentCommonServiceImpl) GetRequirementsString

func (AppStoreDeploymentCommonServiceImpl) GetValuesString

func (impl AppStoreDeploymentCommonServiceImpl) GetValuesString(appStoreApplicationVersion *appStoreDiscoverRepository.AppStoreApplicationVersion, valuesOverrideYaml string) (string, error)

Jump to

Keyboard shortcuts

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