Documentation ¶
Index ¶
- Constants
- Variables
- type ChartBinary
- type ChartRepositoryRestHandler
- type ChartRepositoryRestHandlerImpl
- func (handler *ChartRepositoryRestHandlerImpl) CreateChartRepo(w http.ResponseWriter, r *http.Request)
- func (handler *ChartRepositoryRestHandlerImpl) DeleteChartRepo(w http.ResponseWriter, r *http.Request)
- func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoById(w http.ResponseWriter, r *http.Request)
- func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoList(w http.ResponseWriter, r *http.Request)
- func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoListMin(w http.ResponseWriter, r *http.Request)
- func (handler *ChartRepositoryRestHandlerImpl) TriggerChartSyncManual(w http.ResponseWriter, r *http.Request)
- func (handler *ChartRepositoryRestHandlerImpl) UpdateChartRepo(w http.ResponseWriter, r *http.Request)
- func (handler *ChartRepositoryRestHandlerImpl) ValidateChartRepo(w http.ResponseWriter, r *http.Request)
- type ChartRepositoryRouter
- type ChartRepositoryRouterImpl
Constants ¶
View Source
const CHART_REPO_DELETE_SUCCESS_RESP = "Chart repo deleted successfully."
View Source
const CHART_STORE_VISITED_COUNTER = "ChartStoreVisitCount"
Variables ¶
View Source
var ChartRepositoryWireSet = wire.NewSet( chartRepoRepository.NewChartRepoRepositoryImpl, wire.Bind(new(chartRepoRepository.ChartRepoRepository), new(*chartRepoRepository.ChartRepoRepositoryImpl)), chartRepoRepository.NewChartRefRepositoryImpl, wire.Bind(new(chartRepoRepository.ChartRefRepository), new(*chartRepoRepository.ChartRefRepositoryImpl)), chartRepoRepository.NewChartRepository, wire.Bind(new(chartRepoRepository.ChartRepository), new(*chartRepoRepository.ChartRepositoryImpl)), chartRepo.NewChartRepositoryServiceImpl, wire.Bind(new(chartRepo.ChartRepositoryService), new(*chartRepo.ChartRepositoryServiceImpl)), NewChartRepositoryRestHandlerImpl, wire.Bind(new(ChartRepositoryRestHandler), new(*ChartRepositoryRestHandlerImpl)), NewChartRepositoryRouterImpl, wire.Bind(new(ChartRepositoryRouter), new(*ChartRepositoryRouterImpl)), )
Functions ¶
This section is empty.
Types ¶
type ChartBinary ¶ added in v0.3.22
type ChartRepositoryRestHandler ¶
type ChartRepositoryRestHandler interface { GetChartRepoById(w http.ResponseWriter, r *http.Request) GetChartRepoList(w http.ResponseWriter, r *http.Request) GetChartRepoListMin(w http.ResponseWriter, r *http.Request) CreateChartRepo(w http.ResponseWriter, r *http.Request) UpdateChartRepo(w http.ResponseWriter, r *http.Request) ValidateChartRepo(w http.ResponseWriter, r *http.Request) TriggerChartSyncManual(w http.ResponseWriter, r *http.Request) DeleteChartRepo(w http.ResponseWriter, r *http.Request) }
type ChartRepositoryRestHandlerImpl ¶
type ChartRepositoryRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewChartRepositoryRestHandlerImpl ¶
func NewChartRepositoryRestHandlerImpl(Logger *zap.SugaredLogger, userAuthService user.UserService, chartRepositoryService chartRepo.ChartRepositoryService, enforcer casbin.Enforcer, validator *validator.Validate, deleteService delete2.DeleteService, chartRefRepository chartRepoRepository.ChartRefRepository, refChartDir chartRepoRepository.RefChartDir, attributesService attributes.AttributesService) *ChartRepositoryRestHandlerImpl
func (*ChartRepositoryRestHandlerImpl) CreateChartRepo ¶
func (handler *ChartRepositoryRestHandlerImpl) CreateChartRepo(w http.ResponseWriter, r *http.Request)
func (*ChartRepositoryRestHandlerImpl) DeleteChartRepo ¶
func (handler *ChartRepositoryRestHandlerImpl) DeleteChartRepo(w http.ResponseWriter, r *http.Request)
func (*ChartRepositoryRestHandlerImpl) GetChartRepoById ¶
func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoById(w http.ResponseWriter, r *http.Request)
func (*ChartRepositoryRestHandlerImpl) GetChartRepoList ¶
func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoList(w http.ResponseWriter, r *http.Request)
func (*ChartRepositoryRestHandlerImpl) GetChartRepoListMin ¶ added in v0.6.17
func (handler *ChartRepositoryRestHandlerImpl) GetChartRepoListMin(w http.ResponseWriter, r *http.Request)
func (*ChartRepositoryRestHandlerImpl) TriggerChartSyncManual ¶
func (handler *ChartRepositoryRestHandlerImpl) TriggerChartSyncManual(w http.ResponseWriter, r *http.Request)
func (*ChartRepositoryRestHandlerImpl) UpdateChartRepo ¶
func (handler *ChartRepositoryRestHandlerImpl) UpdateChartRepo(w http.ResponseWriter, r *http.Request)
func (*ChartRepositoryRestHandlerImpl) ValidateChartRepo ¶
func (handler *ChartRepositoryRestHandlerImpl) ValidateChartRepo(w http.ResponseWriter, r *http.Request)
type ChartRepositoryRouter ¶
type ChartRepositoryRouterImpl ¶
type ChartRepositoryRouterImpl struct {
// contains filtered or unexported fields
}
func NewChartRepositoryRouterImpl ¶
func NewChartRepositoryRouterImpl(chartRepositoryRestHandler ChartRepositoryRestHandler) *ChartRepositoryRouterImpl
func (ChartRepositoryRouterImpl) Init ¶
func (router ChartRepositoryRouterImpl) Init(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.