Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MuxRouter ¶
func NewMuxRouter ¶
func NewMuxRouter(logger *zap.SugaredLogger, restHandler RestHandler) *MuxRouter
type ResetRequest ¶
type RestHandler ¶
type RestHandler interface {
GetDeploymentMetrics(w http.ResponseWriter, r *http.Request)
ProcessDeploymentEvent(w http.ResponseWriter, r *http.Request)
ResetApplication(w http.ResponseWriter, r *http.Request)
}
type RestHandlerImpl ¶
type RestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewRestHandlerImpl ¶
func NewRestHandlerImpl(logger *zap.SugaredLogger, deploymentMetricService pkg.DeploymentMetricService, ingestionService pkg.IngestionService) *RestHandlerImpl
func (*RestHandlerImpl) GetDeploymentMetrics ¶
func (impl *RestHandlerImpl) GetDeploymentMetrics(w http.ResponseWriter, r *http.Request)
func (*RestHandlerImpl) ProcessDeploymentEvent ¶
func (impl *RestHandlerImpl) ProcessDeploymentEvent(w http.ResponseWriter, r *http.Request)
func (*RestHandlerImpl) ResetApplication ¶
func (impl *RestHandlerImpl) ResetApplication(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.