flare

package
v0.0.0-...-9babb0a 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: 45 Imported by: 16

Documentation

Overview

Package flare contains the logic to create a flare archive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtraFlareProviders

func ExtraFlareProviders(diagnoseDeps diagnose.SuitesDeps) []*flaretypes.FlareFiller

ExtraFlareProviders returns flare providers that are not given via fx. This function should only be called by the flare component.

func GetTaggerList

func GetTaggerList(remoteURL string) ([]byte, error)

GetTaggerList fetches the tagger list from the given URL.

func GetWorkloadList

func GetWorkloadList(url string) ([]byte, error)

GetWorkloadList fetches the workload list from the given URL.

func PrintClusterCheckConfig

func PrintClusterCheckConfig(w io.Writer, c integration.Config, checkName string)

PrintClusterCheckConfig prints a human-readable representation of a configuration with any secrets scrubbed.

func PrintConfigCheck

func PrintConfigCheck(w io.Writer, cr integration.ConfigCheckResponse, withDebug bool)

PrintConfigCheck prints a human-readable representation of the config check response

func PrintConfigWithInstanceIDs

func PrintConfigWithInstanceIDs(w io.Writer, c integration.Config, instanceIDs []string, checkName string)

PrintConfigWithInstanceIDs prints a human-readable representation of a configuration with any secrets scrubbed. We provide the instanceIDs precomputed from the server as the config information is scrubbed

func PrintRemoteConfigStates

func PrintRemoteConfigStates(w io.Writer, state *pbgo.GetStateConfigResponse, stateHA *pbgo.GetStateConfigResponse)

PrintRemoteConfigStates dump the whole remote-config state

func SendFlare

func SendFlare(cfg pkgconfigmodel.Reader, archivePath string, caseID string, email string, source helpers.FlareSource) (string, error)

SendFlare sends a flare and returns the message returned by the backend. This entry point is deprecated in favor of the 'Send' method of the flare component.

Types

This section is empty.

Directories

Path Synopsis
Package clusteragent contains the logic to create the cluster agent flare archive.
Package clusteragent contains the logic to create the cluster agent flare archive.
Package common contains the logic to create a flare archive.
Package common contains the logic to create a flare archive.
Package priviledged contains helper functions for system-probe and security-agent
Package priviledged contains helper functions for system-probe and security-agent
Package securityagent contains flare logic for the security agent
Package securityagent contains flare logic for the security agent

Jump to

Keyboard shortcuts

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