You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

uploader.go 620 B

123456789101112131415161718
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // Copyright 2018 Jonas Franz. All rights reserved.
  3. // Use of this source code is governed by a MIT-style
  4. // license that can be found in the LICENSE file.
  5. package base
  6. // Uploader uploads all the informations
  7. type Uploader interface {
  8. CreateRepo(repo *Repository, includeWiki bool) error
  9. CreateMilestone(milestone *Milestone) error
  10. CreateRelease(release *Release) error
  11. CreateLabel(label *Label) error
  12. CreateIssue(issue *Issue) error
  13. CreateComment(issueNumber int64, comment *Comment) error
  14. CreatePullRequest(pr *PullRequest) error
  15. Rollback() error
  16. }