Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Firewall
- func (fake *Firewall) CreateRule(arg1 firewall.Rule) error
- func (fake *Firewall) CreateRuleArgsForCall(i int) firewall.Rule
- func (fake *Firewall) CreateRuleCallCount() int
- func (fake *Firewall) CreateRuleCalls(stub func(firewall.Rule) error)
- func (fake *Firewall) CreateRuleReturns(result1 error)
- func (fake *Firewall) CreateRuleReturnsOnCall(i int, result1 error)
- func (fake *Firewall) DeleteRule(arg1 string) error
- func (fake *Firewall) DeleteRuleArgsForCall(i int) string
- func (fake *Firewall) DeleteRuleCallCount() int
- func (fake *Firewall) DeleteRuleCalls(stub func(string) error)
- func (fake *Firewall) DeleteRuleReturns(result1 error)
- func (fake *Firewall) DeleteRuleReturnsOnCall(i int, result1 error)
- func (fake *Firewall) Invocations() map[string][][]interface{}
- func (fake *Firewall) RuleExists(arg1 string) (bool, error)
- func (fake *Firewall) RuleExistsArgsForCall(i int) string
- func (fake *Firewall) RuleExistsCallCount() int
- func (fake *Firewall) RuleExistsCalls(stub func(string) (bool, error))
- func (fake *Firewall) RuleExistsReturns(result1 bool, result2 error)
- func (fake *Firewall) RuleExistsReturnsOnCall(i int, result1 bool, result2 error)
- type NetShRunner
- func (fake *NetShRunner) Invocations() map[string][][]interface{}
- func (fake *NetShRunner) RunContainer(arg1 []string) error
- func (fake *NetShRunner) RunContainerArgsForCall(i int) []string
- func (fake *NetShRunner) RunContainerCallCount() int
- func (fake *NetShRunner) RunContainerCalls(stub func([]string) error)
- func (fake *NetShRunner) RunContainerReturns(result1 error)
- func (fake *NetShRunner) RunContainerReturnsOnCall(i int, result1 error)
- type PortAllocator
- func (fake *PortAllocator) AllocatePort(arg1 string, arg2 uint16) (uint16, error)
- func (fake *PortAllocator) AllocatePortArgsForCall(i int) (string, uint16)
- func (fake *PortAllocator) AllocatePortCallCount() int
- func (fake *PortAllocator) AllocatePortCalls(stub func(string, uint16) (uint16, error))
- func (fake *PortAllocator) AllocatePortReturns(result1 uint16, result2 error)
- func (fake *PortAllocator) AllocatePortReturnsOnCall(i int, result1 uint16, result2 error)
- func (fake *PortAllocator) Invocations() map[string][][]interface{}
- func (fake *PortAllocator) ReleaseAllPorts(arg1 string) error
- func (fake *PortAllocator) ReleaseAllPortsArgsForCall(i int) string
- func (fake *PortAllocator) ReleaseAllPortsCallCount() int
- func (fake *PortAllocator) ReleaseAllPortsCalls(stub func(string) error)
- func (fake *PortAllocator) ReleaseAllPortsReturns(result1 error)
- func (fake *PortAllocator) ReleaseAllPortsReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firewall ¶
type Firewall struct { CreateRuleStub func(firewall.Rule) error DeleteRuleStub func(string) error RuleExistsStub func(string) (bool, error) // contains filtered or unexported fields }
func (*Firewall) CreateRuleArgsForCall ¶
func (*Firewall) CreateRuleCallCount ¶
func (*Firewall) CreateRuleCalls ¶
func (*Firewall) CreateRuleReturns ¶
func (*Firewall) CreateRuleReturnsOnCall ¶
func (*Firewall) DeleteRule ¶
func (*Firewall) DeleteRuleArgsForCall ¶
func (*Firewall) DeleteRuleCallCount ¶
func (*Firewall) DeleteRuleCalls ¶
func (*Firewall) DeleteRuleReturns ¶
func (*Firewall) DeleteRuleReturnsOnCall ¶
func (*Firewall) Invocations ¶
func (*Firewall) RuleExistsArgsForCall ¶
func (*Firewall) RuleExistsCallCount ¶
func (*Firewall) RuleExistsCalls ¶
func (*Firewall) RuleExistsReturns ¶
type NetShRunner ¶
type NetShRunner struct { RunContainerStub func([]string) error // contains filtered or unexported fields }
func (*NetShRunner) Invocations ¶
func (fake *NetShRunner) Invocations() map[string][][]interface{}
func (*NetShRunner) RunContainer ¶
func (fake *NetShRunner) RunContainer(arg1 []string) error
func (*NetShRunner) RunContainerArgsForCall ¶
func (fake *NetShRunner) RunContainerArgsForCall(i int) []string
func (*NetShRunner) RunContainerCallCount ¶
func (fake *NetShRunner) RunContainerCallCount() int
func (*NetShRunner) RunContainerCalls ¶
func (fake *NetShRunner) RunContainerCalls(stub func([]string) error)
func (*NetShRunner) RunContainerReturns ¶
func (fake *NetShRunner) RunContainerReturns(result1 error)
func (*NetShRunner) RunContainerReturnsOnCall ¶
func (fake *NetShRunner) RunContainerReturnsOnCall(i int, result1 error)
type PortAllocator ¶
type PortAllocator struct { AllocatePortStub func(string, uint16) (uint16, error) ReleaseAllPortsStub func(string) error // contains filtered or unexported fields }
func (*PortAllocator) AllocatePort ¶
func (fake *PortAllocator) AllocatePort(arg1 string, arg2 uint16) (uint16, error)
func (*PortAllocator) AllocatePortArgsForCall ¶
func (fake *PortAllocator) AllocatePortArgsForCall(i int) (string, uint16)
func (*PortAllocator) AllocatePortCallCount ¶
func (fake *PortAllocator) AllocatePortCallCount() int
func (*PortAllocator) AllocatePortCalls ¶
func (fake *PortAllocator) AllocatePortCalls(stub func(string, uint16) (uint16, error))
func (*PortAllocator) AllocatePortReturns ¶
func (fake *PortAllocator) AllocatePortReturns(result1 uint16, result2 error)
func (*PortAllocator) AllocatePortReturnsOnCall ¶
func (fake *PortAllocator) AllocatePortReturnsOnCall(i int, result1 uint16, result2 error)
func (*PortAllocator) Invocations ¶
func (fake *PortAllocator) Invocations() map[string][][]interface{}
func (*PortAllocator) ReleaseAllPorts ¶
func (fake *PortAllocator) ReleaseAllPorts(arg1 string) error
func (*PortAllocator) ReleaseAllPortsArgsForCall ¶
func (fake *PortAllocator) ReleaseAllPortsArgsForCall(i int) string
func (*PortAllocator) ReleaseAllPortsCallCount ¶
func (fake *PortAllocator) ReleaseAllPortsCallCount() int
func (*PortAllocator) ReleaseAllPortsCalls ¶
func (fake *PortAllocator) ReleaseAllPortsCalls(stub func(string) error)
func (*PortAllocator) ReleaseAllPortsReturns ¶
func (fake *PortAllocator) ReleaseAllPortsReturns(result1 error)
func (*PortAllocator) ReleaseAllPortsReturnsOnCall ¶
func (fake *PortAllocator) ReleaseAllPortsReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.