Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Auth interface{}
HttpClient *http.Client
Projects Projects
Repositories Repositories
// contains filtered or unexported fields
}
func NewClientWithBasicAuth ¶
func NewClientWithTokenAuth ¶
func (*Client) RawRequest ¶
func (c *Client) RawRequest(method, url, text string) (io.ReadCloser, error)
func (*Client) SetSocksProxy ¶
type PagedResponse ¶
type ProjectsResponse ¶
type ProjectsResponse struct {
*PagedResponse
Values []Project `json:"values"`
}
type Repositories ¶
type Repositories struct {
// contains filtered or unexported fields
}
func (*Repositories) List ¶
func (r *Repositories) List(project string) (*RepositoriesResponse, error)
type RepositoriesResponse ¶
type RepositoriesResponse struct {
*PagedResponse
Values []Repository `json:"values"`
}
type Repository ¶
type Repository struct {
Slug string `json:"slug"`
ID int `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
ScmID string `json:"scmId"`
State string `json:"state"`
StatusMessage string `json:"statusMessage"`
Forkable bool `json:"forkable"`
Project Project `json:"project"`
Public bool `json:"public"`
Links Links `json:"links"`
}
Click to show internal directories.
Click to hide internal directories.