auth

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultDataDir = func() string {
	if v, ok := os.LookupEnv("GUARD_DATA_DIR"); ok {
		glog.Infof("Using data dir %s found in GUARD_DATA_DIR env variable", v)
		return v
	}
	return filepath.Join(homedir.HomeDir(), ".guard")
}()
View Source
var SupportedOrgs orgs

Functions

This section is empty.

Types

type Interface

type Interface interface {
	UID() string
	Check(token string) (*authv1.UserInfo, error)
}

Directories

Path Synopsis
eks

Jump to

Keyboard shortcuts

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