dashboards

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: 10 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
	*http.Client
	// contains filtered or unexported fields
}

func NewClient

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

func (*Client) ImportObjects

func (c *Client) ImportObjects(ctx context.Context, objectData string, objectName string) (*opensearchapi.Response, error)

type ClientOption

type ClientOption func(*ClientOptions)

func WithTransport

func WithTransport(transport http.RoundTripper) ClientOption

type ClientOptions

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

type Config

type Config struct {
	Username string
	Password string
	URL      string
}

Jump to

Keyboard shortcuts

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