gitlab.go 544 B

1234567891011121314151617181920
  1. package integrations
  2. import "gorm.io/gorm"
  3. // GitlabIntegration takes care of Gitlab related auth mechanisms and data
  4. type GitlabIntegration struct {
  5. gorm.Model
  6. // Project ID of the project that this gitlab integration is linked with
  7. ProjectID uint `json:"project_id"`
  8. // URL of the Gitlab instance to talk to
  9. InstanceURL string `json:"instance_url"`
  10. // Gitlab instance-wide app's client ID
  11. AppClientID []byte `json:"app_client_id"`
  12. // Gitlab instance-wide app's client secret
  13. AppClientSecret []byte `json:"app_client_secret"`
  14. }