opensearch

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 11 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 {
	ClientOptions
	ISM      api.ISMApi
	Security api.SecurityAPI
	Indices  api.IndicesAPI
	Ingest   api.IngestAPI
	Tasks    api.TasksAPI
	Cluster  api.ClusterAPI
	Alerting api.AlertingAPI
	Snapshot api.SnapshotAPI
}

func NewClient

func NewClient(cfg ClientConfig, opts ...ClientOption) (*Client, error)

type ClientConfig

type ClientConfig struct {
	URLs       []string
	Username   string
	CertReader certs.OpensearchCertReader
}

type ClientOption

type ClientOption func(*ClientOptions)

func WithTransport

func WithTransport(transport http.RoundTripper) ClientOption

type ClientOptions

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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