indices

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterStateService

type ClusterStateService struct {
	IndicesService *Service
	// contains filtered or unexported fields
}

func NewClusterStateService

func NewClusterStateService(indices *Service) *ClusterStateService

func (*ClusterStateService) ApplyClusterState

func (s *ClusterStateService) ApplyClusterState(event state.ClusterChangedEvent)

type NameExpressionResolver

type NameExpressionResolver struct{}

func NewNameExpressionResolver

func NewNameExpressionResolver() *NameExpressionResolver

func (*NameExpressionResolver) ConcreteIndexNames

func (r *NameExpressionResolver) ConcreteIndexNames(clusterState state.ClusterState, expression string) []string

func (*NameExpressionResolver) ConcreteIndices

func (r *NameExpressionResolver) ConcreteIndices(clusterState state.ClusterState, expression string) []state.Index

func (*NameExpressionResolver) ConcreteSingleIndex

func (r *NameExpressionResolver) ConcreteSingleIndex(clusterState state.ClusterState, expression string) state.Index

type Service

type Service struct {
	Indices map[string]*index.Service
}

func NewService

func NewService() *Service

func (*Service) CreateIndexService

func (s *Service) CreateIndexService(uuid string) *index.Service

func (*Service) IndexService

func (s *Service) IndexService(uuid string) (*index.Service, bool)

func (*Service) RemoveIndex

func (s *Service) RemoveIndex(idx state.Index)

type Stats

type Stats struct {
	NumDocs    uint64
	NumDeleted uint64
	NumBytes   uint64
}

Jump to

Keyboard shortcuts

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