Documentation
¶
Index ¶
- type AppStoreRouter
- type AppStoreRouterImpl
- type InstalledAppRestHandler
- type InstalledAppRestHandlerImpl
- func (handler *InstalledAppRestHandlerImpl) CheckAppExists(w http.ResponseWriter, r *http.Request)
- func (impl *InstalledAppRestHandlerImpl) DefaultComponentInstallation(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) DeployBulk(w http.ResponseWriter, r *http.Request)
- func (handler *InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledApp(w http.ResponseWriter, r *http.Request)
- func (handler InstalledAppRestHandlerImpl) GetAllInstalledApp(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStoreRouter ¶
type AppStoreRouterImpl ¶
type AppStoreRouterImpl struct {
// contains filtered or unexported fields
}
func NewAppStoreRouterImpl ¶
func NewAppStoreRouterImpl(restHandler InstalledAppRestHandler, appStoreValuesRouter appStoreValues.AppStoreValuesRouter, appStoreDiscoverRouter appStoreDiscover.AppStoreDiscoverRouter, appStoreDeploymentRouter appStoreDeployment.AppStoreDeploymentRouter) *AppStoreRouterImpl
func (AppStoreRouterImpl) Init ¶
func (router AppStoreRouterImpl) Init(configRouter *mux.Router)
type InstalledAppRestHandler ¶
type InstalledAppRestHandler interface { GetAllInstalledApp(w http.ResponseWriter, r *http.Request) DeployBulk(w http.ResponseWriter, r *http.Request) CheckAppExists(w http.ResponseWriter, r *http.Request) DefaultComponentInstallation(w http.ResponseWriter, r *http.Request) FetchAppDetailsForInstalledApp(w http.ResponseWriter, r *http.Request) }
type InstalledAppRestHandlerImpl ¶
type InstalledAppRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewInstalledAppRestHandlerImpl ¶
func NewInstalledAppRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, installedAppService service.InstalledAppService, validator *validator.Validate, clusterService cluster.ClusterService, acdServiceClient application.ServiceClient, appStoreDeploymentService service.AppStoreDeploymentService, helmAppClient client.HelmAppClient, helmAppService client.HelmAppService, ) *InstalledAppRestHandlerImpl
func (*InstalledAppRestHandlerImpl) CheckAppExists ¶
func (handler *InstalledAppRestHandlerImpl) CheckAppExists(w http.ResponseWriter, r *http.Request)
func (*InstalledAppRestHandlerImpl) DefaultComponentInstallation ¶
func (impl *InstalledAppRestHandlerImpl) DefaultComponentInstallation(w http.ResponseWriter, r *http.Request)
func (*InstalledAppRestHandlerImpl) DeployBulk ¶
func (handler *InstalledAppRestHandlerImpl) DeployBulk(w http.ResponseWriter, r *http.Request)
func (*InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledApp ¶
func (handler *InstalledAppRestHandlerImpl) FetchAppDetailsForInstalledApp(w http.ResponseWriter, r *http.Request)
func (InstalledAppRestHandlerImpl) GetAllInstalledApp ¶
func (handler InstalledAppRestHandlerImpl) GetAllInstalledApp(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.