kibana

package
v0.0.0-...-d50d299 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const OVERRIDE = true
View Source
const REFRESH_FIELDS = true

Variables

This section is empty.

Functions

func DataViewExists

func DataViewExists(kClient Client, dataView kibanaeckv1alpha1.DataView) (bool, error)

func DeleteDataView

func DeleteDataView(kClient Client, dataView kibanaeckv1alpha1.DataView) (ctrl.Result, error)

func DeleteSavedObject

func DeleteSavedObject(kClient Client, savedObjectType string, savedObjectMeta metav1.ObjectMeta, savedObject kibanaeckv1alpha1.SavedObject) (ctrl.Result, error)

func DeleteSpace

func DeleteSpace(kClient Client, spaceName string) (ctrl.Result, error)

func DependenciesFulfilled

func DependenciesFulfilled(kClient Client, savedObject kibanaeckv1alpha1.SavedObject) error

func GetTargetInstance

func GetTargetInstance(cli client.Client, ctx context.Context, namespace string, targetName string, kibanaInstance *kibanaeckv1alpha1.KibanaInstance) error

func InjectId

func InjectId(objectJson string, id string) (*string, error)

func SavedObjectExists

func SavedObjectExists(kClient Client, savedObjectType string, name string, space *string) (bool, error)

func SpaceExists

func SpaceExists(kClient Client, spaceName string) (bool, error)

func UpsertDataView

func UpsertDataView(kClient Client, dataView kibanaeckv1alpha1.DataView) (ctrl.Result, error)

func UpsertSavedObject

func UpsertSavedObject(kClient Client, savedObjectType string, savedObjectMeta metav1.ObjectMeta, savedObject kibanaeckv1alpha1.SavedObject) (ctrl.Result, error)

func UpsertSpace

func UpsertSpace(kClient Client, space kibanaeckv1alpha1.Space) (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