Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cilium/cilium
/ AsSlice
Method
AsSlice
pkg/container/set/set.go:233–235 ·
view source on GitHub ↗
AsSlice converts the set to a slice.
()
Source
from the content-addressed store, hash-verified
231
232
// AsSlice converts the set to a slice.
233
func
(s Set[T]) AsSlice() []T {
234
return
slices.Collect(s.Members())
235
}
236
237
// Clone returns a copy of the set.
238
func
(s Set[T]) Clone() Set[T] {
Callers
15
updateMapping
Function · 0.45
TestImmSetFunc
Function · 0.45
TestImmSet
Function · 0.45
keyIPv4
Function · 0.45
keyIPv6
Function · 0.45
newCiliumNode
Function · 0.45
TestReplaceByResource
Function · 0.45
mergeStringList
Function · 0.45
validateResolvedPolicy
Method · 0.45
GetFirstK8sMatch
Method · 0.45
updatePrefixes
Method · 0.45
TestAddReplaceRemoveRule
Function · 0.45
Calls
2
Members
Method · 0.95
Collect
Method · 0.45
Tested by
15
updateMapping
Function · 0.36
TestImmSetFunc
Function · 0.36
TestImmSet
Function · 0.36
newCiliumNode
Function · 0.36
TestReplaceByResource
Function · 0.36
validateResolvedPolicy
Method · 0.36
TestAddReplaceRemoveRule
Function · 0.36
TestDecodeTrafficDirection
Function · 0.36
TestDecode_DropNotify
Function · 0.36
TestDecode_TraceNotify
Function · 0.36
TestDecode_PolicyVerdictNotify
Function · 0.36
TestDecode_CustomMonitorDecoder
Function · 0.36