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 ¶
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 ¶ added in v0.0.16
func InitConfig() error
InitConfig performs the initiatization of the users configuration file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.