Documentation
¶
Index ¶
- func CreateBlob(g *GitHubClient, content string) (*github.Blob, error)
- func CreateCommit(g *GitHubClient, parent *github.RepositoryCommit, tree *github.Tree) (*github.Commit, error)
- func CreateFork(g *GitHubClient) (*github.Repository, error)
- func CreatePullRequest(g *GitHubClient, title, body string) (*github.PullRequest, error)
- func CreateReference(g *GitHubClient, baseRef *github.Reference) (*github.Reference, error)
- func CreateRepository(g *GitHubClient) (*github.Repository, error)
- func CreateTree(g *GitHubClient, sha string, entries []*github.TreeEntry) (*github.Tree, error)
- func DeleteReference(g *GitHubClient) error
- func DeleteRepository(g *GitHubClient) error
- func GetBlob(g *GitHubClient, sha string) (*github.Blob, error)
- func GetBlobContent(g *GitHubClient, sha string) ([]byte, error)
- func GetBranch(g *GitHubClient, branch string) (*github.Branch, error)
- func GetCommit(g *GitHubClient, sha string) (*github.RepositoryCommit, error)
- func GetOrganization(g *GitHubClient) (*github.Organization, error)
- func GetPullRequestTemplate(g *GitHubClient, sha string) ([]byte, error)
- func GetReference(g *GitHubClient) (*github.Reference, error)
- func GetTree(g *GitHubClient, sha string) (*github.Tree, error)
- func ListByOrg(g *GitHubClient) ([]*github.Repository, error)
- func ListForks(g *GitHubClient) ([]*github.Repository, error)
- func ListInstallations(g *GitHubClient) (*github.OrganizationInstallations, error)
- func ListRepositories(g *GitHubClient) ([]*github.Repository, error)
- func UpdateReference(g *GitHubClient, baseRef *github.Reference) (*github.Reference, error)
- type GitHubClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBlob ¶
func CreateBlob(g *GitHubClient, content string) (*github.Blob, error)
func CreateCommit ¶
func CreateCommit(g *GitHubClient, parent *github.RepositoryCommit, tree *github.Tree) (*github.Commit, error)
func CreateFork ¶
func CreateFork(g *GitHubClient) (*github.Repository, error)
func CreatePullRequest ¶
func CreatePullRequest(g *GitHubClient, title, body string) (*github.PullRequest, error)
func CreateReference ¶
func CreateRepository ¶
func CreateRepository(g *GitHubClient) (*github.Repository, error)
func CreateTree ¶
func DeleteReference ¶
func DeleteReference(g *GitHubClient) error
func DeleteRepository ¶
func DeleteRepository(g *GitHubClient) error
func GetBlobContent ¶
func GetBlobContent(g *GitHubClient, sha string) ([]byte, error)
func GetCommit ¶
func GetCommit(g *GitHubClient, sha string) (*github.RepositoryCommit, error)
func GetOrganization ¶
func GetOrganization(g *GitHubClient) (*github.Organization, error)
func GetPullRequestTemplate ¶
func GetPullRequestTemplate(g *GitHubClient, sha string) ([]byte, error)
func GetReference ¶
func GetReference(g *GitHubClient) (*github.Reference, error)
func ListByOrg ¶
func ListByOrg(g *GitHubClient) ([]*github.Repository, error)
func ListForks ¶
func ListForks(g *GitHubClient) ([]*github.Repository, error)
func ListInstallations ¶
func ListInstallations(g *GitHubClient) (*github.OrganizationInstallations, error)
func ListRepositories ¶
func ListRepositories(g *GitHubClient) ([]*github.Repository, error)
func UpdateReference ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.