Documentation
¶
Index ¶
- Variables
- type InstalledAppReadService
- type InstalledAppReadServiceEA
- type InstalledAppReadServiceEAImpl
- func (impl *InstalledAppReadServiceEAImpl) GetDeploymentSuccessfulStatusCountForTelemetry() (int, error)
- func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppByAppIdAndDeploymentType(appId int, deploymentAppType string) (*bean.InstalledAppMin, error)
- func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppByAppName(appName string) (*bean.InstalledAppWithEnvDetails, error)
- func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppByInstalledAppVersionId(installedAppVersionId int) (*bean.InstalledAppMin, error)
- func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppVersionIncludingDeleted(installedAppVersionId int) (*bean.InstalledAppVersionWithAppStoreDetails, error)
- func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppsByAppId(appId int) (*bean.InstalledAppMin, error)
- type InstalledAppReadServiceImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var EAWireSet = wire.NewSet( NewInstalledAppReadServiceEAImpl, wire.Bind(new(InstalledAppReadServiceEA), new(*InstalledAppReadServiceEAImpl)), )
EAWireSet is used for InstalledAppReadServiceEA EAWireSet is registered for EA MODE services
View Source
var WireSet = wire.NewSet( NewInstalledAppReadServiceImpl, wire.Bind(new(InstalledAppReadService), new(*InstalledAppReadServiceImpl)), )
WireSet for InstalledAppReadService WireSet is registered for FULL MODE services
Functions ¶
This section is empty.
Types ¶
type InstalledAppReadService ¶
type InstalledAppReadService interface { InstalledAppReadServiceEA // GetInstalledAppByGitHash will return the installed app by git hash. // Only delete specific details are fetched. // Refer bean.InstalledAppDeleteRequest for more details. GetInstalledAppByGitHash(gitHash string) (*bean.InstalledAppDeleteRequest, error) // GetInstalledAppByGitOpsAppName will return all the active installed_apps with matching `<app_name>-<environment_name>`. // Only the minimum details are fetched. // Refer bean.InstalledAppMin for more details. GetInstalledAppByGitOpsAppName(acdAppName string) (*bean.InstalledAppMin, error) }
type InstalledAppReadServiceEA ¶
type InstalledAppReadServiceEA interface { // GetDeploymentSuccessfulStatusCountForTelemetry will return the count of successful deployments for telemetry // Total successful deployments are calculated till now. GetDeploymentSuccessfulStatusCountForTelemetry() (int, error) // GetInstalledAppByAppName will return the installed app with environment details by app name. // Additional details like environment details are also fetched. // Refer bean.InstalledAppWithEnvDetails for more details. GetInstalledAppByAppName(appName string) (*bean.InstalledAppWithEnvDetails, error) // GetInstalledAppsByAppId will return the installed app by app id // Only the minimum details are fetched. // Refer bean.InstalledAppMin for more details. GetInstalledAppsByAppId(appId int) (*bean.InstalledAppMin, error) // GetInstalledAppByAppIdAndDeploymentType will return the installed app by app id and deployment type. // Only the minimum details are fetched. // Refer bean.InstalledAppMin for more details. GetInstalledAppByAppIdAndDeploymentType(appId int, deploymentAppType string) (*bean.InstalledAppMin, error) // GetInstalledAppByInstalledAppVersionId will return the installed app by installed app version id. // Only the minimum details are fetched. // Refer bean.InstalledAppMin for more details. GetInstalledAppByInstalledAppVersionId(installedAppVersionId int) (*bean.InstalledAppMin, error) // GetInstalledAppVersionIncludingDeleted will return the installed app version by installed app version id. // Both active and deleted installed app versions are fetched. // Additional details like app store details are also fetched. // Refer bean.InstalledAppVersionWithAppStoreDetails for more details. GetInstalledAppVersionIncludingDeleted(installedAppVersionId int) (*bean.InstalledAppVersionWithAppStoreDetails, error) }
type InstalledAppReadServiceEAImpl ¶
type InstalledAppReadServiceEAImpl struct {
// contains filtered or unexported fields
}
func NewInstalledAppReadServiceEAImpl ¶
func NewInstalledAppReadServiceEAImpl( logger *zap.SugaredLogger, installedAppRepository repository.InstalledAppRepository, ) *InstalledAppReadServiceEAImpl
func (*InstalledAppReadServiceEAImpl) GetDeploymentSuccessfulStatusCountForTelemetry ¶
func (impl *InstalledAppReadServiceEAImpl) GetDeploymentSuccessfulStatusCountForTelemetry() (int, error)
func (*InstalledAppReadServiceEAImpl) GetInstalledAppByAppIdAndDeploymentType ¶
func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppByAppIdAndDeploymentType(appId int, deploymentAppType string) (*bean.InstalledAppMin, error)
func (*InstalledAppReadServiceEAImpl) GetInstalledAppByAppName ¶
func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppByAppName(appName string) (*bean.InstalledAppWithEnvDetails, error)
func (*InstalledAppReadServiceEAImpl) GetInstalledAppByInstalledAppVersionId ¶
func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppByInstalledAppVersionId(installedAppVersionId int) (*bean.InstalledAppMin, error)
func (*InstalledAppReadServiceEAImpl) GetInstalledAppVersionIncludingDeleted ¶
func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppVersionIncludingDeleted(installedAppVersionId int) (*bean.InstalledAppVersionWithAppStoreDetails, error)
func (*InstalledAppReadServiceEAImpl) GetInstalledAppsByAppId ¶
func (impl *InstalledAppReadServiceEAImpl) GetInstalledAppsByAppId(appId int) (*bean.InstalledAppMin, error)
type InstalledAppReadServiceImpl ¶
type InstalledAppReadServiceImpl struct {
*InstalledAppReadServiceEAImpl
}
func NewInstalledAppReadServiceImpl ¶
func NewInstalledAppReadServiceImpl( installedAppReadServiceEAImpl *InstalledAppReadServiceEAImpl) *InstalledAppReadServiceImpl
func (*InstalledAppReadServiceImpl) GetInstalledAppByGitHash ¶
func (impl *InstalledAppReadServiceImpl) GetInstalledAppByGitHash(gitHash string) (*bean.InstalledAppDeleteRequest, error)
func (*InstalledAppReadServiceImpl) GetInstalledAppByGitOpsAppName ¶
func (impl *InstalledAppReadServiceImpl) GetInstalledAppByGitOpsAppName(acdAppName string) (*bean.InstalledAppMin, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.