Documentation ¶
Index ¶
- func ArrayToSet(slice []interface{}) map[interface{}]bool
- func ArrayToStrings(o []interface{}) []string
- func PrintResourceAttributes(s *terraform.State, n string) error
- func Provider() terraform.ResourceProvider
- func SetSeed()
- func StringsToArray(s []string) []interface{}
- func StringsToSet(slice []string) map[string]bool
- type Config
- type KeyFilter
- type MapFilter
- type MapKeyFilterFunc
- type MapKeyFilterType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayToSet ¶
func ArrayToSet(slice []interface{}) map[interface{}]bool
func ArrayToStrings ¶
func ArrayToStrings(o []interface{}) []string
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
func StringsToArray ¶
func StringsToArray(s []string) []interface{}
func StringsToSet ¶
Types ¶
type KeyFilter ¶
type KeyFilter struct { Input interface{} Func MapKeyFilterFunc }
type MapFilter ¶
type MapFilter struct { Input map[string]interface{} Output map[string]interface{} // contains filtered or unexported fields }
MapFilter ...
func (*MapFilter) ApplyKeyFilter ¶
func (m *MapFilter) ApplyKeyFilter( filterType MapKeyFilterType, key string, value interface{}) bool
func (*MapFilter) KeyFilter ¶
func (m *MapFilter) KeyFilter(filterType MapKeyFilterType) (interface{}, MapKeyFilterFunc, bool)
func (*MapFilter) SetKeyFilter ¶
type MapKeyFilterFunc ¶
MapKeyFilterFunc ...
type MapKeyFilterType ¶
type MapKeyFilterType int
MapKeyFilterType is an enum of the type of map key filter.
const ( // TypeKeyEquals ... TypeKeyEquals MapKeyFilterType = iota // TypeKeyContains ... TypeKeyContains // TypeKeyPrefix ... TypeKeyPrefix // TypeKeySuffix ... TypeKeySuffix )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.