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 }
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
}
Click to show internal directories.
Click to hide internal directories.