Versions in this module Expand all Collapse all v1 v1.8.7 May 20, 2022 Changes in this version + const AliasNameNullError + const IndexNameNullError + var ParmasNullError = map[int]string + var ReqParmasValid = errors.New("请求参数无效") + func EsPwdESBDecrypt(cryptedStr string) (string, error) + func EsPwdESBEncrypt(pwd string) (string, error) + func NewEsClientV6(esConnectConfig *EsConnect) (esClient *elasticV6.Client, err error) + func NewEsClientV7(esConnectConfig *EsConnect) (esClient *elasticV7.Client, err error) + func NewEsClientV8(esConnectConfig *EsConnect) (esClient *elasticV7.Client, err error) + type AnalysisFilter struct + FilterType string + Filts []struct{ ... } + Relation string + type CancelTask struct + EsConnect int + TaskID string + type CleanupeRepository struct + EsConnect int + Repository string + type CreateSnapshot struct + EsConnect int + IgnoreUnavailable *bool + IncludeGlobalState *bool + IndexList []string + Partial *bool + RepositoryName string + SnapshotName string + Wait *bool + type CrudFilter struct + EsConnect int + IndexName string + Limit int + Page int + Relation AnalysisFilter + SortList []SortStruct + type DeleteSnapshot struct + EsConnect int + RepositoryName string + SnapshotName string + type EsAliasInfo struct + AliasName string + EsConnect int + IndexName string + NewAliasNameList []string + NewIndexList []string + Settings Json + Types int + type EsCache struct + func NewEsCache() *EsCache + func (this *EsCache) Get(id int) *EsConnect + func (this *EsCache) Rem(id int) + func (this *EsCache) Set(id int, esClient *EsConnect) + type EsCat struct + Cat string + EsConnect int + IndexBytesFormat string + type EsClientV7 struct + Client *elasticV7.Client + type EsConnect struct + Ip string + Pwd string + User string + Version int + func GetEsClientByID(id int) (*EsConnect, error) + type EsConnectID struct + EsConnectID int + type EsDocDeleteRowByID struct + EsConnect int + ID string + IndexName string + Type string + type EsDocUpdateByID struct + EsConnect int + ID string + Index string + JSON Json + Type string + type EsIndexInfo struct + EsConnect int + IndexName string + Settings Json + Types string + type EsMapGetProperties struct + EsConnectID int + IndexName string + type EsMappingInfo struct + EsConnect int + IndexName string + IndexNameList []string + Mappings Json + type EsOptimize struct + Command string + EsConnect int + IndexName string + type EsReIndexInfo struct + Body util.Map + EsConnect int + UrlValues struct{ ... } + type EsRest struct + Body string + EsConnect int + Method string + Path string + type EsSnapshotInfo struct + EsConnect int + SnapshotInfoList []string + type EsTaskInfo struct + Actions []string + EsConnect int + NodeId []string + ParentTaskId string + TaskId []string + type Json map[string]interface + type Page struct + PageNum int + PageSize int + type SnapshotCreateRepository struct + ChunkSize string + Compress string + EsConnect int + Location string + MaxRestoreBytesPerSec string + MaxSnapshotBytesPerSec string + Readonly string + Repository string + Type string + type SnapshotDelete struct + EsConnect int + Repository string + Snapshot string + type SnapshotDeleteRepository struct + EsConnect int + Repository string + type SnapshotDetail struct + EsConnect int + Repository string + Snapshot string + type SnapshotList struct + EsConnect int + Repository string + type SnapshotRestore struct + EsConnect int + IgnoreUnavailable *bool + IncludeGlobalState *bool + IndexList []string + Partial *bool + RenamePattern string + RenameReplacement string + RepositoryName string + SnapshotName string + Wait *bool + type SnapshotStatus struct + EsConnect int + RepositoryName string + SnapshotName string + type Sort struct + Ascending bool + Field string + type SortStruct struct + Col string + SortRule string + type TaskList struct + EsConnect int + type UpdateMapping struct + EsConnect int + IndexName string + Properties Json + TypeName string