Documentation
¶
Index ¶
- func Connect(path string, level hclog.Level) (proto.ProviderServiceClient, func(), error)
- type Config
- func (c *Config) ListFinopsPolicies(ctx context.Context, ...) ([]*proto.FinopsPolicy, error)
- func (c *Config) LoadAWS(level hclog.Level) (proto.ProviderServiceClient, func(), error)
- func (c *Config) LoadAzure(level hclog.Level) (proto.ProviderServiceClient, func(), error)
- func (c *Config) LoadGCP(level hclog.Level) (proto.ProviderServiceClient, func(), error)
- func (c *Config) Process(ctx context.Context, provider proto.Provider, input *proto.Input, ...) ([]*proto.Resource, []*proto.FinopsPolicyResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
AWS string `env:"INFRACOST_CLI_PROVIDER_PLUGIN_AWS"`
Google string `env:"INFRACOST_CLI_PROVIDER_PLUGIN_GOOGLE"`
Azure string `env:"INFRACOST_CLI_PROVIDER_PLUGIN_AZURERM"`
AWSVersion string `env:"INFRACOST_CLI_PROVIDER_PLUGIN_AWS_VERSION"`
AzureVersion string `env:"INFRACOST_CLI_PROVIDER_PLUGIN_AZURE_VERSION"`
GoogleVersion string `env:"INFRACOST_CLI_PROVIDER_PLUGIN_GOOGLE_VERSION"`
}
func (*Config) ListFinopsPolicies ¶
Click to show internal directories.
Click to hide internal directories.