loggedcluster

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const LoggingEnabledDefault = true

LoggingEnabledDefault defines if WCs logs are collected by default

Variables

View Source
var O = Options{}

O blah

Functions

This section is empty.

Types

type Interface

type Interface interface {
	client.Object
	HasLoggingEnabled() bool
	GetLoggingAgent() string
	SetLoggingAgent(string)
	GetKubeEventsLogger() string
	SetKubeEventsLogger(string)
	IsInsecureCA() bool
	GetAppsNamespace() string
	GetEnableLoggingFlag() bool
	GetClusterName() string
	GetInstallationName() string
	AppConfigName(app string) string
	GetObject() client.Object
	GetTenant() string
	IsCAPI() bool
	GetObservabilityBundleConfigMap() string
	UnwireLogging(currentApp appv1.App) *appv1.App
	WireLogging(currentApp appv1.App) *appv1.App
}

Interface contains the definition of functions that can differ between each type of cluster

type LoggingAgent added in v0.25.0

type LoggingAgent struct {
	LoggingAgent     string
	KubeEventsLogger string
}

func (*LoggingAgent) GetKubeEventsLogger added in v0.25.0

func (la *LoggingAgent) GetKubeEventsLogger() string

func (*LoggingAgent) GetLoggingAgent added in v0.25.0

func (la *LoggingAgent) GetLoggingAgent() string

func (*LoggingAgent) SetKubeEventsLogger added in v0.25.0

func (la *LoggingAgent) SetKubeEventsLogger(kubeEventsLogger string)

func (*LoggingAgent) SetLoggingAgent added in v0.25.0

func (la *LoggingAgent) SetLoggingAgent(loggingAgent string)

type Options

type Options struct {
	EnableLoggingFlag       bool
	DefaultLoggingAgent     string
	DefaultKubeEventsLogger string
	InstallationName        string
	InsecureCA              bool
}

Options to be used for any loggedCluster

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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