lokistack

package
v0.0.0-...-1bc13c6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLokiOutputNames sets.String
)

Functions

func CheckFinalizer

func CheckFinalizer(ctx context.Context, client client.Client, obj client.Object) error

CheckFinalizer checks if the finalizer used for tracking the cluster-wide RBAC resources is attached to the provided object and removes it, if present.

func FormatOutputNameFromInput

func FormatOutputNameFromInput(inputName string) string

FormatOutputNameFromInput takes an clf.input and formats the output name for 'default' output

func LokiStackGatewayService

func LokiStackGatewayService(logStore *loggingv1.LogStoreSpec) string

LokiStackGatewayService returns the name of LokiStack gateway service. Returns an empty string if ClusterLogging is not configured for a LokiStack log store.

func ProcessForwarderPipelines

func ProcessForwarderPipelines(logStore *loggingv1.LogStoreSpec, namespace string, spec loggingv1.ClusterLogForwarderSpec, extras map[string]bool, saTokenSecret string) ([]loggingv1.OutputSpec, []loggingv1.PipelineSpec, map[string]bool)

func ReconcileLokiReadRoles

func ReconcileLokiReadRoles(k8sClient client.Client) (modified bool, err error)

func ReconcileLokiWriteRbac

func ReconcileLokiWriteRbac(k8sClient client.Client) error

func RemoveLokiReadRoles

func RemoveLokiReadRoles(k8sClient client.Client) error

func RemoveLokiWriteRbac

func RemoveLokiWriteRbac(k8sClient client.Client) error

func RemoveRbac

func RemoveRbac(k8sClient client.Client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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