package
0.117.0
Repository: https://github.com/replicatedhq/troubleshoot.git
Documentation: pkg.go.dev

# Functions

Certificate parser.
CollectHost runs the collection phase for a local collector.
CollectorResultFromBundle creates a CollectorResult from a bundle directory The bundle directory is not necessarily a support bundle, it can be any directory of collected files as part of other operations or files that are already on disk.
CollectRemote runs the collection phase for a remote collector.
No description provided by the author
deduplicates a list of troubleshootv1beta2.Collect objects marshals object to json and then uses its string value to check for uniqueness there is no sorting of the keys in the collect object's spec so if the spec isn't an exact match line for line as written, no dedup will occur.
No description provided by the author
collect ClusterResources earliest in the list so the pod list does not include pods started by collectors.
Ensure that the specified collector is in the list of collectors.
Ensure Copy collectors are last in the list This is because copy collectors are expected to copy files from other collectors such as Exec, RunPod, RunDaemonSet.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Returns a map of nodeName:podName.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RunPodLogs runs a pod to completion on a node and returns its logs.
No description provided by the author
TarSupportBundleDir wraps ArchiveSupportBundle for backwards compatibility Deprecated: Remove in a future version (v1.0).
WaitForPodCompleted returns nil if the pod reached state success, or an error if it reached failure or ran too long.
WaitForPodCondition waits for a pod to match the given condition.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Max number of concurrent redactors to run Ensure the number is low enough since each of the redactors also spawns goroutines to redact files in tar archives and other goroutines for each redactor spec.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
ErrCollectorNotFound is returned when an undefined host collector is specified by the user.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Certificate collection struct.
Certificate source.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Collect goldpinger results from goldpinger service running in a cluster The results are stored in goldpinger/check_all.json since we use the /check_all endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CollectHostKernelModules is responsible for collecting kernel module status from the host.
No description provided by the author
CollectHostNetworkNamespaceConnectivity collects information about the capability of the host to route traffic between two different network namespaces.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DNSTroubleshootResult represents the structure of the DNS troubleshooting JSON data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NetworkNamespaceConnectivityErrors is a struct that contains the errors that occurred during the network namespace connectivity test.
NetworkNamespaceConnectivityInfo is the output of this collector, here we have the logs, the information from the source and destination namespaces, errors and a success flag.
NetworkNamespaceConnectivityOutput is a struct that contains the logs from the network namespace connectivity collector.
No description provided by the author
Certificate Struct.
No description provided by the author
No description provided by the author
No description provided by the author
Helm release information struct.
No description provided by the author
No description provided by the author
No description provided by the author
RunPodOptions and RunPodReadyNodes currently only used for the Sysctl collector TODO: refactor sysctl collector and runPod collector to share the same code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Helm release version information struct.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author