Documentation ¶
Index ¶
- func ConfigureCommand(cmd *cobra.Command) error
- func FormatDuration(d time.Duration) string
- func Run(opts *Options) error
- type GitHubClient
- func (c *GitHubClient) GetAllOrgMemberRepoURLs(members []string) (*PublicGitInfo, error)
- func (c *GitHubClient) GetPublicOrgMembers(organization string) (*PublicGitInfo, error)
- func (c *GitHubClient) GetPublicOrgRepoURLs(organization string) (*PublicGitInfo, error)
- func (c *GitHubClient) GetPublicOrgUserRepoURLs(username string) (*PublicGitInfo, error)
- func (c *GitHubClient) ListPublicMembers(organization string) ([]*github.User, error)
- func (c *GitHubClient) ListPublicOrgRepos(organization string) ([]*github.Repository, error)
- func (c *GitHubClient) ListPublicUserRepos(username string) ([]*github.Repository, error)
- func (c *GitHubClient) SearchGitHubDorks(opts *Options) (map[string][]string, error)
- func (c *GitHubClient) SearchUsers(opts *Options) ([]string, error)
- type Options
- type PublicGitInfo
- type PublicGitMembers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureCommand ¶
Types ¶
type GitHubClient ¶
func (*GitHubClient) GetAllOrgMemberRepoURLs ¶
func (c *GitHubClient) GetAllOrgMemberRepoURLs(members []string) (*PublicGitInfo, error)
GetAllOrgMemberRepoURLs ...
func (*GitHubClient) GetPublicOrgMembers ¶
func (c *GitHubClient) GetPublicOrgMembers(organization string) (*PublicGitInfo, error)
GetPublicOrgMembers ...
func (*GitHubClient) GetPublicOrgRepoURLs ¶
func (c *GitHubClient) GetPublicOrgRepoURLs(organization string) (*PublicGitInfo, error)
GetPublicOrgRepoURLs returns a slice of public repo URLs
func (*GitHubClient) GetPublicOrgUserRepoURLs ¶
func (c *GitHubClient) GetPublicOrgUserRepoURLs(username string) (*PublicGitInfo, error)
GetPublicOrgUserRepoURLs returns a slice of public repo URLs
func (*GitHubClient) ListPublicMembers ¶
func (c *GitHubClient) ListPublicMembers(organization string) ([]*github.User, error)
func (*GitHubClient) ListPublicOrgRepos ¶
func (c *GitHubClient) ListPublicOrgRepos(organization string) ([]*github.Repository, error)
func (*GitHubClient) ListPublicUserRepos ¶
func (c *GitHubClient) ListPublicUserRepos(username string) ([]*github.Repository, error)
func (*GitHubClient) SearchGitHubDorks ¶
func (c *GitHubClient) SearchGitHubDorks(opts *Options) (map[string][]string, error)
SearchGitHubDorks ...
func (*GitHubClient) SearchUsers ¶
func (c *GitHubClient) SearchUsers(opts *Options) ([]string, error)
SearchUsers searches GitHub for the supplied Company arg for the organization user and returns the best match based on the primary company base domain. and compares it against the GitHub username which is often similar or the same as the base domain minus tld.
type Options ¶
type PublicGitInfo ¶
type PublicGitInfo struct { OrgHTTPSCloneURLs []string OrgUserHTTPSCloneURLs []string OrgUserNonForkedHTTPSCloneURLs []string Members PublicGitMembers }
type PublicGitMembers ¶
Click to show internal directories.
Click to hide internal directories.