github.com/DataDog/datadog-agent/pkg/ssi/testutils v0.83.0-devel
Datadog Agent source tree pathimports encoding/json
SHA-2564decac5fb6f76266752ae635546cf2a93b2f44f71b9637134524321527476a5c
URLhttps://proxy.golang.org/github.com/!data!dog/datadog-agent/pkg/ssi/testutils/@v/v0.83.0-devel.zip
MaleculeO(Er)H(Os)
Evidence
4:7… yright 2016-present Datadog, Inc.
5
6package testutils
7
8import (
9 "encoding/json"
10 "strings"
11 "testing"
12
13 "github.com/stretchr/testify/require"
14 corev1 "k8s.io/api/core/v1"
15)
16
⋯5 lines
237:7… ntries []struct {
238 Name string `json:"name"`
239 Status string `json:"status"`
240 }
241 require.NoError(t, json.Unmarshal([]byte(raw), &entries), "injected-libraries annotation is not valid JSON")
242
243 got := make(map[string]string, len(entries))
244 for …
4:23… ent Datadog, Inc.
5
6package testutils
7
8import (
9 "strings"
10 "testing"
11
12 "github.com/stretchr/testify/require"
13 corev1 "k8s.io/api/core/v1"
14)
15
16// imageVolumeInjectionValidator validates Image Volume-based injection.
17type imageVolumeInjectionValidator struct {
18 pod …
26:36… /datadog-packages/datadog-apm-inject (read-only, subPath)
27 // - /etc/ld.so.preload from an EmptyDir via SubPath (read-only)
28 // - one image volume per injected language under /opt/datadog/apm/library/<lang> (re …
30:2… {
31 Name: "datadog-auto-instrumentation",
32 MountPath: "/opt/datadog-packages/datadog-apm-inject",
33 SubPath: "opt/datadog-packages/datadog-apm-inject",
34 ReadOnly: true,
35 },
36 {
37 N …
Showing the top 5 files — 2 more files (22 regions) not shown.
No evidence locations were recorded for this file. Raw result