- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ClearEntriesWithIP (0.08 sec)
-
cni/pkg/ipset/ipset.go
err = errors.Join(err, v6err) } return err } func (m *IPSet) ClearEntriesWithIP(ip netip.Addr) error { ipToClear := ip.Unmap() if ipToClear.Is6() { return m.Deps.clearEntriesWithIP(m.V6Name, ipToClear) } return m.Deps.clearEntriesWithIP(m.V4Name, ipToClear) } func (m *IPSet) ListEntriesByIP() ([]netip.Addr, error) { var err error
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_mock.go
return args.Error(0) } func (m *MockedIpsetDeps) clearEntriesWithComment(name, comment string) error { args := m.Called(name, comment) return args.Error(0) } func (m *MockedIpsetDeps) clearEntriesWithIP(name string, ip netip.Addr) error { args := m.Called(name, ip) return args.Error(0) } func (m *MockedIpsetDeps) listEntriesByIP(name string) ([]netip.Addr, error) { args := m.Called(name)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 1.8K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_unspecified.go
return errors.New("not implemented on this platform") } func (m *realDeps) clearEntriesWithComment(name, comment string) error { return errors.New("not implemented on this platform") } func (m *realDeps) clearEntriesWithIP(name string, ip netip.Addr) error { return errors.New("not implemented on this platform") } func (m *realDeps) listEntriesByIP(name string) ([]netip.Addr, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 1.8K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
err := netlink.IpsetDel(name, &entry) if err != nil { return fmt.Errorf("failed to delete IP %s from ipset %s: %w", entry.IP, name, err) } } } return nil } func (m *realDeps) clearEntriesWithIP(name string, ip netip.Addr) error { delIP := net.IP(ip.AsSlice()) res, err := netlink.IpsetList(name) if err != nil { return fmt.Errorf("failed to list ipset %s: %w", name, err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0)