mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
feat: expose gcloud config
This commit is contained in:
parent
5f599744bb
commit
7506df3a6d
@ -89,6 +89,10 @@ func New(l log.Logger, cache cache.Cache, opts ...Option) (*GCloud, error) {
|
|||||||
// ~ Public methods
|
// ~ Public methods
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
func (p *GCloud) Config() *Config {
|
||||||
|
return p.cfg
|
||||||
|
}
|
||||||
|
|
||||||
func (p *GCloud) ServiceAccountKeysPath() string {
|
func (p *GCloud) ServiceAccountKeysPath() string {
|
||||||
return path.Join(p.cfg.ConfigPath, "service_account_keys")
|
return path.Join(p.cfg.ConfigPath, "service_account_keys")
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user