Documentation ¶
Index ¶
- func CreateCollectorObjects(t *testing.T, client *dynamic.DynamicClient, testID string) []*unstructured.Unstructured
- func CreateObject(client *dynamic.DynamicClient, manifest []byte) (*unstructured.Unstructured, error)
- func DeleteObject(client *dynamic.DynamicClient, obj *unstructured.Unstructured) error
- func HostEndpoint(t *testing.T) string
- func SelectorFromMap(labelMap map[string]any) labels.Selector
- func WaitForCollectorToStart(t *testing.T, client *dynamic.DynamicClient, podNamespace string, ...)
- func WaitForTelemetryGenToStart(t *testing.T, client *dynamic.DynamicClient, podNamespace string, ...)
- type TelemetrygenObjInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCollectorObjects ¶
func CreateCollectorObjects(t *testing.T, client *dynamic.DynamicClient, testID string) []*unstructured.Unstructured
func CreateObject ¶
func CreateObject(client *dynamic.DynamicClient, manifest []byte) (*unstructured.Unstructured, error)
func DeleteObject ¶
func DeleteObject(client *dynamic.DynamicClient, obj *unstructured.Unstructured) error
func HostEndpoint ¶
func WaitForCollectorToStart ¶
Types ¶
type TelemetrygenObjInfo ¶
type TelemetrygenObjInfo struct { Namespace string PodLabelSelectors map[string]any DataType string Workload string }
func CreateTelemetryGenObjects ¶
func CreateTelemetryGenObjects(t *testing.T, client *dynamic.DynamicClient, testID string) ([]*unstructured.Unstructured, []*TelemetrygenObjInfo)
Click to show internal directories.
Click to hide internal directories.