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