Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for clearEntriesWithComment (0.31 sec)

  1. cni/pkg/ipset/ipset.go

    	return m.Deps.deleteIP(m.Name, ip, ipProto)
    }
    
    func (m *IPSet) Flush() error {
    	return m.Deps.flush(m.Name)
    }
    
    func (m *IPSet) ClearEntriesWithComment(comment string) error {
    	return m.Deps.clearEntriesWithComment(m.Name, comment)
    }
    
    func (m *IPSet) ClearEntriesWithIP(ip netip.Addr) error {
    	return m.Deps.clearEntriesWithIP(m.Name, ip)
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. cni/pkg/ipset/nldeps_unspecified.go

    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	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")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_mock.go

    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    	args := m.Called(name)
    	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)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_linux.go

    // starting from the revision 3 and you have installed revision 1 only.
    // Your kernel is behind your ipset utility.
    //
    // This happens with kernels as recent as Fedora38, e.g: 6.4.11-200.fc38.aarch64
    func (m *realDeps) clearEntriesWithComment(name, comment string) error {
    	res, err := netlink.IpsetList(name)
    	if err != nil {
    		return fmt.Errorf("failed to list ipset %s: %w", name, err)
    	}
    	for _, entry := range res.Entries {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top