Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DevtronResourceWireSet = wire.NewSet( read.NewDevtronResourceSearchableKeyServiceImpl, wire.Bind(new(read.DevtronResourceSearchableKeyService), new(*read.DevtronResourceSearchableKeyServiceImpl)), repository.NewDevtronResourceSearchableKeyRepositoryImpl, wire.Bind(new(repository.DevtronResourceSearchableKeyRepository), new(*repository.DevtronResourceSearchableKeyRepositoryImpl)), NewDevtronResourceRouterImpl, wire.Bind(new(DevtronResourceRouter), new(*DevtronResourceRouterImpl)), NewHistoryRouterImpl, wire.Bind(new(HistoryRouter), new(*HistoryRouterImpl)), NewHistoryRestHandlerImpl, wire.Bind(new(HistoryRestHandler), new(*HistoryRestHandlerImpl)), cdPipeline.NewDeploymentHistoryServiceImpl, wire.Bind(new(cdPipeline.DeploymentHistoryService), new(*cdPipeline.DeploymentHistoryServiceImpl)), devtronResource.NewAPIReqDecoderServiceImpl, wire.Bind(new(devtronResource.APIReqDecoderService), new(*devtronResource.APIReqDecoderServiceImpl)), )
Functions ¶
This section is empty.
Types ¶
type DevtronResourceRouter ¶
type DevtronResourceRouterImpl ¶
type DevtronResourceRouterImpl struct {
// contains filtered or unexported fields
}
func NewDevtronResourceRouterImpl ¶
func NewDevtronResourceRouterImpl(historyRouter HistoryRouter) *DevtronResourceRouterImpl
func (*DevtronResourceRouterImpl) InitDevtronResourceRouter ¶
func (router *DevtronResourceRouterImpl) InitDevtronResourceRouter(devtronResourceRouter *mux.Router)
type HistoryRestHandler ¶
type HistoryRestHandler interface { GetDeploymentHistory(w http.ResponseWriter, r *http.Request) GetDeploymentHistoryConfigList(w http.ResponseWriter, r *http.Request) }
type HistoryRestHandlerImpl ¶
type HistoryRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewHistoryRestHandlerImpl ¶
func NewHistoryRestHandlerImpl(logger *zap.SugaredLogger, enforcer casbin.Enforcer, deploymentHistoryService cdPipeline.DeploymentHistoryService, apiReqDecoderService devtronResource.APIReqDecoderService, enforcerUtil rbac.EnforcerUtil) *HistoryRestHandlerImpl
func (*HistoryRestHandlerImpl) GetDeploymentHistory ¶
func (handler *HistoryRestHandlerImpl) GetDeploymentHistory(w http.ResponseWriter, r *http.Request)
func (*HistoryRestHandlerImpl) GetDeploymentHistoryConfigList ¶
func (handler *HistoryRestHandlerImpl) GetDeploymentHistoryConfigList(w http.ResponseWriter, r *http.Request)
type HistoryRouter ¶
type HistoryRouterImpl ¶
type HistoryRouterImpl struct {
// contains filtered or unexported fields
}
func NewHistoryRouterImpl ¶
func NewHistoryRouterImpl(dtResourceHistoryRestHandler HistoryRestHandler) *HistoryRouterImpl
func (*HistoryRouterImpl) InitDtResourceHistoryRouter ¶
func (router *HistoryRouterImpl) InitDtResourceHistoryRouter(historyRouter *mux.Router)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.