github

package
v1.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SessionStoreKey is the key used to lookup the session
	SessionStoreKey = "cla-github"
)

Variables

This section is empty.

Functions

func Configure

func Configure(api *operations.ClaAPI, clientID, clientSecret, accessToken string, sessionStore *dynastore.Store)

Configure API call

func GetInstallationRepositories added in v1.0.13

func GetInstallationRepositories(installationID int64) ([]*github.Repository, error)

GetInstallationRepositories returns list of repositories for github app installation

func GetUserDetails added in v1.0.13

func GetUserDetails(user string) (*github.User, error)

GetUserDetails return github users details

func Init added in v1.0.13

func Init(ghAppID int, ghAppPrivateKey string, secAccessToken string)

Init initializes the required github variables

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL