Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct { Type ChangeType Path []string From interface{} To interface{} }
func (Change) IsIndexMetadata ¶
func (Change) ShouldBeReported ¶
type ChangeCollection ¶
type ChangeCollection []Change
type ChangeType ¶
type ChangeType int
const ( ChangeTypeCreate ChangeType = iota ChangeTypeUpdate ChangeTypeDelete )
func NewChangeTypeFromDiffType ¶
func NewChangeTypeFromDiffType(diffType string) ChangeType
func (ChangeType) String ¶
func (d ChangeType) String() string
type Index ¶
type Index struct { Mappings Mappings `json:"mappings,omitempty" yaml:"mappings"` Settings Settings `json:"settings,omitempty" yaml:"settings"` }
func (*Index) GetMappings ¶
func (*Index) GetSettings ¶
func (*Index) UnmarshalJSON ¶
func (*Index) UnmarshalYAML ¶
type IndexCollection ¶
func NewIndexCollection ¶
func NewIndexCollection() IndexCollection
func (IndexCollection) Exist ¶
func (mc IndexCollection) Exist(indexName string) bool
func (IndexCollection) Load ¶
func (mc IndexCollection) Load(indexName string, index Index)
type Settings ¶
type Settings map[string]interface{}
func (Settings) GetIndexSettings ¶
func (*Settings) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.