Documentation ¶
Index ¶
- Variables
- type AppStoreDeploymentRestHandler
- type AppStoreDeploymentRestHandlerImpl
- func (handler AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp(w http.ResponseWriter, r *http.Request)
- func (handler AppStoreDeploymentRestHandlerImpl) GetInstalledAppsByAppStoreId(w http.ResponseWriter, r *http.Request)
- func (handler AppStoreDeploymentRestHandlerImpl) InstallApp(w http.ResponseWriter, r *http.Request)
- func (handler *AppStoreDeploymentRestHandlerImpl) LinkHelmApplicationToChartStore(w http.ResponseWriter, r *http.Request)
- func (handler *AppStoreDeploymentRestHandlerImpl) RollbackApplication(w http.ResponseWriter, r *http.Request)
- type AppStoreDeploymentRouter
- type AppStoreDeploymentRouterImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var AppStoreDeploymentWireSet = wire.NewSet( appStoreRepository.NewClusterInstalledAppsRepositoryImpl, wire.Bind(new(appStoreRepository.ClusterInstalledAppsRepository), new(*appStoreRepository.ClusterInstalledAppsRepositoryImpl)), appStoreDeploymentCommon.NewAppStoreDeploymentCommonServiceImpl, wire.Bind(new(appStoreDeploymentCommon.AppStoreDeploymentCommonService), new(*appStoreDeploymentCommon.AppStoreDeploymentCommonServiceImpl)), appStoreDeploymentTool.NewAppStoreDeploymentHelmServiceImpl, wire.Bind(new(appStoreDeploymentTool.AppStoreDeploymentHelmService), new(*appStoreDeploymentTool.AppStoreDeploymentHelmServiceImpl)), appStoreDeployment.NewAppStoreDeploymentServiceImpl, wire.Bind(new(appStoreDeployment.AppStoreDeploymentService), new(*appStoreDeployment.AppStoreDeploymentServiceImpl)), NewAppStoreDeploymentRestHandlerImpl, wire.Bind(new(AppStoreDeploymentRestHandler), new(*AppStoreDeploymentRestHandlerImpl)), NewAppStoreDeploymentRouterImpl, wire.Bind(new(AppStoreDeploymentRouter), new(*AppStoreDeploymentRouterImpl)), history.NewAppStoreChartsHistoryServiceImpl, wire.Bind(new(history.AppStoreChartsHistoryService), new(*history.AppStoreChartsHistoryServiceImpl)), repository.NewAppStoreChartsHistoryRepositoryImpl, wire.Bind(new(repository.AppStoreChartsHistoryRepository), new(*repository.AppStoreChartsHistoryRepositoryImpl)), appStoreRepository.NewInstalledAppVersionHistoryRepositoryImpl, wire.Bind(new(appStoreRepository.InstalledAppVersionHistoryRepository), new(*appStoreRepository.InstalledAppVersionHistoryRepositoryImpl)), )
Functions ¶
This section is empty.
Types ¶
type AppStoreDeploymentRestHandler ¶
type AppStoreDeploymentRestHandler interface { InstallApp(w http.ResponseWriter, r *http.Request) GetInstalledAppsByAppStoreId(w http.ResponseWriter, r *http.Request) DeleteInstalledApp(w http.ResponseWriter, r *http.Request) LinkHelmApplicationToChartStore(w http.ResponseWriter, r *http.Request) RollbackApplication(w http.ResponseWriter, r *http.Request) }
type AppStoreDeploymentRestHandlerImpl ¶
type AppStoreDeploymentRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewAppStoreDeploymentRestHandlerImpl ¶
func NewAppStoreDeploymentRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, enforcerUtilHelm rbac.EnforcerUtilHelm, appStoreDeploymentService appStoreDeployment.AppStoreDeploymentService, validator *validator.Validate, helmAppService client.HelmAppService, appStoreDeploymentServiceC appStoreDeploymentCommon.AppStoreDeploymentCommonService, ) *AppStoreDeploymentRestHandlerImpl
func (AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp ¶
func (handler AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp(w http.ResponseWriter, r *http.Request)
func (AppStoreDeploymentRestHandlerImpl) GetInstalledAppsByAppStoreId ¶
func (handler AppStoreDeploymentRestHandlerImpl) GetInstalledAppsByAppStoreId(w http.ResponseWriter, r *http.Request)
func (AppStoreDeploymentRestHandlerImpl) InstallApp ¶ added in v0.3.20
func (handler AppStoreDeploymentRestHandlerImpl) InstallApp(w http.ResponseWriter, r *http.Request)
func (*AppStoreDeploymentRestHandlerImpl) LinkHelmApplicationToChartStore ¶ added in v0.3.20
func (handler *AppStoreDeploymentRestHandlerImpl) LinkHelmApplicationToChartStore(w http.ResponseWriter, r *http.Request)
func (*AppStoreDeploymentRestHandlerImpl) RollbackApplication ¶ added in v0.3.21
func (handler *AppStoreDeploymentRestHandlerImpl) RollbackApplication(w http.ResponseWriter, r *http.Request)
type AppStoreDeploymentRouterImpl ¶
type AppStoreDeploymentRouterImpl struct {
// contains filtered or unexported fields
}
func NewAppStoreDeploymentRouterImpl ¶
func NewAppStoreDeploymentRouterImpl(appStoreDeploymentRestHandler AppStoreDeploymentRestHandler) *AppStoreDeploymentRouterImpl
func (AppStoreDeploymentRouterImpl) Init ¶
func (router AppStoreDeploymentRouterImpl) Init(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.