Documentation ¶
Index ¶
- Variables
- func BreakingChangesDetect(currentModulePath, owner, repo string, tag *string) (string, error)
- func CompareTwoModules(dir1 string, dir2 string) (string, error)
- func GetCurrentMajorVersionFromEnv() (int, error)
- func GetCurrentModuleRootPath() (string, error)
- func ModuleUpgradeTest(t *testing.T, ...)
- func ReadRetryableErrors(retryableCfg []byte, t *testing.T) map[string]string
- func RecordVersionSnapshot(t *testing.T, rootFolder, terraformModuleFolder string) error
- func RunE2ETest(t *testing.T, moduleRootPath, exampleRelativePath string, ...)
- type Change
- type ChangeCategory
- type Module
- type Output
- type TerraformOutput
- type TestVersionSnapshot
- type Variable
Constants ¶
This section is empty.
Variables ¶
View Source
var CannotTestError = fmt.Errorf("no previous tag yet or previous tag's folder structure is different than the current version, skip upgrade test")
View Source
var SkipV0Error = fmt.Errorf("v0 is meant to be unstable, skip upgrade test")
Functions ¶
func BreakingChangesDetect ¶ added in v0.0.21
func CompareTwoModules ¶ added in v0.0.21
func ModuleUpgradeTest ¶
func ReadRetryableErrors ¶ added in v0.1.0
func RecordVersionSnapshot ¶ added in v0.7.0
func RunE2ETest ¶
Types ¶
type Change ¶ added in v0.0.21
type Change struct { diff.Change Category ChangeCategory `json:"category"` Name *string `json:"name"` Attribute *string `json:"attribute"` }
func BreakingChanges ¶ added in v0.0.21
type ChangeCategory ¶ added in v0.0.21
type ChangeCategory = string
type Module ¶ added in v0.0.21
type TerraformOutput ¶
type TerraformOutput = map[string]interface{}
type TestVersionSnapshot ¶ added in v0.7.0
func GetVersion ¶ added in v0.7.0
func GetVersion(t *testing.T, rootFolder, terraformModuleFolder string) TestVersionSnapshot
func (TestVersionSnapshot) ToString ¶ added in v0.7.0
func (s TestVersionSnapshot) ToString() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.