Documentation
¶
Index ¶
- Constants
- Variables
- type AppStoreDeploymentRestHandler
- type AppStoreDeploymentRestHandlerImpl
- func (handler AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp(w http.ResponseWriter, r *http.Request)
- func (handler AppStoreDeploymentRestHandlerImpl) GetInstalledAppVersion(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) UpdateInstalledApp(w http.ResponseWriter, r *http.Request)
- type AppStoreDeploymentRouter
- type AppStoreDeploymentRouterImpl
- type CommonDeploymentRestHandler
- type CommonDeploymentRestHandlerImpl
- func (handler *CommonDeploymentRestHandlerImpl) GetDeploymentHistory(w http.ResponseWriter, r *http.Request)
- func (handler *CommonDeploymentRestHandlerImpl) GetDeploymentHistoryValues(w http.ResponseWriter, r *http.Request)
- func (handler *CommonDeploymentRestHandlerImpl) RollbackApplication(w http.ResponseWriter, r *http.Request)
- type CommonDeploymentRouter
- type CommonDeploymentRouterImpl
Constants ¶
View Source
const HELM_APP_UPDATE_COUNTER = "HelmAppUpdateCounter"
Variables ¶
View Source
var AppStoreDeploymentWireSet = wire.NewSet( repository.NewClusterInstalledAppsRepositoryImpl, wire.Bind(new(repository.ClusterInstalledAppsRepository), new(*repository.ClusterInstalledAppsRepositoryImpl)), appStoreDeploymentCommon.NewAppStoreDeploymentCommonServiceImpl, wire.Bind(new(appStoreDeploymentCommon.AppStoreDeploymentCommonService), new(*appStoreDeploymentCommon.AppStoreDeploymentCommonServiceImpl)), appStoreDeploymentTool.NewAppStoreDeploymentHelmServiceImpl, wire.Bind(new(appStoreDeploymentTool.AppStoreDeploymentHelmService), new(*appStoreDeploymentTool.AppStoreDeploymentHelmServiceImpl)), service.NewAppStoreDeploymentServiceImpl, wire.Bind(new(service.AppStoreDeploymentService), new(*service.AppStoreDeploymentServiceImpl)), NewAppStoreDeploymentRestHandlerImpl, wire.Bind(new(AppStoreDeploymentRestHandler), new(*AppStoreDeploymentRestHandlerImpl)), NewAppStoreDeploymentRouterImpl, wire.Bind(new(AppStoreDeploymentRouter), new(*AppStoreDeploymentRouterImpl)), repository.NewInstalledAppVersionHistoryRepositoryImpl, wire.Bind(new(repository.InstalledAppVersionHistoryRepository), new(*repository.InstalledAppVersionHistoryRepositoryImpl)), NewCommonDeploymentRestHandlerImpl, wire.Bind(new(CommonDeploymentRestHandler), new(*CommonDeploymentRestHandlerImpl)), NewCommonDeploymentRouterImpl, wire.Bind(new(CommonDeploymentRouter), new(*CommonDeploymentRouterImpl)), )
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) UpdateInstalledApp(w http.ResponseWriter, r *http.Request) GetInstalledAppVersion(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 service.AppStoreDeploymentService, validator *validator.Validate, helmAppService client.HelmAppService, appStoreDeploymentServiceC appStoreDeploymentCommon.AppStoreDeploymentCommonService, argoUserService argo.ArgoUserService, attributesService attributes.AttributesService) *AppStoreDeploymentRestHandlerImpl
func (AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp ¶
func (handler AppStoreDeploymentRestHandlerImpl) DeleteInstalledApp(w http.ResponseWriter, r *http.Request)
func (AppStoreDeploymentRestHandlerImpl) GetInstalledAppVersion ¶ added in v0.4.10
func (handler AppStoreDeploymentRestHandlerImpl) GetInstalledAppVersion(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) UpdateInstalledApp ¶ added in v0.4.10
func (handler AppStoreDeploymentRestHandlerImpl) UpdateInstalledApp(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)
type CommonDeploymentRestHandler ¶ added in v0.3.24
type CommonDeploymentRestHandler interface { GetDeploymentHistory(w http.ResponseWriter, r *http.Request) GetDeploymentHistoryValues(w http.ResponseWriter, r *http.Request) RollbackApplication(w http.ResponseWriter, r *http.Request) }
type CommonDeploymentRestHandlerImpl ¶ added in v0.3.24
type CommonDeploymentRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewCommonDeploymentRestHandlerImpl ¶ added in v0.3.24
func NewCommonDeploymentRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, enforcerUtilHelm rbac.EnforcerUtilHelm, appStoreDeploymentService service.AppStoreDeploymentService, validator *validator.Validate, helmAppService client.HelmAppService, appStoreDeploymentServiceC appStoreDeploymentCommon.AppStoreDeploymentCommonService, helmAppRestHandler client.HelmAppRestHandler) *CommonDeploymentRestHandlerImpl
func (*CommonDeploymentRestHandlerImpl) GetDeploymentHistory ¶ added in v0.3.24
func (handler *CommonDeploymentRestHandlerImpl) GetDeploymentHistory(w http.ResponseWriter, r *http.Request)
func (*CommonDeploymentRestHandlerImpl) GetDeploymentHistoryValues ¶ added in v0.3.24
func (handler *CommonDeploymentRestHandlerImpl) GetDeploymentHistoryValues(w http.ResponseWriter, r *http.Request)
func (*CommonDeploymentRestHandlerImpl) RollbackApplication ¶ added in v0.3.24
func (handler *CommonDeploymentRestHandlerImpl) RollbackApplication(w http.ResponseWriter, r *http.Request)
type CommonDeploymentRouter ¶ added in v0.3.24
type CommonDeploymentRouterImpl ¶ added in v0.3.24
type CommonDeploymentRouterImpl struct {
// contains filtered or unexported fields
}
func NewCommonDeploymentRouterImpl ¶ added in v0.3.24
func NewCommonDeploymentRouterImpl(commonDeploymentRestHandler CommonDeploymentRestHandler) *CommonDeploymentRouterImpl
func (CommonDeploymentRouterImpl) Init ¶ added in v0.3.24
func (router CommonDeploymentRouterImpl) Init(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.