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
- Variables
- func FindPodInNamespace(t *testing.T, client kubeClient.Interface, namespace string, appName string) *corev1.Pod
- func FindTracesForService(t *testing.T, intake *fakeintake.Client, serviceName string) []*trace.TracerPayload
- func GetPodsInNamespace(t *testing.T, client kubeClient.Interface, namespace string) []corev1.Pod
- func Provisioner(opts ProvisionerOptions) provisioners.TypedProvisioner[environments.Kubernetes]
- type ProvisionerOptions
Constants ¶
View Source
const DefaultAppName = "test-app"
Variables ¶
View Source
var DefaultExpectedContainers = []string{DefaultAppName}
Functions ¶
func FindPodInNamespace ¶
func FindTracesForService ¶
func FindTracesForService(t *testing.T, intake *fakeintake.Client, serviceName string) []*trace.TracerPayload
func GetPodsInNamespace ¶
func Provisioner ¶ added in v0.77.0
func Provisioner(opts ProvisionerOptions) provisioners.TypedProvisioner[environments.Kubernetes]
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.
Click to show internal directories.
Click to hide internal directories.