Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetChain (0.09 sec)

  1. pkg/util/iptables/testing/fake.go

    	if err != nil {
    		return false, err
    	}
    	if c, _ := f.Dump.GetChain(table, chain); c != nil {
    		return true, nil
    	}
    	t.Chains = append(t.Chains, Chain{Name: chain})
    	return false, nil
    }
    
    // FlushChain is part of iptables.Interface
    func (f *FakeIPTables) FlushChain(table iptables.Table, chain iptables.Chain) error {
    	if c, _ := f.Dump.GetChain(table, chain); c != nil {
    		c.Rules = nil
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top