Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytebaseService ¶
type BytebaseService struct {
// contains filtered or unexported fields
}
func NewBytebase ¶
func NewBytebase(url, key, secret string) *BytebaseService
NewLark creates a Bytebase service
func (*BytebaseService) CreateIssue ¶
func (s *BytebaseService) CreateIssue(ctx context.Context, create *payload.IssueCreate) error
CreateIssue creates a single issue in a project.
type GerritService ¶
type GerritService struct {
// contains filtered or unexported fields
}
func NewGerrit ¶
func NewGerrit(url, username, password string) *GerritService
NewGerrit creates a Gerrit service
func (*GerritService) GetFileContent ¶
func (s *GerritService) GetFileContent(ctx context.Context, changeKey, revisionKey, filename string) (string, error)
GetFileContent returns the file content in a change. Docs: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-content
func (*GerritService) ListFilesInChange ¶
func (s *GerritService) ListFilesInChange(ctx context.Context, changeKey, revisionKey string) (map[string]interface{}, error)
ListFilesInChange lists changed files in a change. Docs: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-files
Click to show internal directories.
Click to hide internal directories.