reindex

package
v0.0.0-...-2873e01 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IndexTpl = "corteza-%s-%s"
)

Variables

This section is empty.

Functions

func ReIndexer

func ReIndexer(log *zap.Logger, es esService, api apiClientService, esOpt options.EsOpt) *reIndexer

Types

type ActivityLog

type ActivityLog struct {
	ID             uint64         `json:"activityID,string"`
	ResourceID     uint64         `json:"resourceID,string"`
	ResourceType   string         `json:"resourceType"`
	ResourceAction string         `json:"resourceAction"`
	Timestamp      time.Time      `json:"timestamp"`
	Meta           types.JSONText `json:"meta"`
}

type ActivityLogMeta

type ActivityLogMeta struct {
	NamespaceID uint64 `json:"namespaceID,string"`
	ModuleID    uint64 `json:"moduleID,string"`
}

Jump to

Keyboard shortcuts

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