lekko

package
v0.2.31 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Relevant headers used for auth with lekko.
	LekkoTeamHeaderKey     string = "X-Lekko-Team"
	GithubOAuthHeaderKey   string = "X-Github-Token"
	GithubUserHeaderKey    string = "X-Github-User"
	AuthorizationHeaderKey string = "Authorization"
)

Variables

Functions

Types

type AuthCredentials

type AuthCredentials interface {
	GetLekkoUsername() string
	GetLekkoToken() string
	HasLekkoToken() bool
	GetLekkoTeam() string
	GetGithubToken() string
	GetGithubUser() string
	HasGithubToken() bool
}

Jump to

Keyboard shortcuts

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