app

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the app

func GithubAuth

func GithubAuth(gh *GithubAuthOpts) error

GithubAuth validates if the provided Github personal token has access to the server by talking to the Github API.

Types

type GithubAuthOpts

type GithubAuthOpts struct {
	Token        string
	Organization string
	AllowedUsers []string
	AllowedTeams []string
}

GithubAuthOpts configured this auth backend

Jump to

Keyboard shortcuts

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