Documentation
¶
Index ¶
- Constants
- type GitHub
- func (g *GitHub) CreateHook(id, owner, repo, host string) (*string, error)
- func (g *GitHub) GetUser() (*types.User, error)
- func (g *GitHub) ListBranches(owner, repo string) (*types.VCSBranches, error)
- func (g *GitHub) ListRepositories(username string, org bool) (*types.VCSRepositories, error)
- func (g *GitHub) PushPayload(data []byte) (*types.VCSBranch, error)
- func (g *GitHub) RemoveHook(id, owner, repo string) error
- func (g *GitHub) VendorInfo() *types.Vendor
Constants ¶
View Source
const (
API_URL = "https://api.github.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
func (*GitHub) CreateHook ¶
func (*GitHub) ListBranches ¶
func (g *GitHub) ListBranches(owner, repo string) (*types.VCSBranches, error)
func (*GitHub) ListRepositories ¶
func (*GitHub) RemoveHook ¶
func (*GitHub) VendorInfo ¶
Click to show internal directories.
Click to hide internal directories.