opensearch

package
v0.0.0-...-41f90de Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(informers k8s.ClusterInformers, log logrus.FieldLogger, db openSearchClientDatabase) *Client

func (*Client) CostForOpenSearchInstance

func (c *Client) CostForOpenSearchInstance(ctx context.Context, env string, teamSlug slug.Slug, ownerName string) float64

func (*Client) OpenSearch

func (c *Client) OpenSearch(teamSlug slug.Slug) ([]*model.OpenSearch, error)

func (*Client) OpenSearchInstance

func (c *Client) OpenSearchInstance(ctx context.Context, env string, teamSlug slug.Slug, openSearchName string) (*model.OpenSearch, error)

func (*Client) Search

func (c *Client) Search(ctx context.Context, q string, filter *model.SearchFilter) []*search.Result

func (*Client) SupportsSearchFilter

func (c *Client) SupportsSearchFilter(filter *model.SearchFilter) bool

Jump to

Keyboard shortcuts

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