Documentation ¶
Index ¶
- func ConvertInterfaceListToStringList(list []interface{}) []string
- func GetJSON(query string, json interface{}) ([]interface{}, error)
- func GetValueOfExpression(expression *tfjson.Expression, tfPlan *tfjson.Plan, ...) (interface{}, error)
- func InitWithConfig(customConfigFilePath string)
- func InitWithDefaultConfig()
- func LoadPlan(planFilePath string) *tfjson.Plan
- func ParseToInt(value interface{}) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertInterfaceListToStringList ¶ added in v0.4.0
func ConvertInterfaceListToStringList(list []interface{}) []string
ConvertInterfaceListToStringList converts a list of interfaces to a list of strings
func GetValueOfExpression ¶ added in v0.3.1
func GetValueOfExpression(expression *tfjson.Expression, tfPlan *tfjson.Plan, configModuleOptional ...*tfjson.ConfigModule) (interface{}, error)
func InitWithConfig ¶ added in v0.3.0
func InitWithConfig(customConfigFilePath string)
InitWithConfig initializes the configuration with a custom config file
func InitWithDefaultConfig ¶ added in v0.3.0
func InitWithDefaultConfig()
InitWithDefaultConfig initializes the configuration with the default config file
func ParseToInt ¶ added in v0.4.0
ParseToInt converts to an int an interface that could be int, float or string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.