appconfig

package
v0.0.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AuthProxyAddress       = "authproxy.proxyaddress"
	AuthProxyPort          = "authproxy.proxyport"
	AuthProxyVerbose       = "authproxy.verbose"
	AuthProxyLogDir        = "authproxy.logdir"
	AuthProxyCertFile      = "authproxy.certfile"
	AuthProxyKeyFile       = "authproxy.keyfile"
	DefaultServiceAccounts = "serviceaccounts"
	CloudSQLProxyPath      = "binarypaths.cloudsqlproxy"
	GcloudPath             = "binarypaths.gcloud"
	KubectlPath            = "binarypaths.kubectl"
	GithubAuth             = "github.auth"
	GithubTokens           = "github.tokens" //nolint:gosec // Not hardcoded credentials
	LoggingFormat          = "logging.format"
	LoggingLevel           = "logging.level"
	LoggingLevelTruncation = "logging.disableleveltruncation"
	LoggingPadLevelText    = "logging.padleveltext"
)

The configuration key names.

Variables

View Source
var (

	// Version is the currently installed eiam client version.
	// This is populated by goreleaser when a new release is built.
	Version = "v0.0.0"
)

Functions

func CheckCommandExists

func CheckCommandExists(command string) (string, error)

CheckCommandExists tries to find the location of a given binary.

func CheckForNewRelease

func CheckForNewRelease()

CheckForNewRelease checks to see if there is a new version of eiam available.

func GetConfigDir

func GetConfigDir() string

GetConfigDir returns the directory to use for the ephemeral-iam configurations.

func InitConfig

func InitConfig() error

InitConfig performs the initiatization of the users configuration file.

func Setup

func Setup() error

Setup ensures that the prequisites for running ephemeral-iam are met.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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