Documentation
¶
Index ¶
- func AddConnectionSchema(providedSchema map[string]*schema.Schema)
- func CheckError(res *esapi.Response, errMsg string) diag.Diagnostics
- func ConvertSettingsKeyToTFFieldKey(settingKey string) string
- func DiffIndexSettingSuppress(k, old, new string, d *schema.ResourceData) bool
- func DiffJsonSuppress(k, old, new string, d *schema.ResourceData) bool
- func ExpandIndividuallyDefinedSettings(ctx context.Context, d *schema.ResourceData, ...) map[string]interface{}
- func ExpandStringSet(set *schema.Set) []string
- func FlattenMap(m map[string]interface{}) map[string]interface{}
- func FormatStrictDateTime(t time.Time) string
- func IsEmpty(v interface{}) bool
- func JSONBytesEqual(a, b []byte) (bool, error)
- func MapsEqual(m1, m2 interface{}) bool
- func MergeSchemaMaps(maps ...map[string]*schema.Schema) map[string]*schema.Schema
- func NormalizeIndexSettings(m map[string]interface{}) map[string]interface{}
- func StringToHash(s string) (*string, error)
- func TestCheckResourceListAttr(name, key string, values []string) resource.TestCheckFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddConnectionSchema ¶
Returns the common connection schema for all the Elasticsearch resources, which defines the fields which can be used to configure the API access
func CheckError ¶
func CheckError(res *esapi.Response, errMsg string) diag.Diagnostics
func ConvertSettingsKeyToTFFieldKey ¶ added in v0.5.0
func DiffIndexSettingSuppress ¶ added in v0.2.0
func DiffIndexSettingSuppress(k, old, new string, d *schema.ResourceData) bool
func DiffJsonSuppress ¶
func DiffJsonSuppress(k, old, new string, d *schema.ResourceData) bool
func ExpandIndividuallyDefinedSettings ¶ added in v0.5.0
func ExpandStringSet ¶ added in v0.4.0
func FlattenMap ¶
Flattens the multilevel map, and concatenates keys together with dot "." # Examples map of form:
map := map[string]interface{}{ "index": map[string]interface{}{ "key": 1 } }
becomes:
map := map[string]interface{}{ "index.key": 1 }
func FormatStrictDateTime ¶ added in v0.5.0
func JSONBytesEqual ¶
Compares the JSON in two byte slices
func MergeSchemaMaps ¶
func NormalizeIndexSettings ¶ added in v0.2.0
func StringToHash ¶ added in v0.3.0
func TestCheckResourceListAttr ¶ added in v0.4.0
func TestCheckResourceListAttr(name, key string, values []string) resource.TestCheckFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.