Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBackend ¶
func AddBackend(cluster string, cfg *searchv1alpha1.BackendStoreConfig)
AddBackend add backend store
Types ¶
type BackendStore ¶
type BackendStore interface { ResourceEventHandlerFuncs() cache.ResourceEventHandler Close() }
BackendStore define BackendStore interface
type Default ¶
type Default struct {
// contains filtered or unexported fields
}
Default is the default BackendStore
func NewDefaultBackend ¶
NewDefaultBackend create a new default BackendStore
func (*Default) ResourceEventHandlerFuncs ¶
func (d *Default) ResourceEventHandlerFuncs() cache.ResourceEventHandler
ResourceEventHandlerFuncs return the ResourceEventHandlerFuncs
type OpenSearch ¶
type OpenSearch struct {
// contains filtered or unexported fields
}
OpenSearch implements backendstore.BackendStore
func NewOpenSearch ¶
func NewOpenSearch(cluster string, cfg *searchv1alpha1.BackendStoreConfig) (*OpenSearch, error)
NewOpenSearch returns a new OpenSearch
func (*OpenSearch) ResourceEventHandlerFuncs ¶
func (os *OpenSearch) ResourceEventHandlerFuncs() cache.ResourceEventHandler
ResourceEventHandlerFuncs implements cache.ResourceEventHandler
Click to show internal directories.
Click to hide internal directories.