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.
Index ¶
- type CIDRPool
- func (fake *CIDRPool) GetAvailableBlock(arg1 []string) string
- func (fake *CIDRPool) GetAvailableBlockArgsForCall(i int) []string
- func (fake *CIDRPool) GetAvailableBlockCallCount() int
- func (fake *CIDRPool) GetAvailableBlockReturns(result1 string)
- func (fake *CIDRPool) GetAvailableBlockReturnsOnCall(i int, result1 string)
- func (fake *CIDRPool) GetAvailableSingleIP(arg1 []string) string
- func (fake *CIDRPool) GetAvailableSingleIPArgsForCall(i int) []string
- func (fake *CIDRPool) GetAvailableSingleIPCallCount() int
- func (fake *CIDRPool) GetAvailableSingleIPReturns(result1 string)
- func (fake *CIDRPool) GetAvailableSingleIPReturnsOnCall(i int, result1 string)
- func (fake *CIDRPool) Invocations() map[string][][]interface{}
- func (fake *CIDRPool) IsMember(arg1 string) bool
- func (fake *CIDRPool) IsMemberArgsForCall(i int) string
- func (fake *CIDRPool) IsMemberCallCount() int
- func (fake *CIDRPool) IsMemberReturns(result1 bool)
- func (fake *CIDRPool) IsMemberReturnsOnCall(i int, result1 bool)
- type DatabaseHandler
- func (fake *DatabaseHandler) AddEntry(arg1 controller.Lease) error
- func (fake *DatabaseHandler) AddEntryArgsForCall(i int) controller.Lease
- func (fake *DatabaseHandler) AddEntryCallCount() int
- func (fake *DatabaseHandler) AddEntryReturns(result1 error)
- func (fake *DatabaseHandler) AddEntryReturnsOnCall(i int, result1 error)
- func (fake *DatabaseHandler) All() ([]controller.Lease, error)
- func (fake *DatabaseHandler) AllActive(arg1 int) ([]controller.Lease, error)
- func (fake *DatabaseHandler) AllActiveArgsForCall(i int) int
- func (fake *DatabaseHandler) AllActiveCallCount() int
- func (fake *DatabaseHandler) AllActiveReturns(result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) AllActiveReturnsOnCall(i int, result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) AllBlockSubnets() ([]controller.Lease, error)
- func (fake *DatabaseHandler) AllBlockSubnetsCallCount() int
- func (fake *DatabaseHandler) AllBlockSubnetsReturns(result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) AllBlockSubnetsReturnsOnCall(i int, result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) AllCallCount() int
- func (fake *DatabaseHandler) AllReturns(result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) AllReturnsOnCall(i int, result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) AllSingleIPSubnets() ([]controller.Lease, error)
- func (fake *DatabaseHandler) AllSingleIPSubnetsCallCount() int
- func (fake *DatabaseHandler) AllSingleIPSubnetsReturns(result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) AllSingleIPSubnetsReturnsOnCall(i int, result1 []controller.Lease, result2 error)
- func (fake *DatabaseHandler) DeleteEntry(arg1 string) error
- func (fake *DatabaseHandler) DeleteEntryArgsForCall(i int) string
- func (fake *DatabaseHandler) DeleteEntryCallCount() int
- func (fake *DatabaseHandler) DeleteEntryReturns(result1 error)
- func (fake *DatabaseHandler) DeleteEntryReturnsOnCall(i int, result1 error)
- func (fake *DatabaseHandler) Invocations() map[string][][]interface{}
- func (fake *DatabaseHandler) LastRenewedAtForUnderlayIP(arg1 string) (int64, error)
- func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPArgsForCall(i int) string
- func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPCallCount() int
- func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPReturns(result1 int64, result2 error)
- func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *DatabaseHandler) LeaseForUnderlayIP(arg1 string) (*controller.Lease, error)
- func (fake *DatabaseHandler) LeaseForUnderlayIPArgsForCall(i int) string
- func (fake *DatabaseHandler) LeaseForUnderlayIPCallCount() int
- func (fake *DatabaseHandler) LeaseForUnderlayIPReturns(result1 *controller.Lease, result2 error)
- func (fake *DatabaseHandler) LeaseForUnderlayIPReturnsOnCall(i int, result1 *controller.Lease, result2 error)
- func (fake *DatabaseHandler) OldestExpiredBlockSubnet(arg1 int) (*controller.Lease, error)
- func (fake *DatabaseHandler) OldestExpiredBlockSubnetArgsForCall(i int) int
- func (fake *DatabaseHandler) OldestExpiredBlockSubnetCallCount() int
- func (fake *DatabaseHandler) OldestExpiredBlockSubnetReturns(result1 *controller.Lease, result2 error)
- func (fake *DatabaseHandler) OldestExpiredBlockSubnetReturnsOnCall(i int, result1 *controller.Lease, result2 error)
- func (fake *DatabaseHandler) OldestExpiredSingleIP(arg1 int) (*controller.Lease, error)
- func (fake *DatabaseHandler) OldestExpiredSingleIPArgsForCall(i int) int
- func (fake *DatabaseHandler) OldestExpiredSingleIPCallCount() int
- func (fake *DatabaseHandler) OldestExpiredSingleIPReturns(result1 *controller.Lease, result2 error)
- func (fake *DatabaseHandler) OldestExpiredSingleIPReturnsOnCall(i int, result1 *controller.Lease, result2 error)
- func (fake *DatabaseHandler) RenewLeaseForUnderlayIP(arg1 string) error
- func (fake *DatabaseHandler) RenewLeaseForUnderlayIPArgsForCall(i int) string
- func (fake *DatabaseHandler) RenewLeaseForUnderlayIPCallCount() int
- func (fake *DatabaseHandler) RenewLeaseForUnderlayIPReturns(result1 error)
- func (fake *DatabaseHandler) RenewLeaseForUnderlayIPReturnsOnCall(i int, result1 error)
- type HardwareAddressGenerator
- func (fake *HardwareAddressGenerator) GenerateForVTEP(containerIP net.IP) (net.HardwareAddr, error)
- func (fake *HardwareAddressGenerator) GenerateForVTEPArgsForCall(i int) net.IP
- func (fake *HardwareAddressGenerator) GenerateForVTEPCallCount() int
- func (fake *HardwareAddressGenerator) GenerateForVTEPReturns(result1 net.HardwareAddr, result2 error)
- func (fake *HardwareAddressGenerator) GenerateForVTEPReturnsOnCall(i int, result1 net.HardwareAddr, result2 error)
- func (fake *HardwareAddressGenerator) Invocations() map[string][][]interface{}
- type LeaseValidator
- func (fake *LeaseValidator) Invocations() map[string][][]interface{}
- func (fake *LeaseValidator) Validate(arg1 controller.Lease) error
- func (fake *LeaseValidator) ValidateArgsForCall(i int) controller.Lease
- func (fake *LeaseValidator) ValidateCallCount() int
- func (fake *LeaseValidator) ValidateReturns(result1 error)
- func (fake *LeaseValidator) ValidateReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CIDRPool ¶
type CIDRPool struct { GetAvailableBlockStub func([]string) string GetAvailableSingleIPStub func([]string) string IsMemberStub func(string) bool // contains filtered or unexported fields }
func (*CIDRPool) GetAvailableBlock ¶
func (*CIDRPool) GetAvailableBlockArgsForCall ¶
func (*CIDRPool) GetAvailableBlockCallCount ¶
func (*CIDRPool) GetAvailableBlockReturns ¶
func (*CIDRPool) GetAvailableBlockReturnsOnCall ¶
func (*CIDRPool) GetAvailableSingleIP ¶
func (*CIDRPool) GetAvailableSingleIPArgsForCall ¶
func (*CIDRPool) GetAvailableSingleIPCallCount ¶
func (*CIDRPool) GetAvailableSingleIPReturns ¶
func (*CIDRPool) GetAvailableSingleIPReturnsOnCall ¶
func (*CIDRPool) Invocations ¶
func (*CIDRPool) IsMemberArgsForCall ¶
func (*CIDRPool) IsMemberCallCount ¶
func (*CIDRPool) IsMemberReturns ¶
func (*CIDRPool) IsMemberReturnsOnCall ¶
type DatabaseHandler ¶
type DatabaseHandler struct { AddEntryStub func(controller.Lease) error DeleteEntryStub func(string) error LeaseForUnderlayIPStub func(string) (*controller.Lease, error) LastRenewedAtForUnderlayIPStub func(string) (int64, error) RenewLeaseForUnderlayIPStub func(string) error AllStub func() ([]controller.Lease, error) AllBlockSubnetsStub func() ([]controller.Lease, error) AllSingleIPSubnetsStub func() ([]controller.Lease, error) AllActiveStub func(int) ([]controller.Lease, error) OldestExpiredBlockSubnetStub func(int) (*controller.Lease, error) OldestExpiredSingleIPStub func(int) (*controller.Lease, error) // contains filtered or unexported fields }
func (*DatabaseHandler) AddEntry ¶
func (fake *DatabaseHandler) AddEntry(arg1 controller.Lease) error
func (*DatabaseHandler) AddEntryArgsForCall ¶
func (fake *DatabaseHandler) AddEntryArgsForCall(i int) controller.Lease
func (*DatabaseHandler) AddEntryCallCount ¶
func (fake *DatabaseHandler) AddEntryCallCount() int
func (*DatabaseHandler) AddEntryReturns ¶
func (fake *DatabaseHandler) AddEntryReturns(result1 error)
func (*DatabaseHandler) AddEntryReturnsOnCall ¶
func (fake *DatabaseHandler) AddEntryReturnsOnCall(i int, result1 error)
func (*DatabaseHandler) All ¶
func (fake *DatabaseHandler) All() ([]controller.Lease, error)
func (*DatabaseHandler) AllActive ¶
func (fake *DatabaseHandler) AllActive(arg1 int) ([]controller.Lease, error)
func (*DatabaseHandler) AllActiveArgsForCall ¶
func (fake *DatabaseHandler) AllActiveArgsForCall(i int) int
func (*DatabaseHandler) AllActiveCallCount ¶
func (fake *DatabaseHandler) AllActiveCallCount() int
func (*DatabaseHandler) AllActiveReturns ¶
func (fake *DatabaseHandler) AllActiveReturns(result1 []controller.Lease, result2 error)
func (*DatabaseHandler) AllActiveReturnsOnCall ¶
func (fake *DatabaseHandler) AllActiveReturnsOnCall(i int, result1 []controller.Lease, result2 error)
func (*DatabaseHandler) AllBlockSubnets ¶
func (fake *DatabaseHandler) AllBlockSubnets() ([]controller.Lease, error)
func (*DatabaseHandler) AllBlockSubnetsCallCount ¶
func (fake *DatabaseHandler) AllBlockSubnetsCallCount() int
func (*DatabaseHandler) AllBlockSubnetsReturns ¶
func (fake *DatabaseHandler) AllBlockSubnetsReturns(result1 []controller.Lease, result2 error)
func (*DatabaseHandler) AllBlockSubnetsReturnsOnCall ¶
func (fake *DatabaseHandler) AllBlockSubnetsReturnsOnCall(i int, result1 []controller.Lease, result2 error)
func (*DatabaseHandler) AllCallCount ¶
func (fake *DatabaseHandler) AllCallCount() int
func (*DatabaseHandler) AllReturns ¶
func (fake *DatabaseHandler) AllReturns(result1 []controller.Lease, result2 error)
func (*DatabaseHandler) AllReturnsOnCall ¶
func (fake *DatabaseHandler) AllReturnsOnCall(i int, result1 []controller.Lease, result2 error)
func (*DatabaseHandler) AllSingleIPSubnets ¶
func (fake *DatabaseHandler) AllSingleIPSubnets() ([]controller.Lease, error)
func (*DatabaseHandler) AllSingleIPSubnetsCallCount ¶
func (fake *DatabaseHandler) AllSingleIPSubnetsCallCount() int
func (*DatabaseHandler) AllSingleIPSubnetsReturns ¶
func (fake *DatabaseHandler) AllSingleIPSubnetsReturns(result1 []controller.Lease, result2 error)
func (*DatabaseHandler) AllSingleIPSubnetsReturnsOnCall ¶
func (fake *DatabaseHandler) AllSingleIPSubnetsReturnsOnCall(i int, result1 []controller.Lease, result2 error)
func (*DatabaseHandler) DeleteEntry ¶
func (fake *DatabaseHandler) DeleteEntry(arg1 string) error
func (*DatabaseHandler) DeleteEntryArgsForCall ¶
func (fake *DatabaseHandler) DeleteEntryArgsForCall(i int) string
func (*DatabaseHandler) DeleteEntryCallCount ¶
func (fake *DatabaseHandler) DeleteEntryCallCount() int
func (*DatabaseHandler) DeleteEntryReturns ¶
func (fake *DatabaseHandler) DeleteEntryReturns(result1 error)
func (*DatabaseHandler) DeleteEntryReturnsOnCall ¶
func (fake *DatabaseHandler) DeleteEntryReturnsOnCall(i int, result1 error)
func (*DatabaseHandler) Invocations ¶
func (fake *DatabaseHandler) Invocations() map[string][][]interface{}
func (*DatabaseHandler) LastRenewedAtForUnderlayIP ¶
func (fake *DatabaseHandler) LastRenewedAtForUnderlayIP(arg1 string) (int64, error)
func (*DatabaseHandler) LastRenewedAtForUnderlayIPArgsForCall ¶
func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPArgsForCall(i int) string
func (*DatabaseHandler) LastRenewedAtForUnderlayIPCallCount ¶
func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPCallCount() int
func (*DatabaseHandler) LastRenewedAtForUnderlayIPReturns ¶
func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPReturns(result1 int64, result2 error)
func (*DatabaseHandler) LastRenewedAtForUnderlayIPReturnsOnCall ¶
func (fake *DatabaseHandler) LastRenewedAtForUnderlayIPReturnsOnCall(i int, result1 int64, result2 error)
func (*DatabaseHandler) LeaseForUnderlayIP ¶
func (fake *DatabaseHandler) LeaseForUnderlayIP(arg1 string) (*controller.Lease, error)
func (*DatabaseHandler) LeaseForUnderlayIPArgsForCall ¶
func (fake *DatabaseHandler) LeaseForUnderlayIPArgsForCall(i int) string
func (*DatabaseHandler) LeaseForUnderlayIPCallCount ¶
func (fake *DatabaseHandler) LeaseForUnderlayIPCallCount() int
func (*DatabaseHandler) LeaseForUnderlayIPReturns ¶
func (fake *DatabaseHandler) LeaseForUnderlayIPReturns(result1 *controller.Lease, result2 error)
func (*DatabaseHandler) LeaseForUnderlayIPReturnsOnCall ¶
func (fake *DatabaseHandler) LeaseForUnderlayIPReturnsOnCall(i int, result1 *controller.Lease, result2 error)
func (*DatabaseHandler) OldestExpiredBlockSubnet ¶
func (fake *DatabaseHandler) OldestExpiredBlockSubnet(arg1 int) (*controller.Lease, error)
func (*DatabaseHandler) OldestExpiredBlockSubnetArgsForCall ¶
func (fake *DatabaseHandler) OldestExpiredBlockSubnetArgsForCall(i int) int
func (*DatabaseHandler) OldestExpiredBlockSubnetCallCount ¶
func (fake *DatabaseHandler) OldestExpiredBlockSubnetCallCount() int
func (*DatabaseHandler) OldestExpiredBlockSubnetReturns ¶
func (fake *DatabaseHandler) OldestExpiredBlockSubnetReturns(result1 *controller.Lease, result2 error)
func (*DatabaseHandler) OldestExpiredBlockSubnetReturnsOnCall ¶
func (fake *DatabaseHandler) OldestExpiredBlockSubnetReturnsOnCall(i int, result1 *controller.Lease, result2 error)
func (*DatabaseHandler) OldestExpiredSingleIP ¶
func (fake *DatabaseHandler) OldestExpiredSingleIP(arg1 int) (*controller.Lease, error)
func (*DatabaseHandler) OldestExpiredSingleIPArgsForCall ¶
func (fake *DatabaseHandler) OldestExpiredSingleIPArgsForCall(i int) int
func (*DatabaseHandler) OldestExpiredSingleIPCallCount ¶
func (fake *DatabaseHandler) OldestExpiredSingleIPCallCount() int
func (*DatabaseHandler) OldestExpiredSingleIPReturns ¶
func (fake *DatabaseHandler) OldestExpiredSingleIPReturns(result1 *controller.Lease, result2 error)
func (*DatabaseHandler) OldestExpiredSingleIPReturnsOnCall ¶
func (fake *DatabaseHandler) OldestExpiredSingleIPReturnsOnCall(i int, result1 *controller.Lease, result2 error)
func (*DatabaseHandler) RenewLeaseForUnderlayIP ¶
func (fake *DatabaseHandler) RenewLeaseForUnderlayIP(arg1 string) error
func (*DatabaseHandler) RenewLeaseForUnderlayIPArgsForCall ¶
func (fake *DatabaseHandler) RenewLeaseForUnderlayIPArgsForCall(i int) string
func (*DatabaseHandler) RenewLeaseForUnderlayIPCallCount ¶
func (fake *DatabaseHandler) RenewLeaseForUnderlayIPCallCount() int
func (*DatabaseHandler) RenewLeaseForUnderlayIPReturns ¶
func (fake *DatabaseHandler) RenewLeaseForUnderlayIPReturns(result1 error)
func (*DatabaseHandler) RenewLeaseForUnderlayIPReturnsOnCall ¶
func (fake *DatabaseHandler) RenewLeaseForUnderlayIPReturnsOnCall(i int, result1 error)
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 LeaseValidator ¶
type LeaseValidator struct { ValidateStub func(controller.Lease) error // contains filtered or unexported fields }
func (*LeaseValidator) Invocations ¶
func (fake *LeaseValidator) Invocations() map[string][][]interface{}
func (*LeaseValidator) Validate ¶
func (fake *LeaseValidator) Validate(arg1 controller.Lease) error
func (*LeaseValidator) ValidateArgsForCall ¶
func (fake *LeaseValidator) ValidateArgsForCall(i int) controller.Lease
func (*LeaseValidator) ValidateCallCount ¶
func (fake *LeaseValidator) ValidateCallCount() int
func (*LeaseValidator) ValidateReturns ¶
func (fake *LeaseValidator) ValidateReturns(result1 error)
func (*LeaseValidator) ValidateReturnsOnCall ¶
func (fake *LeaseValidator) ValidateReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.