Documentation ¶
Index ¶
- func AddConnectionSchema(providedSchema map[string]*schema.Schema)
- func CheckError(res *esapi.Response, errMsg string) diag.Diagnostics
- func DiffIndexTemplateSettingSuppress(k, old, new string, d *schema.ResourceData) bool
- func DiffJsonSuppress(k, old, new string, d *schema.ResourceData) bool
- func FlattenMap(m map[string]interface{}) map[string]interface{}
- 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
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 DiffIndexTemplateSettingSuppress ¶
func DiffIndexTemplateSettingSuppress(k, old, new string, d *schema.ResourceData) bool
func DiffJsonSuppress ¶
func DiffJsonSuppress(k, old, new string, d *schema.ResourceData) bool
func FlattenMap ¶
Flattens the multilevel map, and concatenates keys together with dot "." # Exmaples map of form:
map := map[string]interface{}{ "index": map[string]interface{}{ "key": 1 } }
becomes:
map := map[string]interface{}{ "index.key": 1 }
func JSONBytesEqual ¶
Compares the JSON in two byte slices
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.