Versions in this module Expand all Collapse all v0 v0.8.0 Jun 14, 2017 v0.7.0 Mar 10, 2017 Changes in this version + func Filename() string + type Config struct + AdminEndpoint string + CertFile string + Creds string + DataEndpoint string + Instance string + Project string + TLSCreds credentials.TransportCredentials + TokenSource oauth2.TokenSource + func Load() (*Config, error) + func (c *Config) CheckFlags(required RequiredFlags) error + func (c *Config) RegisterFlags() + func (c *Config) SetFromGcloud() error + type GcloudCmdTokenSource struct + Args []string + Command string + func (g *GcloudCmdTokenSource) Token() (*oauth2.Token, error) + type GcloudConfig struct + Configuration struct{ ... } + Credential GcloudCredential + func LoadGcloudConfig(gcloudCmd string, gcloudCmdArgs []string) (*GcloudConfig, error) + type GcloudCredential struct + AccessToken string + Expiry time.Time + func (cred *GcloudCredential) Token() *oauth2.Token + type RequiredFlags uint + const InstanceRequired + const NoneRequired + const ProjectAndInstanceRequired + const ProjectRequired