logging

package
v0.0.27 Latest Latest
Warning

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

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

Documentation

Overview

Package logging provides various utility functions regarding optional service log collection for the sf-operator:

* create fluent bit sidecar

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFluentBitSideCarContainer

func CreateFluentBitSideCarContainer(serviceName string, extraLabels []FluentBitLabel, volumeMounts []apiv1.VolumeMount, debug bool) apiv1.Container

func CreateForwarderEnvVars

func CreateForwarderEnvVars(name string, extraLabels []FluentBitLabel) []apiv1.EnvVar

func SetupLogForwarding

func SetupLogForwarding(serviceName string, forwarderSpec *v1.FluentBitForwarderSpec, extraLabels []FluentBitLabel, annotations map[string]string) []apiv1.EnvVar

Types

type FluentBitLabel

type FluentBitLabel struct {
	Key   string
	Value string
}

type PythonTemplateLoggingParams

type PythonTemplateLoggingParams struct {
	LogLevel    string
	ForwardLogs bool
	BaseURL     string
}

Jump to

Keyboard shortcuts

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