MCPcopy
hub / github.com/microsoft/retina / stringSliceToCapabilities

Function stringSliceToCapabilities

shell/manifests.go:108–114  ·  view source on GitHub ↗
(ss []string)

Source from the content-addressed store, hash-verified

106}
107
108func stringSliceToCapabilities(ss []string) []v1.Capability {
109 caps := make([]v1.Capability, 0, len(ss))
110 for _, s := range ss {
111 caps = append(caps, v1.Capability(s))
112 }
113 return caps
114}

Callers 3

hostNetworkPodForTraceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected