Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Providers providers.Config
Parser parser.Config
// ManifestURL points to where the plugin manifest can be retrieved.
ManifestURL string `env:"INFRACOST_CLI_PLUGIN_MANIFEST_URL" default:"https://releases.infracost.io/plugins/manifest.json"`
// Cache is where the plugins should go.
Cache string `env:"INFRACOST_CLI_PLUGIN_CACHE_DIRECTORY"`
// AutoUpdate controls whether plugins are always updated to the latest
// version. When false, an existing cached version is used if available.
AutoUpdate bool `env:"INFRACOST_CLI_PLUGIN_AUTO_UPDATE" default:"true"`
// contains filtered or unexported fields
}
func (*Config) ApplyDefaults ¶
func (c *Config) ApplyDefaults()
func (*Config) EnsureParser ¶
Click to show internal directories.
Click to hide internal directories.