Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubInterface ¶
type GitHubInterface interface { GetUserInfo(ctx context.Context) (*UserInfo, error) GetOrgMembership(ctx context.Context) ([]string, error) GetTeamMembership(ctx context.Context, allowedOrganizations *setutil.CaseInsensitiveSet) ([]TeamInfo, error) }
func NewGitHubClient ¶
func NewGitHubClient(httpClient *http.Client, apiBaseURL, token string) (GitHubInterface, error)
Click to show internal directories.
Click to hide internal directories.