Documentation ¶
Index ¶
- type Client
- func (c *Client) CostForOpenSearchInstance(ctx context.Context, env string, teamSlug slug.Slug, ownerName string) float64
- func (c *Client) OpenSearch(teamSlug slug.Slug) ([]*model.OpenSearch, error)
- func (c *Client) OpenSearchInstance(ctx context.Context, env string, teamSlug slug.Slug, openSearchName string) (*model.OpenSearch, error)
- func (c *Client) Search(ctx context.Context, q string, filter *model.SearchFilter) []*search.Result
- func (c *Client) SupportsSearchFilter(filter *model.SearchFilter) bool
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 (*Client) OpenSearch ¶
func (*Client) OpenSearchInstance ¶
func (*Client) SupportsSearchFilter ¶
func (c *Client) SupportsSearchFilter(filter *model.SearchFilter) bool
Click to show internal directories.
Click to hide internal directories.