kibana

package
v0.0.0-...-81cd6e7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const KibanaConsoleLinkName = "kibana-public-url"

Variables

This section is empty.

Functions

func GetProxyConfig

func GetProxyConfig(r client.Client) (*configv1.Proxy, error)

func NewContainer

func NewContainer(containerName string, imageName string, pullPolicy v1.PullPolicy, resources v1.ResourceRequirements) v1.Container

func NewDeployment

func NewDeployment(deploymentName string, namespace string, loggingComponent string, component string, replicas int32, podSpec core.PodSpec) *apps.Deployment

NewDeployment stubs an instance of a Deployment

func Reconcile

func Reconcile(log logr.Logger, requestCluster *kibana.Kibana, requestClient client.Client, esClient esclient.Client, proxyConfig *configv1.Proxy, eoManagedCerts bool, ownerRef metav1.OwnerReference) error

Types

type KibanaRequest

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

func (*KibanaRequest) Create

func (clusterRequest *KibanaRequest) Create(object client.Object) error

func (*KibanaRequest) CreateOrUpdateServiceAccount

func (clusterRequest *KibanaRequest) CreateOrUpdateServiceAccount(name string, annotations map[string]string) error

CreateOrUpdateServiceAccount creates or updates a ServiceAccount for logging with the given name

func (*KibanaRequest) Delete

func (clusterRequest *KibanaRequest) Delete(object client.Object) error

func (*KibanaRequest) Get

func (clusterRequest *KibanaRequest) Get(objectName string, object client.Object) error

func (*KibanaRequest) GetClusterResource

func (clusterRequest *KibanaRequest) GetClusterResource(objectName string, object client.Object) error

func (*KibanaRequest) GetRouteURL

func (clusterRequest *KibanaRequest) GetRouteURL(routeName string) (string, error)

GetRouteURL retrieves the route URL from a given route and namespace

func (*KibanaRequest) List

func (clusterRequest *KibanaRequest) List(selector map[string]string, object client.ObjectList) error

func (*KibanaRequest) Update

func (clusterRequest *KibanaRequest) Update(object client.Object) error

Update the runtime Object or return error

func (*KibanaRequest) UpdateStatus

func (clusterRequest *KibanaRequest) UpdateStatus() error

Jump to

Keyboard shortcuts

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