Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanFixture ¶
type PlanFixture struct { Plan interface{} Json string }
func Plan ¶
func Plan(t *testing.T) PlanFixture
func PlanWithConfig ¶
func PlanWithConfig(t *testing.T, config PlanFixtureConfig) PlanFixture
PlanWithConfig runs a terraform plan. See plan elements in https://www.terraform.io/docs/internals/json-format.html.
func (*PlanFixture) AssertResourceCounts ¶
func (f *PlanFixture) AssertResourceCounts(t *testing.T, expected map[string]int)
type PlanFixtureConfig ¶
type ResourceCount ¶
func (ResourceCount) Equal ¶
func (r ResourceCount) Equal(s ResourceCount) bool
func (ResourceCount) String ¶
func (r ResourceCount) String() string
type ResourceCounts ¶
type ResourceCounts struct {
Counts []ResourceCount
}
Click to show internal directories.
Click to hide internal directories.