MCPcopy
hub / github.com/1Panel-dev/KubePi / Add

Method Add

pkg/collections/set.go:13–15  ·  view source on GitHub ↗
(item string)

Source from the content-addressed store, hash-verified

11}
12
13func (s *StringSet) Add(item string) {
14 s.data[item] = nil
15}
16
17func (s *StringSet) Exists(item string) bool {
18 _, ok := s.data[item]

Callers 6

CanVisitAllNamespaceMethod · 0.95
GetUserNamespaceNamesMethod · 0.95
SearchUsersMethod · 0.95
GetUserMethod · 0.95
UpdateUserMethod · 0.95
GetClusterMemberMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected