auth

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 10 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 {
		klog.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(ctx context.Context, 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