Documentation ¶
Index ¶
- Variables
- type AppStoreDiscoverRouter
- type AppStoreDiscoverRouterImpl
- type AppStoreRestHandler
- type AppStoreRestHandlerImpl
- func (handler *AppStoreRestHandlerImpl) FindAllApps(w http.ResponseWriter, r *http.Request)
- func (handler *AppStoreRestHandlerImpl) GetChartDetailsForVersion(w http.ResponseWriter, r *http.Request)
- func (handler *AppStoreRestHandlerImpl) GetChartVersions(w http.ResponseWriter, r *http.Request)
- func (handler *AppStoreRestHandlerImpl) GetReadme(w http.ResponseWriter, r *http.Request)
- func (handler *AppStoreRestHandlerImpl) SearchAppStoreChartByName(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var AppStoreDiscoverWireSet = wire.NewSet( appStoreDiscoverRepository.NewAppStoreRepositoryImpl, wire.Bind(new(appStoreDiscoverRepository.AppStoreRepository), new(*appStoreDiscoverRepository.AppStoreRepositoryImpl)), appStoreDiscoverRepository.NewAppStoreApplicationVersionRepositoryImpl, wire.Bind(new(appStoreDiscoverRepository.AppStoreApplicationVersionRepository), new(*appStoreDiscoverRepository.AppStoreApplicationVersionRepositoryImpl)), service.NewAppStoreServiceImpl, wire.Bind(new(service.AppStoreService), new(*service.AppStoreServiceImpl)), NewAppStoreRestHandlerImpl, wire.Bind(new(AppStoreRestHandler), new(*AppStoreRestHandlerImpl)), NewAppStoreDiscoverRouterImpl, wire.Bind(new(AppStoreDiscoverRouter), new(*AppStoreDiscoverRouterImpl)), )
Functions ¶
This section is empty.
Types ¶
type AppStoreDiscoverRouter ¶
type AppStoreDiscoverRouterImpl ¶
type AppStoreDiscoverRouterImpl struct {
// contains filtered or unexported fields
}
func NewAppStoreDiscoverRouterImpl ¶
func NewAppStoreDiscoverRouterImpl(appStoreRestHandler AppStoreRestHandler) *AppStoreDiscoverRouterImpl
func (AppStoreDiscoverRouterImpl) Init ¶
func (router AppStoreDiscoverRouterImpl) Init(configRouter *mux.Router)
type AppStoreRestHandler ¶
type AppStoreRestHandler interface { FindAllApps(w http.ResponseWriter, r *http.Request) GetChartDetailsForVersion(w http.ResponseWriter, r *http.Request) GetChartVersions(w http.ResponseWriter, r *http.Request) GetReadme(w http.ResponseWriter, r *http.Request) SearchAppStoreChartByName(w http.ResponseWriter, r *http.Request) }
type AppStoreRestHandlerImpl ¶
type AppStoreRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewAppStoreRestHandlerImpl ¶
func NewAppStoreRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, appStoreService service.AppStoreService, enforcer casbin.Enforcer) *AppStoreRestHandlerImpl
func (*AppStoreRestHandlerImpl) FindAllApps ¶
func (handler *AppStoreRestHandlerImpl) FindAllApps(w http.ResponseWriter, r *http.Request)
func (*AppStoreRestHandlerImpl) GetChartDetailsForVersion ¶
func (handler *AppStoreRestHandlerImpl) GetChartDetailsForVersion(w http.ResponseWriter, r *http.Request)
func (*AppStoreRestHandlerImpl) GetChartVersions ¶
func (handler *AppStoreRestHandlerImpl) GetChartVersions(w http.ResponseWriter, r *http.Request)
func (*AppStoreRestHandlerImpl) GetReadme ¶
func (handler *AppStoreRestHandlerImpl) GetReadme(w http.ResponseWriter, r *http.Request)
func (*AppStoreRestHandlerImpl) SearchAppStoreChartByName ¶
func (handler *AppStoreRestHandlerImpl) SearchAppStoreChartByName(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.