mocks

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpTables

type IpTables struct {
	mock.Mock
}

IpTables is an autogenerated mock type for the ipTables type

func (*IpTables) EnsureChain

func (_m *IpTables) EnsureChain(table iptables.Table, chain iptables.Chain) (bool, error)

EnsureChain provides a mock function with given fields: table, chain

func (*IpTables) EnsureRule

func (_m *IpTables) EnsureRule(position iptables.RulePosition, table iptables.Table, chain iptables.Chain, args ...string) (bool, error)

EnsureRule provides a mock function with given fields: position, table, chain, args

func (*IpTables) RestoreAll

func (_m *IpTables) RestoreAll(data []byte, flush iptables.FlushFlag, counters iptables.RestoreCountersFlag) error

RestoreAll provides a mock function with given fields: data, flush, counters

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL