github_controller

package
v1.3.3-0...-f480500 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileName string = config.Public.TokenPath

Functions

func CreatePullRequest

func CreatePullRequest(prData NewPullRequest)

func GetCurrentUser

func GetCurrentUser() *github.User

func GetLatest

func GetLatest() *github.RepositoryRelease

func GetLatestFileName

func GetLatestFileName() string

func GetLatestVersion

func GetLatestVersion() string

func GetRepoList

func GetRepoList() (repos []*github.Repository)

func GetRepoURL

func GetRepoURL(owner string, repo string) string

func Login

func Login()

func Logout

func Logout()

func TestConnection

func TestConnection()

Types

type NewPullRequest

type NewPullRequest struct {
	Title string
	Head  string
	Base  string
	Body  string
	Owner string
	Repo  string
	Draft bool
}

Jump to

Keyboard shortcuts

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