fakes

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainNamer added in v0.19.0

type ChainNamer struct {
	PrefixStub func(prefix, body string) string

	PostfixStub func(body, suffix string) (string, error)
	// contains filtered or unexported fields
}

func (*ChainNamer) Invocations added in v0.19.0

func (fake *ChainNamer) Invocations() map[string][][]interface{}

func (*ChainNamer) Postfix added in v0.19.0

func (fake *ChainNamer) Postfix(body string, suffix string) (string, error)

func (*ChainNamer) PostfixArgsForCall added in v0.19.0

func (fake *ChainNamer) PostfixArgsForCall(i int) (string, string)

func (*ChainNamer) PostfixCallCount added in v0.19.0

func (fake *ChainNamer) PostfixCallCount() int

func (*ChainNamer) PostfixReturns added in v0.19.0

func (fake *ChainNamer) PostfixReturns(result1 string, result2 error)

func (*ChainNamer) PostfixReturnsOnCall added in v0.19.0

func (fake *ChainNamer) PostfixReturnsOnCall(i int, result1 string, result2 error)

func (*ChainNamer) Prefix added in v0.19.0

func (fake *ChainNamer) Prefix(prefix string, body string) string

func (*ChainNamer) PrefixArgsForCall added in v0.19.0

func (fake *ChainNamer) PrefixArgsForCall(i int) (string, string)

func (*ChainNamer) PrefixCallCount added in v0.19.0

func (fake *ChainNamer) PrefixCallCount() int

func (*ChainNamer) PrefixReturns added in v0.19.0

func (fake *ChainNamer) PrefixReturns(result1 string)

func (*ChainNamer) PrefixReturnsOnCall added in v0.19.0

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 (fake *Delegator) DelegateAdd(delegatePlugin string, netconf []byte) (types.Result, error)

func (*Delegator) DelegateAddArgsForCall

func (fake *Delegator) DelegateAddArgsForCall(i int) (string, []byte)

func (*Delegator) DelegateAddCallCount

func (fake *Delegator) DelegateAddCallCount() int

func (*Delegator) DelegateAddReturns

func (fake *Delegator) DelegateAddReturns(result1 types.Result, result2 error)

func (*Delegator) DelegateAddReturnsOnCall added in v0.19.0

func (fake *Delegator) DelegateAddReturnsOnCall(i int, result1 types.Result, result2 error)

func (*Delegator) DelegateDel

func (fake *Delegator) DelegateDel(delegatePlugin string, netconf []byte) error

func (*Delegator) DelegateDelArgsForCall

func (fake *Delegator) DelegateDelArgsForCall(i int) (string, []byte)

func (*Delegator) DelegateDelCallCount

func (fake *Delegator) DelegateDelCallCount() int

func (*Delegator) DelegateDelReturns

func (fake *Delegator) DelegateDelReturns(result1 error)

func (*Delegator) DelegateDelReturnsOnCall added in v0.19.0

func (fake *Delegator) DelegateDelReturnsOnCall(i int, result1 error)

func (*Delegator) Invocations

func (fake *Delegator) Invocations() map[string][][]interface{}

type NetOutRuleConverter added in v0.19.0

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 added in v0.19.0

func (fake *NetOutRuleConverter) BulkConvert(rules []garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule

func (*NetOutRuleConverter) BulkConvertArgsForCall added in v0.19.0

func (fake *NetOutRuleConverter) BulkConvertArgsForCall(i int) ([]garden.NetOutRule, string, bool)

func (*NetOutRuleConverter) BulkConvertCallCount added in v0.19.0

func (fake *NetOutRuleConverter) BulkConvertCallCount() int

func (*NetOutRuleConverter) BulkConvertReturns added in v0.19.0

func (fake *NetOutRuleConverter) BulkConvertReturns(result1 []rules.IPTablesRule)

func (*NetOutRuleConverter) BulkConvertReturnsOnCall added in v0.19.0

func (fake *NetOutRuleConverter) BulkConvertReturnsOnCall(i int, result1 []rules.IPTablesRule)

func (*NetOutRuleConverter) Convert added in v0.19.0

func (fake *NetOutRuleConverter) Convert(rule garden.NetOutRule, logChainName string, logging bool) []rules.IPTablesRule

func (*NetOutRuleConverter) ConvertArgsForCall added in v0.19.0

func (fake *NetOutRuleConverter) ConvertArgsForCall(i int) (garden.NetOutRule, string, bool)

func (*NetOutRuleConverter) ConvertCallCount added in v0.19.0

func (fake *NetOutRuleConverter) ConvertCallCount() int

func (*NetOutRuleConverter) ConvertReturns added in v0.19.0

func (fake *NetOutRuleConverter) ConvertReturns(result1 []rules.IPTablesRule)

func (*NetOutRuleConverter) ConvertReturnsOnCall added in v0.19.0

func (fake *NetOutRuleConverter) ConvertReturnsOnCall(i int, result1 []rules.IPTablesRule)

func (*NetOutRuleConverter) Invocations added in v0.19.0

func (fake *NetOutRuleConverter) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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