Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayCfg ¶ added in v1.1.0
type IndexFilePair ¶ added in v1.0.30
type IndexTemplate ¶ added in v1.0.34
type TaskAction ¶
type TaskAction string
const ( TaskActionCopyIndex TaskAction = "copy_index" TaskActionSync TaskAction = "sync" TaskActionSyncDiff TaskAction = "sync_diff" TaskActionCompare TaskAction = "compare" TaskActionImport TaskAction = "import" TaskActionExport TaskAction = "export" TaskActionTemplate TaskAction = "create_template" )
type TaskCfg ¶
type TaskCfg struct { Name string `mapstructure:"name"` IndexPattern *string `mapstructure:"index_pattern"` SourceES string `mapstructure:"source_es"` TargetES string `mapstructure:"target_es"` IndexPairs []*IndexPair `mapstructure:"index_pairs"` IndexTemplates []*IndexTemplate `mapstructure:"index_templates"` TaskAction TaskAction `mapstructure:"action"` Force bool `mapstructure:"force"` ScrollSize uint `mapstructure:"scroll_size"` ScrollTime uint `mapstructure:"scroll_time"` Parallelism uint `mapstructure:"parallelism"` SliceSize uint `mapstructure:"slice_size"` BufferCount uint `mapstructure:"buffer_count"` ActionParallelism uint `mapstructure:"action_parallelism"` ActionSize uint `mapstructure:"action_size"` Ids []string `mapstructure:"ids"` IndexFilePairs []*IndexFilePair `mapstructure:"index_file_pairs"` IndexFileRoot string `mapstructure:"index_file_root"` Query string `mapstructure:"query"` }
Click to show internal directories.
Click to hide internal directories.