Documentation
¶
Index ¶
- Constants
- type ChartGroupRestHandler
- type ChartGroupRestHandlerImpl
- func (impl *ChartGroupRestHandlerImpl) CreateChartGroup(w http.ResponseWriter, r *http.Request)
- func (impl *ChartGroupRestHandlerImpl) DeleteChartGroup(w http.ResponseWriter, r *http.Request)
- func (impl *ChartGroupRestHandlerImpl) GetChartGroupInstallationDetail(w http.ResponseWriter, r *http.Request)
- func (impl *ChartGroupRestHandlerImpl) GetChartGroupList(w http.ResponseWriter, r *http.Request)
- func (impl *ChartGroupRestHandlerImpl) GetChartGroupListMin(w http.ResponseWriter, r *http.Request)
- func (impl *ChartGroupRestHandlerImpl) GetChartGroupWithChartMetaData(w http.ResponseWriter, r *http.Request)
- func (impl *ChartGroupRestHandlerImpl) SaveChartGroupEntries(w http.ResponseWriter, r *http.Request)
- func (impl *ChartGroupRestHandlerImpl) UpdateChartGroup(w http.ResponseWriter, r *http.Request)
- type ChartGroupRouter
- type ChartGroupRouterImpl
Constants ¶
View Source
const CHART_GROUP_DELETE_SUCCESS_RESP = "Chart group deleted successfully."
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartGroupRestHandler ¶
type ChartGroupRestHandler interface {
CreateChartGroup(w http.ResponseWriter, r *http.Request)
UpdateChartGroup(w http.ResponseWriter, r *http.Request)
SaveChartGroupEntries(w http.ResponseWriter, r *http.Request)
GetChartGroupWithChartMetaData(w http.ResponseWriter, r *http.Request)
GetChartGroupList(w http.ResponseWriter, r *http.Request)
GetChartGroupInstallationDetail(w http.ResponseWriter, r *http.Request)
GetChartGroupListMin(w http.ResponseWriter, r *http.Request)
DeleteChartGroup(w http.ResponseWriter, r *http.Request)
}
type ChartGroupRestHandlerImpl ¶
type ChartGroupRestHandlerImpl struct {
ChartGroupService chartGroup.ChartGroupService
Logger *zap.SugaredLogger
// contains filtered or unexported fields
}
func NewChartGroupRestHandlerImpl ¶
func NewChartGroupRestHandlerImpl(ChartGroupService chartGroup.ChartGroupService, Logger *zap.SugaredLogger, userAuthService user.UserService, enforcer casbin.Enforcer, validator *validator.Validate) *ChartGroupRestHandlerImpl
func (*ChartGroupRestHandlerImpl) CreateChartGroup ¶
func (impl *ChartGroupRestHandlerImpl) CreateChartGroup(w http.ResponseWriter, r *http.Request)
func (*ChartGroupRestHandlerImpl) DeleteChartGroup ¶
func (impl *ChartGroupRestHandlerImpl) DeleteChartGroup(w http.ResponseWriter, r *http.Request)
func (*ChartGroupRestHandlerImpl) GetChartGroupInstallationDetail ¶
func (impl *ChartGroupRestHandlerImpl) GetChartGroupInstallationDetail(w http.ResponseWriter, r *http.Request)
func (*ChartGroupRestHandlerImpl) GetChartGroupList ¶
func (impl *ChartGroupRestHandlerImpl) GetChartGroupList(w http.ResponseWriter, r *http.Request)
func (*ChartGroupRestHandlerImpl) GetChartGroupListMin ¶
func (impl *ChartGroupRestHandlerImpl) GetChartGroupListMin(w http.ResponseWriter, r *http.Request)
func (*ChartGroupRestHandlerImpl) GetChartGroupWithChartMetaData ¶
func (impl *ChartGroupRestHandlerImpl) GetChartGroupWithChartMetaData(w http.ResponseWriter, r *http.Request)
func (*ChartGroupRestHandlerImpl) SaveChartGroupEntries ¶
func (impl *ChartGroupRestHandlerImpl) SaveChartGroupEntries(w http.ResponseWriter, r *http.Request)
func (*ChartGroupRestHandlerImpl) UpdateChartGroup ¶
func (impl *ChartGroupRestHandlerImpl) UpdateChartGroup(w http.ResponseWriter, r *http.Request)
type ChartGroupRouter ¶
type ChartGroupRouterImpl ¶
type ChartGroupRouterImpl struct {
ChartGroupRestHandler ChartGroupRestHandler
}
func NewChartGroupRouterImpl ¶
func NewChartGroupRouterImpl(ChartGroupRestHandler ChartGroupRestHandler) *ChartGroupRouterImpl
func (*ChartGroupRouterImpl) InitChartGroupRouter ¶
func (impl *ChartGroupRouterImpl) InitChartGroupRouter(chartGroupRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.