Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitFile ¶
type CommitFile = models.CommitFile
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory creates platform clients based on configuration
func NewFactory ¶
NewFactory creates a new platform factory
func (*Factory) CreatePlatform ¶
func (f *Factory) CreatePlatform() (models.GitPlatform, error)
CreatePlatform creates a platform client based on configuration
func (*Factory) CreateWebhookHandler ¶
func (f *Factory) CreateWebhookHandler(secret string) (WebhookHandler, error)
CreateWebhookHandler creates a webhook handler for the specified platform
type PlatformType ¶
type PlatformType string
PlatformType represents the type of git platform
const ( GitHubPlatform PlatformType = "github" GitLabPlatform PlatformType = "gitlab" GiteaPlatform PlatformType = "gitea" )
type PullRequest ¶
type PullRequest = models.PullRequest
type ReviewComment ¶
type ReviewComment = models.ReviewComment
type WebhookHandler ¶
type WebhookHandler interface{}
WebhookHandler is an interface for webhook handlers
Click to show internal directories.
Click to hide internal directories.