config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlyteJWTEnvName = "FLYTE_JWT"
)

Variables

View Source
var GetEnv = os.Getenv

Functions

func GetJWT

func GetJWT() string

Types

type Values

type Values struct {
	Labels      map[string]string
	FlyteApiUrl *url.URL
	Timeout     time.Duration
}

func FromEnvironment

func FromEnvironment() Values

returns the environment values

Jump to

Keyboard shortcuts

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