Versions in this module Expand all Collapse all v0 v0.0.3 Apr 1, 2019 Changes in this version type Client + RestClient *RestClient + type RestClient struct + func (c *RestClient) Do(method, url string, body io.Reader) ([]byte, error) v0.0.2 Dec 8, 2018 Changes in this version + type Badge struct + Href string + type Branch struct + Name string + NewObjectID string + OldObjectID string + type BuildReq struct + Definition Definition + Parameters string + SourceBranch string + type Builds struct + Count int + Value []struct{ ... } + type Client struct + APIVersion string + Instance string + Project string + Repo string + func NewClient(config *Config) (*Client, error) + func (c *Client) AddReviewer(pullRequestID int32, reviewer gitclient.IdentityRefWithVote) error + func (c *Client) AddReviewers(pullRequestID int32, reviewers []gitclient.IdentityRef) error + func (c *Client) AddThread(pullRequestID int32, comment string) error + func (c *Client) CommitChanges(changes interface{}, branchName, commitID, changePath, commitMessage string) error + func (c *Client) CompletePullRequest(pullRequestID int, commitID string, mergeMessage string, bypassPolicy bool, ...) error + func (c *Client) CreateBranch(newBranchName string, commitID string) error + func (c *Client) GetBranch(branchName string) (*Ref, error) + func (c *Client) GetBranches(branchName string) (*Refs, error) + func (c *Client) GetBuildDefinitions(definitionPath, definitionName string) (*Definitions, error) + func (c *Client) GetBuilds(buildDefinitionID int) (*Builds, error) + func (c *Client) GetCommit(commitID string) (*Commit, error) + func (c *Client) GetCommits(branch string, startTime time.Time, endTime time.Time, versionPath string) (*Commits, error) + func (c *Client) GetDiffsBetweenBranches(baseBranch string, targetBranch string) (*Diffs, error) + func (c *Client) GetFileFromRepo(branchName string, filePath string, target interface{}) error + func (c *Client) GetPullRequests(localVarOptionals *gitclient.GetPullRequestsOpts) ([]gitclient.GitPullRequest, error) + func (c *Client) GetThreads(pullRequestID int32, localVarOptionals *gitclient.ListPRThreadsOpts) ([]gitclient.GitPullRequestCommentThread, error) + func (c *Client) PostBuild(buildDefinitionID int, branch string, parameters interface{}) (*PostBuildResponse, error) + func (c *Client) SubmitPullRequest(targetBranch string, sourceBranch string, title string, description string) error + type Commit struct + ChangeCounts struct{ ... } + Changes []struct{ ... } + CommitID string + type Commits struct + Count int + Value []struct{ ... } + type CompletionOptions struct + BypassPolicy string + DeleteSourceBranch string + MergeCommitMessage string + SquashMerge string + type Config struct + APIVersion string + Instance string + Project string + RepositoryName string + Token string + Username string + type Definition struct + Drafts []interface{} + ID int + Name string + Path string + Project Project + QueueStatus string + Revision int64 + Type string + URI string + URL string + type Definitions struct + Count int + Value []Definition + type Diffs struct + AheadCount int + AllChangesIncluded bool + BaseCommit string + BehindCount int + ChangeCounts struct{ ... } + Changes []struct{ ... } + CommonCommit string + TargetCommit string + type LastChangedBy struct + Descriptor string + DisplayName string + ID string + ImageURL string + Links struct{ ... } + URL string + UniqueName string + type LastMergeSourceCommit struct + CommitID string + type PostBuildResponse struct + BuildNumber string + Definition Definition + ID int64 + KeepForever bool + LastChangedBy LastChangedBy + LastChangedDate string + Links PostBuildResponseLinks + Parameters string + Priority string + Project Project + QueueTime string + Reason string + RequestedBy LastChangedBy + RequestedFor LastChangedBy + RetainedByRelease bool + SourceBranch string + Status string + Tags []interface{} + TriggeredByBuild interface{} + URI string + URL string + ValidationResults []interface{} + type PostBuildResponseLinks struct + Badge Badge + Self Badge + SourceVersionDisplayURI Badge + Timeline Badge + Web Badge + type Project struct + Description string + ID string + Name string + Revision int64 + State string + URL string + Visibility string + type PullRequest struct + CodeReviewID int + CreationDate time.Time + Description string + MergeID string + MergeStatus string + PullRequestID int + SourceRefName string + Status string + SupportsIterations bool + TargetRefName string + Title string + URL string + type PullRequests struct + Count int + Value []PullRequest + type Ref struct + Name string + ObjectID string + URL string + type Refs struct + Count int + Value []Ref Incompatible versions in this module v2.0.0-alpha+incompatible Sep 26, 2018