feat: expose gcloud config

This commit is contained in:
Kevin Franklin Kim 2025-10-08 10:39:05 +02:00
parent 5f599744bb
commit 7506df3a6d
No known key found for this signature in database

View File

@ -89,6 +89,10 @@ func New(l log.Logger, cache cache.Cache, opts ...Option) (*GCloud, error) {
// ~ Public methods
// ------------------------------------------------------------------------------------------------
func (p *GCloud) Config() *Config {
return p.cfg
}
func (p *GCloud) ServiceAccountKeysPath() string {
return path.Join(p.cfg.ConfigPath, "service_account_keys")
}