Documentation
¶
Index ¶
- func MakeAzureDevOpsRepo(input string) (clients.Repo, error)
- type Client
- func (c *Client) Close() error
- func (c *Client) GetBranch(branch string) (*clients.BranchRef, error)
- func (c *Client) GetCreatedAt() (time.Time, error)
- func (c *Client) GetDefaultBranch() (*clients.BranchRef, error)
- func (c *Client) GetDefaultBranchName() (string, error)
- func (c *Client) GetFileReader(filename string) (io.ReadCloser, error)
- func (c *Client) GetOrgRepoClient(context.Context) (clients.RepoClient, error)
- func (c *Client) InitRepo(inputRepo clients.Repo, commitSHA string, commitDepth int) error
- func (c *Client) IsArchived() (bool, error)
- func (c *Client) ListCheckRunsForRef(ref string) ([]clients.CheckRun, error)
- func (c *Client) ListCommits() ([]clients.Commit, error)
- func (c *Client) ListContributors() ([]clients.User, error)
- func (c *Client) ListFiles(predicate func(string) (bool, error)) ([]string, error)
- func (c *Client) ListIssues() ([]clients.Issue, error)
- func (c *Client) ListLicenses() ([]clients.License, error)
- func (c *Client) ListProgrammingLanguages() ([]clients.Language, error)
- func (c *Client) ListReleases() ([]clients.Release, error)
- func (c *Client) ListStatuses(ref string) ([]clients.Status, error)
- func (c *Client) ListSuccessfulWorkflowRuns(filename string) ([]clients.WorkflowRun, error)
- func (c *Client) ListWebhooks() ([]clients.Webhook, error)
- func (c *Client) LocalPath() (string, error)
- func (c *Client) Search(request clients.SearchRequest) (clients.SearchResponse, error)
- func (c *Client) SearchCommits(request clients.SearchCommitsOptions) ([]clients.Commit, error)
- func (c *Client) URI() string
- type Repo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func CreateAzureDevOpsClient ¶
func (*Client) GetDefaultBranchName ¶
func (*Client) GetFileReader ¶
func (c *Client) GetFileReader(filename string) (io.ReadCloser, error)
func (*Client) GetOrgRepoClient ¶
Org repository, AKA the <org>/.github repository, is a GitHub-specific feature.
func (*Client) IsArchived ¶
func (*Client) ListCheckRunsForRef ¶
func (*Client) ListLicenses ¶
Azure DevOps doesn't have a license detection feature. Thankfully, the License check falls back to file-based detection.
func (*Client) ListProgrammingLanguages ¶
func (*Client) ListSuccessfulWorkflowRuns ¶
func (c *Client) ListSuccessfulWorkflowRuns(filename string) ([]clients.WorkflowRun, error)
func (*Client) Search ¶
func (c *Client) Search(request clients.SearchRequest) (clients.SearchResponse, error)
func (*Client) SearchCommits ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) AppendMetadata ¶
Click to show internal directories.
Click to hide internal directories.