kibana

package
v5.6.12 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: Apache-2.0 Imports: 12 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 {
	Connection
}

func NewKibanaClient

func NewKibanaClient(cfg *common.Config) (*Client, error)

func (*Client) Close

func (client *Client) Close() error

func (*Client) GetVersion

func (client *Client) GetVersion() string

func (*Client) ImportJSON

func (client *Client) ImportJSON(url string, params url.Values, body io.Reader) error

func (*Client) SetVersion

func (client *Client) SetVersion() error

type Connection

type Connection struct {
	URL      string
	Username string
	Password string
	Headers  map[string]string
	// contains filtered or unexported fields
}

func (*Connection) Request

func (conn *Connection) Request(method, extraPath string,
	params url.Values, body io.Reader) (int, []byte, error)

Jump to

Keyboard shortcuts

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