Documentation
¶
Index ¶
- Constants
- Variables
- func NewTeamVerifier(teams []Team, gitHubClient Client) verifier.Verifier
- func NewUserVerifier(users []string, gitHubClient Client) verifier.Verifier
- type Client
- type GitHubProvider
- type GithubTeamProvider
- type OrganizationTeams
- type OrganizationVerifier
- type Team
- type TeamVerifier
- type UserVerifier
Constants ¶
View Source
const DisplayName = "GitHub"
View Source
const ProviderName = "github"
Variables ¶
View Source
var Scopes = []string{"read:org"}
Functions ¶
Types ¶
type Client ¶
type GitHubProvider ¶
func (GitHubProvider) PreTokenClient ¶
func (GitHubProvider) PreTokenClient() (*http.Client, error)
type GithubTeamProvider ¶
type GithubTeamProvider struct{}
func (GithubTeamProvider) ProviderConfigured ¶
func (GithubTeamProvider) ProviderConfigured(team db.Team) bool
func (GithubTeamProvider) ProviderConstructor ¶
type OrganizationTeams ¶
type OrganizationVerifier ¶
type OrganizationVerifier struct {
// contains filtered or unexported fields
}
func NewOrganizationVerifier ¶
func NewOrganizationVerifier( organizations []string, gitHubClient Client, ) OrganizationVerifier
type Team ¶
func DBTeamsToGitHubTeams ¶
func DBTeamsToGitHubTeams(dbteams []db.GitHubTeam) []Team
type TeamVerifier ¶
type TeamVerifier struct {
// contains filtered or unexported fields
}
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.