Versions in this module Expand all Collapse all v0 v0.6.0 Feb 1, 2024 v0.5.0 Jan 22, 2024 Changes in this version + var Keys = []string + func IsConfigured() bool + func Save(cfg *Config) error + type Config struct + Contexts map[string]Context + CurrentContext string + func Default() *Config + func Load() (*Config, error) + func (c Config) Current() (*Context, error) + func (c Config) CurrentOrEmpty() Context + func (c Config) DashboardURLs() []string + type Context struct + APIURL string + DashboardURL string + RegistryAPIURL string + func CurrentContext() (*Context, error) + func (c Context) FetchExports(ctx context.Context) (*Exports, error) + type Exports struct + APIURL string + AuthURL string + ClientID string + DashboardURL string + RegistryAPIURL string + TokenURL string + func (e Exports) OAuthConfig() *oauth2.Config