Documentation
¶
Index ¶
- type AppStoreDeploymentCommonService
- type AppStoreDeploymentCommonServiceImpl
- func (impl AppStoreDeploymentCommonServiceImpl) CreateChartProxyAndGetPath(chartCreateRequest *util.ChartCreateRequest) (*util.ChartCreateResponse, error)
- func (impl *AppStoreDeploymentCommonServiceImpl) GetDeploymentHistoryFromDB(ctx context.Context, installedApp *appStoreBean.InstallAppVersionDTO) (*gRPC.HelmAppDeploymentHistory, error)
- func (impl *AppStoreDeploymentCommonServiceImpl) GetDeploymentHistoryInfoFromDB(ctx context.Context, installedApp *appStoreBean.InstallAppVersionDTO, ...) (*openapi.HelmAppDeploymentManifestDetail, error)
- func (impl AppStoreDeploymentCommonServiceImpl) GetRequirementsString(appStoreAppVersion *appStoreDiscoverRepository.AppStoreApplicationVersion) (string, error)
- func (impl AppStoreDeploymentCommonServiceImpl) GetValuesString(chartName, valuesOverrideYaml string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStoreDeploymentCommonService ¶
type AppStoreDeploymentCommonService interface { // GetValuesString will return values string from the given valuesOverrideYaml GetValuesString(chartName, 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 (impl *AppStoreDeploymentCommonServiceImpl) GetDeploymentHistoryFromDB(ctx context.Context, installedApp *appStoreBean.InstallAppVersionDTO) (*gRPC.HelmAppDeploymentHistory, error)
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 (impl AppStoreDeploymentCommonServiceImpl) GetRequirementsString(appStoreAppVersion *appStoreDiscoverRepository.AppStoreApplicationVersion) (string, error)
func (AppStoreDeploymentCommonServiceImpl) GetValuesString ¶
func (impl AppStoreDeploymentCommonServiceImpl) GetValuesString(chartName, valuesOverrideYaml string) (string, error)
Click to show internal directories.
Click to hide internal directories.