Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/1Panel-dev/KubePi
/ NewStringSet
Function
NewStringSet
pkg/collections/set.go:7–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
}
6
7
func
NewStringSet() *StringSet {
8
ss := StringSet{}
9
ss.data =
map
[string]
interface
{}{}
10
return
&ss
11
}
12
13
func
(s *StringSet) Add(item string) {
14
s.data[item] = nil
Callers
8
CanVisitAllNamespace
Method · 0.92
GetUserNamespaceNames
Method · 0.92
apiResourceHandler
Function · 0.92
SearchUsers
Method · 0.92
GetUser
Method · 0.92
UpdateUser
Method · 0.92
AggregateResourcePermissions
Method · 0.92
GetClusterMember
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected