Documentation ¶
Index ¶
- func BulkAction(ctx context.Context, client *elastic.Client, bulkbody string)
- func ClusterInfo(ctx context.Context, client *elastic.Client)
- func CreateIndex(ctx context.Context, client *elastic.Client, index string, indexbody string) (bool, error)
- func CreateRepo(ctx context.Context, client *elastic.Client, reponame string, repotype string, ...) bool
- func ElgoSearch(ctx context.Context, client *elastic.Client, indexname, sfield, svalue string, ...)
- func IndexDoc(ctx context.Context, client *elastic.Client, index string, doctype string, ...) (*elastic.IndexResponse, error)
- func IndexExists(ctx context.Context, client *elastic.Client, index string) bool
- func InnitiateClient(ctx context.Context, url string) *elastic.Client
- func ListIndexes(ctx context.Context, client *elastic.Client) ([]string, error)
- func RemoveIndex(ctx context.Context, client *elastic.Client, index string) (bool, error)
- func RemoveRepo(ctx context.Context, client *elastic.Client, reponame string) bool
- func SnapCreate(ctx context.Context, client *elastic.Client, reponame string, snapname string, ...) *bool
- func SnapDelete(ctx context.Context, client *elastic.Client, reponame string, snapname string) bool
- func SnapRestore(ctx context.Context, client *elastic.Client, reponame string, snapname string, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkAction ¶
func ClusterInfo ¶
func CreateIndex ¶
func CreateRepo ¶
func ElgoSearch ¶
func InnitiateClient ¶
func RemoveIndex ¶
func RemoveRepo ¶
func SnapCreate ¶
func SnapDelete ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.