Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitData ¶
type CommitData struct { Message string `json:"message"` Content string `json:"content"` Branch string `json:"branch"` SHA string `json:"sha,omitempty"` Committer CommitDataAuthor `json:"committer"` }
type CommitDataAuthor ¶
type GithubRepository ¶
type GithubRepository struct {
// contains filtered or unexported fields
}
GithubRepository commits to a GitHub repository using the GitHub REST Commits APIs
func NewAPIClient ¶
func NewAPIClient(uri string, projectID string, credentials string) *GithubRepository
NewAPIClient creates a GithubRepository instance
func (*GithubRepository) Commit ¶
func (gh *GithubRepository) Commit(payload *targets.CommitPayload) error
Click to show internal directories.
Click to hide internal directories.