Documentation ¶
Index ¶
- Constants
- func AuthToGithub() string
- func ForkRepos(g *github.Client, cfg *globals.Config)
- func GetUser(g *github.Client)
- func InitClient() error
- func UploadGPGKey(g *github.Client, gid *string)
- func UploadSSHKey(g *github.Client, sshKeyPath string)
- type DeviceFlowAccessPost
- type DeviceFlowAccessResponse
- type DeviceFlowFirstPost
- type DeviceFlowFirstPostResponse
Constants ¶
View Source
const SCOPES = "repo, admin:public_key, admin:gpg_key, user"
Variables ¶
This section is empty.
Functions ¶
func AuthToGithub ¶
func AuthToGithub() string
func InitClient ¶
func InitClient() error
func UploadGPGKey ¶ added in v1.3.1
func UploadSSHKey ¶ added in v1.3.1
Types ¶
type DeviceFlowAccessPost ¶
type DeviceFlowFirstPost ¶
Click to show internal directories.
Click to hide internal directories.