Versions in this module Expand all Collapse all v0 v0.6.0-rc.1 Apr 14, 2017 v0.5.0 Mar 13, 2017 Changes in this version + type BuildStatus struct + Desc string + Key string + Name string + State string + Url string + type Client struct + func NewClientWithToken(url string, consumer *oauth.Consumer, AccessToken string) *Client + func (c *Client) CreateHook(owner string, name string, callBackLink string) error + func (c *Client) CreateStatus(revision string, status *BuildStatus) error + func (c *Client) DeleteHook(owner string, name string, link string) error + func (c *Client) FindCurrentUser() (*User, error) + func (c *Client) FindFileForRepo(owner string, repo string, fileName string, ref string) ([]byte, error) + func (c *Client) FindRepo(owner string, name string) (*Repo, error) + func (c *Client) FindRepoPerms(owner string, repo string) (*model.Perm, error) + func (c *Client) FindRepos() ([]*Repo, error) + func (c *Client) GetHookDetails(owner string, name string) (*HookPluginDetails, error) + func (c *Client) GetHooks(owner string, name string) (*HookSettings, error) + type CloneLink struct + Href string + Name string + type Hook struct + Details *HookDetail + Enabled bool + type HookDetail struct + ConfigFormKey string + Description string + Key string + Name string + Type string + Version string + type HookPluginDetails struct + Configured bool + Details struct{ ... } + Enabled bool + type HookSettings struct + HookURL0 string + HookURL1 string + HookURL10 string + HookURL11 string + HookURL12 string + HookURL13 string + HookURL14 string + HookURL15 string + HookURL16 string + HookURL17 string + HookURL18 string + HookURL19 string + HookURL2 string + HookURL3 string + HookURL4 string + HookURL5 string + HookURL6 string + HookURL7 string + HookURL8 string + HookURL9 string + type PostHook struct + Changesets struct{ ... } + RefChanges []RefChange + Repository struct{ ... } + type RefChange struct + FromHash string + RefID string + ToHash string + Type string + type Repo struct + Forkable bool + ID int + Links struct{ ... } + Name string + Project struct{ ... } + Public bool + ScmID string + Slug string + State string + StatusMessage string + type Repos struct + IsLastPage bool + Limit int + Size int + Start int + Values []*Repo + type SelfRefLink struct + Href string + type User struct + Active bool + DisplayName string + EmailAddress string + ID int + Links struct{ ... } + Name string + Slug string + Type string + type Value struct + Changes struct{ ... } + FromCommit struct{ ... } + Link struct{ ... } + ToCommit struct{ ... } v0.5.0-rc1 Mar 1, 2017