logcfg

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: (C) 2025 Intel Corporation SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var ConfigMapCommand = ""
View Source
var FileOwner = "platform-telemetry-agent"
View Source
var TmpFileDir = "/tmp"

Functions

func UpdateClusterLogConfig

func UpdateClusterLogConfig(ctx context.Context, cfg *pb.GetTelemetryConfigResponse, cfgTemplatePath string, isInit bool) (bool, error)

func UpdateHostLogConfig

func UpdateHostLogConfig(ctx context.Context, cfg *pb.GetTelemetryConfigResponse, cfgFilePath string, cfgTemplatePath string, isInit bool) (bool, error)

Types

type FluentBitTemplate

type FluentBitTemplate struct {
	Key           string     `yaml:"key"`
	Type          string     `yaml:"type"`
	Tag           string     `yaml:"tag"`
	IsInit        bool       `yaml:"isInit"`
	DefaultValues LogDefault `yaml:"chart_values"`
	MultilineData string     `yaml:"multiline_data"`
}

type LogDefault

type LogDefault struct {
	Keys map[string]string `yaml:",inline"`
}

Jump to

Keyboard shortcuts

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