Documentation ¶
Index ¶
- func CreateTerraformProject(tmpDir string, tfProject TerraformProject) (string, error)
- func EnsurePluginsInstalled()
- func GoldenFileHCLResourceTestsWithOpts(t *testing.T, testName string, options *GoldenFileOptions)
- func GoldenFileResourceTests(t *testing.T, testName string)
- func GoldenFileResourceTestsWithOpts(t *testing.T, testName string, options *GoldenFileOptions)
- func GoldenFileUsageSyncTest(t *testing.T, testName string)
- func ResourceTests(t *testing.T, tf string, usage map[string]*schema.UsageData, ...)
- func ResourceTestsForTerraformProject(t *testing.T, tfProject TerraformProject, usage map[string]*schema.UsageData, ...)
- func RunCostCalculations(runCtx *config.RunContext, projects []*schema.Project) ([]*schema.Project, error)
- func RunSyncUsage(t *testing.T, projectCtx *config.ProjectContext, projects []*schema.Project, ...) []byte
- func WithProviders(tf string) string
- type File
- type GoldenFileOptions
- type TerraformProject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTerraformProject ¶ added in v0.7.19
func CreateTerraformProject(tmpDir string, tfProject TerraformProject) (string, error)
func EnsurePluginsInstalled ¶ added in v0.7.3
func EnsurePluginsInstalled()
func GoldenFileHCLResourceTestsWithOpts ¶ added in v0.10.7
func GoldenFileHCLResourceTestsWithOpts(t *testing.T, testName string, options *GoldenFileOptions)
func GoldenFileResourceTests ¶ added in v0.8.7
func GoldenFileResourceTestsWithOpts ¶ added in v0.9.6
func GoldenFileResourceTestsWithOpts(t *testing.T, testName string, options *GoldenFileOptions)
func GoldenFileUsageSyncTest ¶ added in v0.9.11
func ResourceTests ¶
func ResourceTestsForTerraformProject ¶ added in v0.7.19
func ResourceTestsForTerraformProject(t *testing.T, tfProject TerraformProject, usage map[string]*schema.UsageData, checks []testutil.ResourceCheck)
func RunCostCalculations ¶
func RunSyncUsage ¶ added in v0.9.11
func WithProviders ¶
Types ¶
type GoldenFileOptions ¶ added in v0.9.6
func DefaultGoldenFileOptions ¶ added in v0.9.7
func DefaultGoldenFileOptions() *GoldenFileOptions
type TerraformProject ¶ added in v0.7.19
type TerraformProject struct {
Files []File
}
Click to show internal directories.
Click to hide internal directories.