package
0.8.20
Repository: https://github.com/go-faster/tetragon.git
Documentation: pkg.go.dev

# Packages

Package gops is a simple gops client implementation to dump gops info from end-to-end tests.

# Functions

No description provided by the author
CreateNamespace is a wrapper around envfuncs.CreateNamespace with optional support to wait for namespace creation.
DeleteNamespace is a wrapper around envfuncs.DeleteNamespace with optional support to wait for namespace deletion.
DumpBin dumps the Tetragon binary from gops.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetClusterName fetches the cluster name configured with -cluster-name or the temporary kind cluster name.
No description provided by the author
No description provided by the author
GetTempKindClusterName returns the name of the temporary kind cluster if it exists, otherwise it returns an empty string.
LoadCRDFile decodes a CRD file and calls LoadObjects on the result.
LoadCRDString decodes a CRD from a yaml string and calls LoadObjects on the result.
LoadObjects loads a list of k8s.Object and optionally waits for all resources to be created and pods to be ready.
MaybeCreateTempKindCluster creates a new temporary kind cluster in case no kubeconfig file is specified on the command line.
NewObjectList creates a new k8s.ObjectList from a list of k8s.Object.
PortForwardPod forwards one or more ports to a given pod.
PortForwardTetragonPods forwards gRPC and metrics ports for Tetragon pods.
RunCommand runs a command in a pod and returns the combined stdout and stderr delimited by markers as a byte slice.
No description provided by the author
StartGopsDumper starts a goroutine that dumps gops information at a regular interval until the context is done.
StartMetricsDumper starts a goroutine that dumps metrics at a regular interval until the context is done.
UnloadCRDFile decodes a CRD file and calls UnloadObjects on the result.
UnloadCRDString decodes a CRD yaml string and calls UnloadObjects on the result.
UnloadObjects unloads a list of k8s.Object and optionally waits for all resources to be deleted.

# Variables

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

# Type aliases

No description provided by the author