Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentWebhook ¶
type CommentWebhook struct { Action string `json:"action"` IsPR bool `json:"is_pull"` Issue issue `json:"issue"` Comment comment `json:"comment"` ConfiguredProjects []settings.Project }
func NewCommentWebhook ¶
func NewCommentWebhook(raw []byte) (*CommentWebhook, bool)
func (*CommentWebhook) ProcessData ¶
func (w *CommentWebhook) ProcessData(gSDK giteaSdk.GiteaSdkInterface, sqSDK sqSdk.SonarQubeSdkInterface)
func (*CommentWebhook) Validate ¶
func (w *CommentWebhook) Validate() error
type PullWebhook ¶
type PullWebhook struct { Action string `json:"action"` PullRequest pullRequest `json:"pull_request"` RawRepository rawRepository `json:"repository"` Repository settings.GiteaRepository ConfiguredProjects []settings.Project }
func NewPullWebhook ¶
func NewPullWebhook(raw []byte) (*PullWebhook, bool)
func (*PullWebhook) ProcessData ¶
func (w *PullWebhook) ProcessData(gSDK giteaSdk.GiteaSdkInterface, sqSDK sqSdk.SonarQubeSdkInterface)
func (*PullWebhook) Validate ¶
func (w *PullWebhook) Validate() error
Click to show internal directories.
Click to hide internal directories.