Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiServer ¶
func New ¶
func New(giteaHandler GiteaWebhookHandlerInterface, sonarQubeHandler SonarQubeWebhookHandlerInferface) *ApiServer
type GiteaWebhookHandler ¶
type GiteaWebhookHandler struct {
// contains filtered or unexported fields
}
func (*GiteaWebhookHandler) HandleComment ¶
func (h *GiteaWebhookHandler) HandleComment(r *http.Request) (int, string)
func (*GiteaWebhookHandler) HandleSynchronize ¶
func (h *GiteaWebhookHandler) HandleSynchronize(r *http.Request) (int, string)
type GiteaWebhookHandlerInterface ¶ added in v0.3.1
type GiteaWebhookHandlerInterface interface { HandleSynchronize(r *http.Request) (int, string) HandleComment(r *http.Request) (int, string) }
func NewGiteaWebhookHandler ¶
func NewGiteaWebhookHandler(g giteaSdk.GiteaSdkInterface, sq sqSdk.SonarQubeSdkInterface) GiteaWebhookHandlerInterface
type SonarQubeWebhookHandler ¶
type SonarQubeWebhookHandler struct {
// contains filtered or unexported fields
}
type SonarQubeWebhookHandlerInferface ¶
func NewSonarQubeWebhookHandler ¶
func NewSonarQubeWebhookHandler(g giteaSdk.GiteaSdkInterface, sq sqSdk.SonarQubeSdkInterface) SonarQubeWebhookHandlerInferface
Click to show internal directories.
Click to hide internal directories.