Documentation
¶
Index ¶
- type Repo
- func (gl Repo) BuildGitURL(baseURL string) string
- func (gl Repo) GetDefaultBranch() string
- func (gl Repo) GetForksCount() int
- func (gl Repo) GetHasDiscussion() bool
- func (gl Repo) GetHasIssues() bool
- func (gl Repo) GetHasWiki() bool
- func (gl Repo) GetIsEmpty() bool
- func (gl Repo) GetIsFork() bool
- func (gl Repo) GetIsTemplate() bool
- func (gl Repo) GetLicense() string
- func (gl Repo) GetOpenIssuesCount() int
- func (gl Repo) GetOrganizationID() int
- func (gl Repo) GetPrimaryLanguage() string
- func (gl Repo) GetProviderName() string
- func (gl Repo) GetRepoIdentifier() string
- func (gl Repo) GetRepositoryID() int
- func (gl Repo) GetSize() int
- func (gl Repo) GetStarsCount() int
- type ScmClient
- func (s *ScmClient) GetBaseURL() (string, error)
- func (s *ScmClient) GetOrgRepos(ctx context.Context, org string) <-chan analyze.RepoBatch
- func (s *ScmClient) GetProviderBaseURL() string
- func (s *ScmClient) GetProviderName() string
- func (s *ScmClient) GetProviderVersion(ctx context.Context) (string, error)
- func (s *ScmClient) GetRepo(ctx context.Context, org string, name string) (analyze.Repository, error)
- func (s *ScmClient) GetToken() string
- func (s *ScmClient) ParseRepoAndOrg(repoString string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct { analyze.Repository BaseUrl string Org string Name string }
func (Repo) BuildGitURL ¶
func (Repo) GetDefaultBranch ¶ added in v0.15.1
func (Repo) GetForksCount ¶ added in v0.15.1
func (Repo) GetHasDiscussion ¶ added in v0.15.1
func (Repo) GetHasIssues ¶ added in v0.15.1
func (Repo) GetHasWiki ¶ added in v0.15.1
func (Repo) GetIsEmpty ¶ added in v0.15.1
func (Repo) GetIsTemplate ¶ added in v0.15.1
func (Repo) GetLicense ¶ added in v0.15.1
func (Repo) GetOpenIssuesCount ¶ added in v0.15.1
func (Repo) GetOrganizationID ¶ added in v0.15.1
func (Repo) GetPrimaryLanguage ¶ added in v0.15.1
func (Repo) GetProviderName ¶
func (Repo) GetRepoIdentifier ¶
func (Repo) GetRepositoryID ¶ added in v0.15.1
func (Repo) GetStarsCount ¶ added in v0.15.1
type ScmClient ¶
func NewGitSCMClient ¶
func (*ScmClient) GetBaseURL ¶ added in v0.15.2
func (*ScmClient) GetOrgRepos ¶
func (*ScmClient) GetProviderBaseURL ¶
func (*ScmClient) GetProviderName ¶
func (*ScmClient) GetProviderVersion ¶
Click to show internal directories.
Click to hide internal directories.