Documentation
¶
Index ¶
- Constants
- Variables
- func CreateTerraformApply(server string, token string, apiKey string, ...) (*model.TerraformApply, error)
- func CreateTerraformPlan(server string, token string, apiKey string, terraformInput model.TerraformPlan) (*model.TerraformPlan, error)
- func IsFlakyNetworkError(output string) bool
- func RemoveOldPlans() error
Constants ¶
View Source
const OldPlanThresholdMinutes = 5
Variables ¶
View Source
var FlakyNetworkStrings []string = []string{"network is unreachable", "handshake timeout"}
These error message indicate a transient network issue that may be solved by retrying.
Functions ¶
func CreateTerraformApply ¶
func CreateTerraformApply(server string, token string, apiKey string, terraformApply model.TerraformApply) (*model.TerraformApply, error)
func CreateTerraformPlan ¶
func CreateTerraformPlan(server string, token string, apiKey string, terraformInput model.TerraformPlan) (*model.TerraformPlan, error)
func IsFlakyNetworkError ¶ added in v0.1.318
func RemoveOldPlans ¶ added in v0.1.56
func RemoveOldPlans() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.