fakes

package
v0.0.0-...-5a39a95 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 3 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 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) CreateRule

func (fake *Firewall) CreateRule(arg1 firewall.Rule) error

func (*Firewall) CreateRuleArgsForCall

func (fake *Firewall) CreateRuleArgsForCall(i int) firewall.Rule

func (*Firewall) CreateRuleCallCount

func (fake *Firewall) CreateRuleCallCount() int

func (*Firewall) CreateRuleCalls

func (fake *Firewall) CreateRuleCalls(stub func(firewall.Rule) error)

func (*Firewall) CreateRuleReturns

func (fake *Firewall) CreateRuleReturns(result1 error)

func (*Firewall) CreateRuleReturnsOnCall

func (fake *Firewall) CreateRuleReturnsOnCall(i int, result1 error)

func (*Firewall) DeleteRule

func (fake *Firewall) DeleteRule(arg1 string) error

func (*Firewall) DeleteRuleArgsForCall

func (fake *Firewall) DeleteRuleArgsForCall(i int) string

func (*Firewall) DeleteRuleCallCount

func (fake *Firewall) DeleteRuleCallCount() int

func (*Firewall) DeleteRuleCalls

func (fake *Firewall) DeleteRuleCalls(stub func(string) error)

func (*Firewall) DeleteRuleReturns

func (fake *Firewall) DeleteRuleReturns(result1 error)

func (*Firewall) DeleteRuleReturnsOnCall

func (fake *Firewall) DeleteRuleReturnsOnCall(i int, result1 error)

func (*Firewall) Invocations

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

func (*Firewall) RuleExists

func (fake *Firewall) RuleExists(arg1 string) (bool, error)

func (*Firewall) RuleExistsArgsForCall

func (fake *Firewall) RuleExistsArgsForCall(i int) string

func (*Firewall) RuleExistsCallCount

func (fake *Firewall) RuleExistsCallCount() int

func (*Firewall) RuleExistsCalls

func (fake *Firewall) RuleExistsCalls(stub func(string) (bool, error))

func (*Firewall) RuleExistsReturns

func (fake *Firewall) RuleExistsReturns(result1 bool, result2 error)

func (*Firewall) RuleExistsReturnsOnCall

func (fake *Firewall) RuleExistsReturnsOnCall(i int, result1 bool, result2 error)

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)

Jump to

Keyboard shortcuts

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