Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GithubClient ¶
A simple wrapper around the github client, exposing additional functionality relevant to lekko.
func NewGithubClient ¶
func NewGithubClient(h *http.Client) *GithubClient
func NewGithubClientFromToken ¶
func NewGithubClientFromToken(ctx context.Context, token string) *GithubClient
func (*GithubClient) GetUserOrganizations ¶ added in v0.2.16
func (gc *GithubClient) GetUserOrganizations(ctx context.Context) ([]string, error)
GetUserOrganizations uses an authenticated call to get the users private and public organizations
Click to show internal directories.
Click to hide internal directories.