kibana

package
v0.0.1-beta3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteIndexPattern

func DeleteIndexPattern(kClient Client, indexPattern string) (ctrl.Result, error)

func IndexPatternExists

func IndexPatternExists(kClient Client, indexPattern kibanaeckv1alpha1.IndexPattern) (bool, error)

func UpsertIndexPattern

func UpsertIndexPattern(kClient Client, indexPattern kibanaeckv1alpha1.IndexPattern) (ctrl.Result, error)

Types

type Client

type Client struct {
	Cli        client.Client
	Ctx        context.Context
	KibanaSpec configv2.KibanaSpec
	Req        ctrl.Request
}

func (Client) DoDelete

func (kClient Client) DoDelete(path string) (*http.Response, error)

func (Client) DoGet

func (kClient Client) DoGet(path string) (*http.Response, error)

func (Client) DoPost

func (kClient Client) DoPost(path string, body string) (*http.Response, error)

func (Client) DoPut

func (kClient Client) DoPut(path string, body string) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳