ssi

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 22 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_PROVISIONER and E2E_DEV_LOCAL parameters. Supported provisioners: "kind" (default), "kind-local", "eks", "gke". E2E_DEV_LOCAL=true is a shortcut for E2E_PROVISIONER=kind-local.

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.

type ProvisionerType added in v0.78.0

type ProvisionerType string

ProvisionerType represents the type of Kubernetes provisioner to use.

const (
	// ProvisionerKindAWS uses Kind running on an AWS VM (default).
	ProvisionerKindAWS ProvisionerType = "kind"
	// ProvisionerKindLocal uses Kind running locally.
	ProvisionerKindLocal ProvisionerType = "kind-local"
	// ProvisionerEKS uses Amazon EKS.
	ProvisionerEKS ProvisionerType = "eks"
	// ProvisionerGKE uses Google Kubernetes Engine.
	ProvisionerGKE ProvisionerType = "gke"
)

Jump to

Keyboard shortcuts

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