Documentation ¶
Index ¶
- type AppStoreValuesService
- type AppStoreValuesServiceImpl
- func (impl AppStoreValuesServiceImpl) CreateAppStoreVersionValues(request *appStoreBean.AppStoreVersionValuesDTO) (*appStoreBean.AppStoreVersionValuesDTO, error)
- func (impl AppStoreValuesServiceImpl) DeleteAppStoreVersionValues(appStoreValueId int) (bool, error)
- func (impl AppStoreValuesServiceImpl) FindValuesByAppStoreId(appStoreId int, installedAppVersionId int) (*appStoreBean.AppSotoreVersionDTOWrapper, error)
- func (impl AppStoreValuesServiceImpl) FindValuesByAppStoreIdAndReferenceType(appStoreId int, referenceType string) ([]*appStoreBean.AppStoreVersionValuesDTO, error)
- func (impl AppStoreValuesServiceImpl) FindValuesByIdAndKind(referenceId int, kind string) (*appStoreBean.AppStoreVersionValuesDTO, error)
- func (impl AppStoreValuesServiceImpl) GetSelectedChartMetaData(req *ChartMetaDataRequestWrapper) ([]*ChartMetaDataResponse, error)
- func (impl AppStoreValuesServiceImpl) UpdateAppStoreVersionValues(request *appStoreBean.AppStoreVersionValuesDTO) (*appStoreBean.AppStoreVersionValuesDTO, error)
- type ChartMetaDataRequest
- type ChartMetaDataRequestWrapper
- type ChartMetaDataResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStoreValuesService ¶
type AppStoreValuesService interface { CreateAppStoreVersionValues(model *appStoreBean.AppStoreVersionValuesDTO) (*appStoreBean.AppStoreVersionValuesDTO, error) UpdateAppStoreVersionValues(model *appStoreBean.AppStoreVersionValuesDTO) (*appStoreBean.AppStoreVersionValuesDTO, error) FindValuesByIdAndKind(referenceId int, kind string) (*appStoreBean.AppStoreVersionValuesDTO, error) DeleteAppStoreVersionValues(appStoreValueId int) (bool, error) FindValuesByAppStoreId(appStoreId int, installedAppVersionId int) (*appStoreBean.AppSotoreVersionDTOWrapper, error) FindValuesByAppStoreIdAndReferenceType(appStoreVersionId int, referenceType string) ([]*appStoreBean.AppStoreVersionValuesDTO, error) GetSelectedChartMetaData(req *ChartMetaDataRequestWrapper) ([]*ChartMetaDataResponse, error) }
type AppStoreValuesServiceImpl ¶
type AppStoreValuesServiceImpl struct {
// contains filtered or unexported fields
}
func NewAppStoreValuesServiceImpl ¶
func NewAppStoreValuesServiceImpl(logger *zap.SugaredLogger, appStoreApplicationRepository appStoreDiscoverRepository.AppStoreApplicationVersionRepository, installedAppRepository repository.InstalledAppRepository, installedAppReadServiceEA installedAppReader.InstalledAppReadServiceEA, appStoreVersionValuesRepository appStoreValuesRepository.AppStoreVersionValuesRepository, userService user.UserService) *AppStoreValuesServiceImpl
func (AppStoreValuesServiceImpl) CreateAppStoreVersionValues ¶
func (impl AppStoreValuesServiceImpl) CreateAppStoreVersionValues(request *appStoreBean.AppStoreVersionValuesDTO) (*appStoreBean.AppStoreVersionValuesDTO, error)
func (AppStoreValuesServiceImpl) DeleteAppStoreVersionValues ¶
func (impl AppStoreValuesServiceImpl) DeleteAppStoreVersionValues(appStoreValueId int) (bool, error)
func (AppStoreValuesServiceImpl) FindValuesByAppStoreId ¶
func (impl AppStoreValuesServiceImpl) FindValuesByAppStoreId(appStoreId int, installedAppVersionId int) (*appStoreBean.AppSotoreVersionDTOWrapper, error)
func (AppStoreValuesServiceImpl) FindValuesByAppStoreIdAndReferenceType ¶
func (impl AppStoreValuesServiceImpl) FindValuesByAppStoreIdAndReferenceType(appStoreId int, referenceType string) ([]*appStoreBean.AppStoreVersionValuesDTO, error)
func (AppStoreValuesServiceImpl) FindValuesByIdAndKind ¶
func (impl AppStoreValuesServiceImpl) FindValuesByIdAndKind(referenceId int, kind string) (*appStoreBean.AppStoreVersionValuesDTO, error)
func (AppStoreValuesServiceImpl) GetSelectedChartMetaData ¶
func (impl AppStoreValuesServiceImpl) GetSelectedChartMetaData(req *ChartMetaDataRequestWrapper) ([]*ChartMetaDataResponse, error)
func (AppStoreValuesServiceImpl) UpdateAppStoreVersionValues ¶
func (impl AppStoreValuesServiceImpl) UpdateAppStoreVersionValues(request *appStoreBean.AppStoreVersionValuesDTO) (*appStoreBean.AppStoreVersionValuesDTO, error)
type ChartMetaDataRequest ¶
func (impl AppStoreValuesServiceImpl) adaptorForValuesCategoryWise(values *appStore.AppStoreVersionValues) (val *AppStoreVersionValuesCategoryWiseDTO) { version := "" if values.AppStoreApplicationVersion != nil { version = values.AppStoreApplicationVersion.Version } valDto:= &AppStoreVersionValuesDTO{ Name: values.Name, Id: values.Id, Values: values.ValuesYaml, ChartVersion: version, AppStoreVersionId: values.AppStoreApplicationVersionId, } val = &AppStoreVersionValuesCategoryWiseDTO{ Values:valDto } return val }
type ChartMetaDataRequestWrapper ¶
type ChartMetaDataRequestWrapper struct {
Values []*ChartMetaDataRequest `json:"values"`
}
type ChartMetaDataResponse ¶
Click to show internal directories.
Click to hide internal directories.