types

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputOptions

type OutputOptions struct {
	Json    bool
	Minimal bool
	HTML    bool
	// Yaml         bool
	Junit       bool
	JsonOutPath string
	HTMLOutPath string
	// YamlOutPath  string
	JunitOutPath string
	IgnoreError  bool
	IgnoreEmpty  bool
}

type RecursiveOptions

type RecursiveOptions struct {
	Exclude []string
}

type Result

type Result struct {
	Path                string
	Error               string
	ResourceCount       uint
	ResourceCountExists uint
	ResourceCountDiff   uint
	Coverage            float64
	Duration            time.Duration
	PlanJSON            tfjson.Plan
	PlanRaw             string

	ActionNoopCount   uint
	ActionCreateCount uint
	ActionReadCount   uint
	ActionUpdateCount uint
	ActionDeleteCount uint
}

type TerraformModuleStatus

type TerraformModuleStatus struct {
	Timestamp string
	Path      string
	Results   []Result
	Coverage  float64
}

type TestCase

type TestCase struct {
	Name    string
	Status  string // "P" for passed, "F" for failed, "U" for untested
	Message string // error message if failed or skipped
}

type TestReport

type TestReport struct {
	Name      string
	Tests     int
	Failures  int
	Skipped   int
	Errors    int
	TestCases []TestCase
}

type ValidateOptions

type ValidateOptions struct {
	ValidateTerraformBy  string
	ValidateTerragruntBy string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL