Documentation ¶
Overview ¶
Package util provides helper functions for the client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrConfigUnavailable is a sentinel error that indicates ECP config is unavailable, possibly due to entire config missing or missing binary path.
Functions ¶
func GetConfigFilePathFromEnv ¶ added in v0.3.0
func GetConfigFilePathFromEnv() (path string)
GetConfigFilePathFromEnv returns the path associated with environment variable GOOGLE_API_CERTIFICATE_CONFIG
func GetDefaultConfigFilePath ¶
func GetDefaultConfigFilePath() (path string)
GetDefaultConfigFilePath returns the default path of the enterprise certificate config file created by gCloud.
func LoadSignerBinaryPath ¶
LoadSignerBinaryPath retrieves the path of the signer binary from the config file.
Types ¶
type EnterpriseCertificateConfig ¶
type EnterpriseCertificateConfig struct {
Libs Libs `json:"libs"`
}
EnterpriseCertificateConfig contains parameters for initializing signer.
Click to show internal directories.
Click to hide internal directories.