fakes

package
v0.0.0-...-dd9aec0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 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.

This file was generated by counterfeiter

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseChecker

type DatabaseChecker struct {
	CheckDatabaseStub func() error
	// contains filtered or unexported fields
}

func (*DatabaseChecker) CheckDatabase

func (fake *DatabaseChecker) CheckDatabase() error

func (*DatabaseChecker) CheckDatabaseCallCount

func (fake *DatabaseChecker) CheckDatabaseCallCount() int

func (*DatabaseChecker) CheckDatabaseReturns

func (fake *DatabaseChecker) CheckDatabaseReturns(result1 error)

func (*DatabaseChecker) CheckDatabaseReturnsOnCall

func (fake *DatabaseChecker) CheckDatabaseReturnsOnCall(i int, result1 error)

func (*DatabaseChecker) Invocations

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

type ErrorResponse

type ErrorResponse struct {
	InternalServerErrorStub func(lager.Logger, http.ResponseWriter, error, string)

	BadRequestStub func(lager.Logger, http.ResponseWriter, error, string)

	ConflictStub func(lager.Logger, http.ResponseWriter, error, string)
	// contains filtered or unexported fields
}

func (*ErrorResponse) BadRequest

func (fake *ErrorResponse) BadRequest(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)

func (*ErrorResponse) BadRequestArgsForCall

func (fake *ErrorResponse) BadRequestArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)

func (*ErrorResponse) BadRequestCallCount

func (fake *ErrorResponse) BadRequestCallCount() int

func (*ErrorResponse) Conflict

func (fake *ErrorResponse) Conflict(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)

func (*ErrorResponse) ConflictArgsForCall

func (fake *ErrorResponse) ConflictArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)

func (*ErrorResponse) ConflictCallCount

func (fake *ErrorResponse) ConflictCallCount() int

func (*ErrorResponse) InternalServerError

func (fake *ErrorResponse) InternalServerError(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)

func (*ErrorResponse) InternalServerErrorArgsForCall

func (fake *ErrorResponse) InternalServerErrorArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)

func (*ErrorResponse) InternalServerErrorCallCount

func (fake *ErrorResponse) InternalServerErrorCallCount() int

func (*ErrorResponse) Invocations

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

type HardwareAddressGenerator

type HardwareAddressGenerator struct {
	GenerateForVTEPStub func(containerIP net.IP) (net.HardwareAddr, error)
	// contains filtered or unexported fields
}

func (*HardwareAddressGenerator) GenerateForVTEP

func (fake *HardwareAddressGenerator) GenerateForVTEP(containerIP net.IP) (net.HardwareAddr, error)

func (*HardwareAddressGenerator) GenerateForVTEPArgsForCall

func (fake *HardwareAddressGenerator) GenerateForVTEPArgsForCall(i int) net.IP

func (*HardwareAddressGenerator) GenerateForVTEPCallCount

func (fake *HardwareAddressGenerator) GenerateForVTEPCallCount() int

func (*HardwareAddressGenerator) GenerateForVTEPReturns

func (fake *HardwareAddressGenerator) GenerateForVTEPReturns(result1 net.HardwareAddr, result2 error)

func (*HardwareAddressGenerator) GenerateForVTEPReturnsOnCall

func (fake *HardwareAddressGenerator) GenerateForVTEPReturnsOnCall(i int, result1 net.HardwareAddr, result2 error)

func (*HardwareAddressGenerator) Invocations

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

type LeaseAcquirer

type LeaseAcquirer struct {
	AcquireSubnetLeaseStub func(underlayIP string, singleOverlayIP bool) (*controller.Lease, error)
	// contains filtered or unexported fields
}

func (*LeaseAcquirer) AcquireSubnetLease

func (fake *LeaseAcquirer) AcquireSubnetLease(underlayIP string, singleOverlayIP bool) (*controller.Lease, error)

func (*LeaseAcquirer) AcquireSubnetLeaseArgsForCall

func (fake *LeaseAcquirer) AcquireSubnetLeaseArgsForCall(i int) (string, bool)

func (*LeaseAcquirer) AcquireSubnetLeaseCallCount

func (fake *LeaseAcquirer) AcquireSubnetLeaseCallCount() int

func (*LeaseAcquirer) AcquireSubnetLeaseReturns

func (fake *LeaseAcquirer) AcquireSubnetLeaseReturns(result1 *controller.Lease, result2 error)

func (*LeaseAcquirer) AcquireSubnetLeaseReturnsOnCall

func (fake *LeaseAcquirer) AcquireSubnetLeaseReturnsOnCall(i int, result1 *controller.Lease, result2 error)

func (*LeaseAcquirer) Invocations

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

type LeaseReleaser

type LeaseReleaser struct {
	ReleaseSubnetLeaseStub func(underlayIP string) error
	// contains filtered or unexported fields
}

func (*LeaseReleaser) Invocations

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

func (*LeaseReleaser) ReleaseSubnetLease

func (fake *LeaseReleaser) ReleaseSubnetLease(underlayIP string) error

func (*LeaseReleaser) ReleaseSubnetLeaseArgsForCall

func (fake *LeaseReleaser) ReleaseSubnetLeaseArgsForCall(i int) string

func (*LeaseReleaser) ReleaseSubnetLeaseCallCount

func (fake *LeaseReleaser) ReleaseSubnetLeaseCallCount() int

func (*LeaseReleaser) ReleaseSubnetLeaseReturns

func (fake *LeaseReleaser) ReleaseSubnetLeaseReturns(result1 error)

func (*LeaseReleaser) ReleaseSubnetLeaseReturnsOnCall

func (fake *LeaseReleaser) ReleaseSubnetLeaseReturnsOnCall(i int, result1 error)

type LeaseRenewer

type LeaseRenewer struct {
	RenewSubnetLeaseStub func(lease controller.Lease) error
	// contains filtered or unexported fields
}

func (*LeaseRenewer) Invocations

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

func (*LeaseRenewer) RenewSubnetLease

func (fake *LeaseRenewer) RenewSubnetLease(lease controller.Lease) error

func (*LeaseRenewer) RenewSubnetLeaseArgsForCall

func (fake *LeaseRenewer) RenewSubnetLeaseArgsForCall(i int) controller.Lease

func (*LeaseRenewer) RenewSubnetLeaseCallCount

func (fake *LeaseRenewer) RenewSubnetLeaseCallCount() int

func (*LeaseRenewer) RenewSubnetLeaseReturns

func (fake *LeaseRenewer) RenewSubnetLeaseReturns(result1 error)

func (*LeaseRenewer) RenewSubnetLeaseReturnsOnCall

func (fake *LeaseRenewer) RenewSubnetLeaseReturnsOnCall(i int, result1 error)

type LeaseRepository

type LeaseRepository struct {
	RoutableLeasesStub func() ([]controller.Lease, error)
	// contains filtered or unexported fields
}

func (*LeaseRepository) Invocations

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

func (*LeaseRepository) RoutableLeases

func (fake *LeaseRepository) RoutableLeases() ([]controller.Lease, error)

func (*LeaseRepository) RoutableLeasesCallCount

func (fake *LeaseRepository) RoutableLeasesCallCount() int

func (*LeaseRepository) RoutableLeasesReturns

func (fake *LeaseRepository) RoutableLeasesReturns(result1 []controller.Lease, result2 error)

func (*LeaseRepository) RoutableLeasesReturnsOnCall

func (fake *LeaseRepository) RoutableLeasesReturnsOnCall(i int, result1 []controller.Lease, result2 error)

Jump to

Keyboard shortcuts

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