Versions in this module Expand all Collapse all v2 v2.6.3 Dec 3, 2025 v2.6.2 Oct 28, 2025 Changes in this version + func ExpectedKeys(m map[string]IPSetExpectation) []string + func LoadNetworkPolicyList(t *testing.T, path string) *networkingv1.NetworkPolicyList + func LoadNodeList(t *testing.T, path string) *v1.NodeList + func LoadPodList(t *testing.T, path string) *v1.PodList + func LoadServiceList(t *testing.T, path string) *v1.ServiceList + func MergeExpectations(maps ...map[string]IPSetExpectation) map[string]IPSetExpectation + func NormalizeSnapshotEntry(entry string) string + func ParseRestoreScript(script string) map[string]IPSetExpectation + func ParseSnapshot(t *testing.T, path string) map[string]IPSetExpectation + func ParseSnapshotWithFilter(t *testing.T, path string, includeFn func(string) bool) map[string]IPSetExpectation + type FakeIPSetHandler struct + func NewFakeIPSetHandler(isIPv6 bool) *FakeIPSetHandler + func (h *FakeIPSetHandler) Add(_ *utils.Set) error + func (h *FakeIPSetHandler) Create(setName string, createOptions ...string) (*utils.Set, error) + func (h *FakeIPSetHandler) Destroy(setName string) error + func (h *FakeIPSetHandler) DestroyAllWithin() error + func (h *FakeIPSetHandler) Flush() error + func (h *FakeIPSetHandler) Get(setName string) *utils.Set + func (h *FakeIPSetHandler) Name(name string) string + func (h *FakeIPSetHandler) RefreshSet(setName string, entriesWithOptions [][]string, setType string) + func (h *FakeIPSetHandler) Restore() error + func (h *FakeIPSetHandler) RestoreSets(names []string) error + func (h *FakeIPSetHandler) Restored() string + func (h *FakeIPSetHandler) Save() error + func (h *FakeIPSetHandler) Sets() map[string]*utils.Set + func (h *FakeIPSetHandler) Snapshot() map[string]IPSetExpectation + type IPSetExpectation struct + Entries []string + SetType string