Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ChainNamer
- func (fake *ChainNamer) Invocations() map[string][][]interface{}
- func (fake *ChainNamer) Postfix(body string, suffix string) (string, error)
- func (fake *ChainNamer) PostfixArgsForCall(i int) (string, string)
- func (fake *ChainNamer) PostfixCallCount() int
- func (fake *ChainNamer) PostfixReturns(result1 string, result2 error)
- func (fake *ChainNamer) PostfixReturnsOnCall(i int, result1 string, result2 error)
- func (fake *ChainNamer) Prefix(prefix string, body string) string
- func (fake *ChainNamer) PrefixArgsForCall(i int) (string, string)
- func (fake *ChainNamer) PrefixCallCount() int
- func (fake *ChainNamer) PrefixReturns(result1 string)
- func (fake *ChainNamer) PrefixReturnsOnCall(i int, result1 string)
- type Delegator
- func (fake *Delegator) DelegateAdd(delegatePlugin string, netconf []byte) (types.Result, error)
- func (fake *Delegator) DelegateAddArgsForCall(i int) (string, []byte)
- func (fake *Delegator) DelegateAddCallCount() int
- func (fake *Delegator) DelegateAddReturns(result1 types.Result, result2 error)
- func (fake *Delegator) DelegateAddReturnsOnCall(i int, result1 types.Result, result2 error)
- func (fake *Delegator) DelegateDel(delegatePlugin string, netconf []byte) error
- func (fake *Delegator) DelegateDelArgsForCall(i int) (string, []byte)
- func (fake *Delegator) DelegateDelCallCount() int
- func (fake *Delegator) DelegateDelReturns(result1 error)
- func (fake *Delegator) DelegateDelReturnsOnCall(i int, result1 error)
- func (fake *Delegator) Invocations() map[string][][]interface{}
- type NetOutRuleConverter
- func (fake *NetOutRuleConverter) BulkConvert(rules []garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule
- func (fake *NetOutRuleConverter) BulkConvertArgsForCall(i int) ([]garden.NetOutRule, string, bool)
- func (fake *NetOutRuleConverter) BulkConvertCallCount() int
- func (fake *NetOutRuleConverter) BulkConvertReturns(result1 []rules.IPTablesRule)
- func (fake *NetOutRuleConverter) BulkConvertReturnsOnCall(i int, result1 []rules.IPTablesRule)
- func (fake *NetOutRuleConverter) Convert(rule garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule
- func (fake *NetOutRuleConverter) ConvertArgsForCall(i int) (garden.NetOutRule, string, bool)
- func (fake *NetOutRuleConverter) ConvertCallCount() int
- func (fake *NetOutRuleConverter) ConvertReturns(result1 []rules.IPTablesRule)
- func (fake *NetOutRuleConverter) ConvertReturnsOnCall(i int, result1 []rules.IPTablesRule)
- func (fake *NetOutRuleConverter) Invocations() map[string][][]interface{}
- type NetlinkAdapter
- func (fake *NetlinkAdapter) AddrList(link netlink.Link, family int) ([]netlink.Addr, error)
- func (fake *NetlinkAdapter) AddrListArgsForCall(i int) (netlink.Link, int)
- func (fake *NetlinkAdapter) AddrListCallCount() int
- func (fake *NetlinkAdapter) AddrListReturns(result1 []netlink.Addr, result2 error)
- func (fake *NetlinkAdapter) AddrListReturnsOnCall(i int, result1 []netlink.Addr, result2 error)
- func (fake *NetlinkAdapter) Invocations() map[string][][]interface{}
- func (fake *NetlinkAdapter) LinkList() ([]netlink.Link, error)
- func (fake *NetlinkAdapter) LinkListCallCount() int
- func (fake *NetlinkAdapter) LinkListReturns(result1 []netlink.Link, result2 error)
- func (fake *NetlinkAdapter) LinkListReturnsOnCall(i int, result1 []netlink.Link, result2 error)
- type NetlinkLink
- func (fake *NetlinkLink) Attrs() *netlink.LinkAttrs
- func (fake *NetlinkLink) AttrsCallCount() int
- func (fake *NetlinkLink) AttrsReturns(result1 *netlink.LinkAttrs)
- func (fake *NetlinkLink) AttrsReturnsOnCall(i int, result1 *netlink.LinkAttrs)
- func (fake *NetlinkLink) Invocations() map[string][][]interface{}
- func (fake *NetlinkLink) Type() string
- func (fake *NetlinkLink) TypeCallCount() int
- func (fake *NetlinkLink) TypeReturns(result1 string)
- func (fake *NetlinkLink) TypeReturnsOnCall(i int, result1 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainNamer ¶
type ChainNamer struct { PrefixStub func(prefix, body string) string PostfixStub func(body, suffix string) (string, error) // contains filtered or unexported fields }
func (*ChainNamer) Invocations ¶
func (fake *ChainNamer) Invocations() map[string][][]interface{}
func (*ChainNamer) Postfix ¶
func (fake *ChainNamer) Postfix(body string, suffix string) (string, error)
func (*ChainNamer) PostfixArgsForCall ¶
func (fake *ChainNamer) PostfixArgsForCall(i int) (string, string)
func (*ChainNamer) PostfixCallCount ¶
func (fake *ChainNamer) PostfixCallCount() int
func (*ChainNamer) PostfixReturns ¶
func (fake *ChainNamer) PostfixReturns(result1 string, result2 error)
func (*ChainNamer) PostfixReturnsOnCall ¶
func (fake *ChainNamer) PostfixReturnsOnCall(i int, result1 string, result2 error)
func (*ChainNamer) PrefixArgsForCall ¶
func (fake *ChainNamer) PrefixArgsForCall(i int) (string, string)
func (*ChainNamer) PrefixCallCount ¶
func (fake *ChainNamer) PrefixCallCount() int
func (*ChainNamer) PrefixReturns ¶
func (fake *ChainNamer) PrefixReturns(result1 string)
func (*ChainNamer) PrefixReturnsOnCall ¶
func (fake *ChainNamer) PrefixReturnsOnCall(i int, result1 string)
type Delegator ¶
type Delegator struct { DelegateAddStub func(delegatePlugin string, netconf []byte) (types.Result, error) DelegateDelStub func(delegatePlugin string, netconf []byte) error // contains filtered or unexported fields }
func (*Delegator) DelegateAdd ¶
func (*Delegator) DelegateAddArgsForCall ¶
func (*Delegator) DelegateAddCallCount ¶
func (*Delegator) DelegateAddReturns ¶
func (*Delegator) DelegateAddReturnsOnCall ¶
func (*Delegator) DelegateDel ¶
func (*Delegator) DelegateDelArgsForCall ¶
func (*Delegator) DelegateDelCallCount ¶
func (*Delegator) DelegateDelReturns ¶
func (*Delegator) DelegateDelReturnsOnCall ¶
func (*Delegator) Invocations ¶
type NetOutRuleConverter ¶
type NetOutRuleConverter struct { ConvertStub func(rule garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule BulkConvertStub func(rules []garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule // contains filtered or unexported fields }
func (*NetOutRuleConverter) BulkConvert ¶
func (fake *NetOutRuleConverter) BulkConvert(rules []garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule
func (*NetOutRuleConverter) BulkConvertArgsForCall ¶
func (fake *NetOutRuleConverter) BulkConvertArgsForCall(i int) ([]garden.NetOutRule, string, bool)
func (*NetOutRuleConverter) BulkConvertCallCount ¶
func (fake *NetOutRuleConverter) BulkConvertCallCount() int
func (*NetOutRuleConverter) BulkConvertReturns ¶
func (fake *NetOutRuleConverter) BulkConvertReturns(result1 []rules.IPTablesRule)
func (*NetOutRuleConverter) BulkConvertReturnsOnCall ¶
func (fake *NetOutRuleConverter) BulkConvertReturnsOnCall(i int, result1 []rules.IPTablesRule)
func (*NetOutRuleConverter) Convert ¶
func (fake *NetOutRuleConverter) Convert(rule garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule
func (*NetOutRuleConverter) ConvertArgsForCall ¶
func (fake *NetOutRuleConverter) ConvertArgsForCall(i int) (garden.NetOutRule, string, bool)
func (*NetOutRuleConverter) ConvertCallCount ¶
func (fake *NetOutRuleConverter) ConvertCallCount() int
func (*NetOutRuleConverter) ConvertReturns ¶
func (fake *NetOutRuleConverter) ConvertReturns(result1 []rules.IPTablesRule)
func (*NetOutRuleConverter) ConvertReturnsOnCall ¶
func (fake *NetOutRuleConverter) ConvertReturnsOnCall(i int, result1 []rules.IPTablesRule)
func (*NetOutRuleConverter) Invocations ¶
func (fake *NetOutRuleConverter) Invocations() map[string][][]interface{}
type NetlinkAdapter ¶ added in v0.3.0
type NetlinkAdapter struct { LinkListStub func() ([]netlink.Link, error) AddrListStub func(link netlink.Link, family int) ([]netlink.Addr, error) // contains filtered or unexported fields }
func (*NetlinkAdapter) AddrListArgsForCall ¶ added in v0.3.0
func (fake *NetlinkAdapter) AddrListArgsForCall(i int) (netlink.Link, int)
func (*NetlinkAdapter) AddrListCallCount ¶ added in v0.3.0
func (fake *NetlinkAdapter) AddrListCallCount() int
func (*NetlinkAdapter) AddrListReturns ¶ added in v0.3.0
func (fake *NetlinkAdapter) AddrListReturns(result1 []netlink.Addr, result2 error)
func (*NetlinkAdapter) AddrListReturnsOnCall ¶ added in v0.3.0
func (fake *NetlinkAdapter) AddrListReturnsOnCall(i int, result1 []netlink.Addr, result2 error)
func (*NetlinkAdapter) Invocations ¶ added in v0.3.0
func (fake *NetlinkAdapter) Invocations() map[string][][]interface{}
func (*NetlinkAdapter) LinkList ¶ added in v0.3.0
func (fake *NetlinkAdapter) LinkList() ([]netlink.Link, error)
func (*NetlinkAdapter) LinkListCallCount ¶ added in v0.3.0
func (fake *NetlinkAdapter) LinkListCallCount() int
func (*NetlinkAdapter) LinkListReturns ¶ added in v0.3.0
func (fake *NetlinkAdapter) LinkListReturns(result1 []netlink.Link, result2 error)
func (*NetlinkAdapter) LinkListReturnsOnCall ¶ added in v0.3.0
func (fake *NetlinkAdapter) LinkListReturnsOnCall(i int, result1 []netlink.Link, result2 error)
type NetlinkLink ¶ added in v0.3.0
type NetlinkLink struct { AttrsStub func() *netlink.LinkAttrs TypeStub func() string // contains filtered or unexported fields }
func (*NetlinkLink) Attrs ¶ added in v0.3.0
func (fake *NetlinkLink) Attrs() *netlink.LinkAttrs
func (*NetlinkLink) AttrsCallCount ¶ added in v0.3.0
func (fake *NetlinkLink) AttrsCallCount() int
func (*NetlinkLink) AttrsReturns ¶ added in v0.3.0
func (fake *NetlinkLink) AttrsReturns(result1 *netlink.LinkAttrs)
func (*NetlinkLink) AttrsReturnsOnCall ¶ added in v0.3.0
func (fake *NetlinkLink) AttrsReturnsOnCall(i int, result1 *netlink.LinkAttrs)
func (*NetlinkLink) Invocations ¶ added in v0.3.0
func (fake *NetlinkLink) Invocations() map[string][][]interface{}
func (*NetlinkLink) Type ¶ added in v0.3.0
func (fake *NetlinkLink) Type() string
func (*NetlinkLink) TypeCallCount ¶ added in v0.3.0
func (fake *NetlinkLink) TypeCallCount() int
func (*NetlinkLink) TypeReturns ¶ added in v0.3.0
func (fake *NetlinkLink) TypeReturns(result1 string)
func (*NetlinkLink) TypeReturnsOnCall ¶ added in v0.3.0
func (fake *NetlinkLink) TypeReturnsOnCall(i int, result1 string)
Click to show internal directories.
Click to hide internal directories.