ssi

package
v0.77.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package ssi provides end to end tests for Single Step Instrumentation. It focuses on user configuration and how that impacts targeting in Kubernetes.

Index

Constants

View Source
const DefaultAppName = "test-app"

Variables

View Source
var DefaultExpectedContainers = []string{DefaultAppName}

Functions

func FindPodInNamespace

func FindPodInNamespace(t *testing.T, client kubeClient.Interface, namespace string, appName string) *corev1.Pod

func FindTracesForService

func FindTracesForService(t *testing.T, intake *fakeintake.Client, serviceName string) []*trace.TracerPayload

func GetPodsInNamespace

func GetPodsInNamespace(t *testing.T, client kubeClient.Interface, namespace string) []corev1.Pod

func Provisioner added in v0.77.0

Provisioner returns a Kubernetes provisioner based on E2E_DEV_LOCAL parameter. If E2E_DEV_LOCAL=true, returns a local Kind provisioner for faster development. Otherwise, returns an AWS Kind VM provisioner.

Types

type ProvisionerOptions added in v0.77.0

type ProvisionerOptions struct {
	AgentOptions                  []kubernetesagentparams.Option
	WorkloadAppFunc               kubeComp.WorkloadAppFunc
	AgentDependentWorkloadAppFunc kubeComp.AgentDependentWorkloadAppFunc
}

ProvisionerOptions contains the common options for Kubernetes provisioners.

Jump to

Keyboard shortcuts

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