Documentation ¶
Index ¶
- Variables
- func ValidateRequestObjectForChartRepoId(request *chartProvider.ChartProviderRequestDto) error
- type ChartProviderRestHandler
- type ChartProviderRestHandlerImpl
- func (handler *ChartProviderRestHandlerImpl) GetChartProviderList(w http.ResponseWriter, r *http.Request)
- func (handler *ChartProviderRestHandlerImpl) SyncChartProvider(w http.ResponseWriter, r *http.Request)
- func (handler *ChartProviderRestHandlerImpl) ToggleChartProvider(w http.ResponseWriter, r *http.Request)
- type ChartProviderRouter
- type ChartProviderRouterImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var AppStoreChartProviderWireSet = wire.NewSet( chartProviderService.NewChartProviderServiceImpl, wire.Bind(new(chartProviderService.ChartProviderService), new(*chartProviderService.ChartProviderServiceImpl)), NewChartProviderRestHandlerImpl, wire.Bind(new(ChartProviderRestHandler), new(*ChartProviderRestHandlerImpl)), NewChartProviderRouterImpl, wire.Bind(new(ChartProviderRouter), new(*ChartProviderRouterImpl)))
Functions ¶
func ValidateRequestObjectForChartRepoId ¶
func ValidateRequestObjectForChartRepoId(request *chartProvider.ChartProviderRequestDto) error
Types ¶
type ChartProviderRestHandler ¶
type ChartProviderRestHandler interface { GetChartProviderList(w http.ResponseWriter, r *http.Request) ToggleChartProvider(w http.ResponseWriter, r *http.Request) SyncChartProvider(w http.ResponseWriter, r *http.Request) }
type ChartProviderRestHandlerImpl ¶
type ChartProviderRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewChartProviderRestHandlerImpl ¶
func NewChartProviderRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, validator *validator.Validate, chartProviderService chartProvider.ChartProviderService, enforcer casbin.Enforcer) *ChartProviderRestHandlerImpl
func (*ChartProviderRestHandlerImpl) GetChartProviderList ¶
func (handler *ChartProviderRestHandlerImpl) GetChartProviderList(w http.ResponseWriter, r *http.Request)
func (*ChartProviderRestHandlerImpl) SyncChartProvider ¶
func (handler *ChartProviderRestHandlerImpl) SyncChartProvider(w http.ResponseWriter, r *http.Request)
func (*ChartProviderRestHandlerImpl) ToggleChartProvider ¶
func (handler *ChartProviderRestHandlerImpl) ToggleChartProvider(w http.ResponseWriter, r *http.Request)
type ChartProviderRouter ¶
type ChartProviderRouterImpl ¶
type ChartProviderRouterImpl struct {
// contains filtered or unexported fields
}
func NewChartProviderRouterImpl ¶
func NewChartProviderRouterImpl(chartProviderRestHandler ChartProviderRestHandler) *ChartProviderRouterImpl
func (ChartProviderRouterImpl) Init ¶
func (router ChartProviderRouterImpl) Init(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.