es

package
v8.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package es permiit to handle Elasticsearch API call to manage some resources from Terraform

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider permiit to init the terraform provider

Types

type IndicesGetDataStreamResponse

type IndicesGetDataStreamResponse struct {
	DataStreams []interface{} `json:"data_streams,omitempty"`
}

type Transform

type Transform struct {
	Id          string            `json:"id"`
	Version     string            `json:"version"`
	CreateTime  int64             `json:"create_time"`
	Source      TransformSource   `json:"source"`
	Dest        TransformDest     `json:"dest"`
	Frequency   string            `json:"frequency"`
	Sync        TransformSync     `json:"sync"`
	Pivot       TransformPivot    `json:"pivot"`
	Description string            `json:"description"`
	Settings    TransformSettings `json:"settings"`
}

type TransformDest

type TransformDest struct {
	Index    string `json:"index"`
	Pipeline string `json:"pipeline"`
}

type TransformGetResponse

type TransformGetResponse struct {
	Transforms []Transform `json:"transforms,omitempty"`
}

type TransformPivot

type TransformPivot struct {
	GroupBy      map[string]interface{} `json:"group_by"`
	Aggregations map[string]interface{} `json:"aggregations"`
}

type TransformSettings

type TransformSettings struct {
	MaxPageSearchSize int `json:"max_page_search_size"`
}

type TransformSource

type TransformSource struct {
	Index []string    `json:"index"`
	Query interface{} `json:"query,omitempty"`
}

type TransformSync

type TransformSync struct {
	Time TransformTime `json:"time"`
}

type TransformTime

type TransformTime struct {
	Field string `json:"field"`
	Delay string `json:"delay"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL