common

package
v0.0.0-...-8a6cf29 Latest Latest
Warning

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

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

Documentation

Overview

Package common contains the logic to create a flare archive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFiles

func GetConfigFiles(fb flaretypes.FlareBuilder, confSearchPaths map[string]string)

GetConfigFiles copies configuration files to the flare archive.

func GetEnvVars

func GetEnvVars() ([]byte, error)

GetEnvVars collects allowed envvars that can affect the agent's behaviour while not being handled by viper, in addition to the envvars handled by viper

func GetExpVar

func GetExpVar(fb flaretypes.FlareBuilder) error

GetExpVar copies expvar files to the flare archive.

func GetLogFiles

func GetLogFiles(fb flaretypes.FlareBuilder, logFileDir string)

GetLogFiles copies log files to the flare archive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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