mock_ipstore

package
v0.0.0-...-53a8481 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_ipstore is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIPAllocator

type MockIPAllocator struct {
	// contains filtered or unexported fields
}

MockIPAllocator is a mock of IPAllocator interface

func NewMockIPAllocator

func NewMockIPAllocator(ctrl *gomock.Controller) *MockIPAllocator

NewMockIPAllocator creates a new mock instance

func (*MockIPAllocator) Assign

func (m *MockIPAllocator) Assign(arg0, arg1 string) error

Assign mocks base method

func (*MockIPAllocator) Close

func (m *MockIPAllocator) Close()

Close mocks base method

func (*MockIPAllocator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockIPAllocator) Exists

func (m *MockIPAllocator) Exists(arg0 string) (bool, error)

Exists mocks base method

func (*MockIPAllocator) Get

func (m *MockIPAllocator) Get(arg0 string) (string, error)

Get mocks base method

func (*MockIPAllocator) GetAvailableIP

func (m *MockIPAllocator) GetAvailableIP(arg0 string) (string, error)

GetAvailableIP mocks base method

func (*MockIPAllocator) Release

func (m *MockIPAllocator) Release(arg0 string) error

Release mocks base method

func (*MockIPAllocator) ReleaseByID

func (m *MockIPAllocator) ReleaseByID(arg0 string) (string, error)

ReleaseByID mocks base method

func (*MockIPAllocator) SetLastKnownIP

func (m *MockIPAllocator) SetLastKnownIP(arg0 net.IP)

SetLastKnownIP mocks base method

func (*MockIPAllocator) Update

func (m *MockIPAllocator) Update(arg0, arg1 string) error

Update mocks base method

type MockIPAllocatorMockRecorder

type MockIPAllocatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockIPAllocatorMockRecorder is the mock recorder for MockIPAllocator

func (*MockIPAllocatorMockRecorder) Assign

func (mr *MockIPAllocatorMockRecorder) Assign(arg0, arg1 interface{}) *gomock.Call

Assign indicates an expected call of Assign

func (*MockIPAllocatorMockRecorder) Close

Close indicates an expected call of Close

func (*MockIPAllocatorMockRecorder) Exists

func (mr *MockIPAllocatorMockRecorder) Exists(arg0 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockIPAllocatorMockRecorder) Get

func (mr *MockIPAllocatorMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockIPAllocatorMockRecorder) GetAvailableIP

func (mr *MockIPAllocatorMockRecorder) GetAvailableIP(arg0 interface{}) *gomock.Call

GetAvailableIP indicates an expected call of GetAvailableIP

func (*MockIPAllocatorMockRecorder) Release

func (mr *MockIPAllocatorMockRecorder) Release(arg0 interface{}) *gomock.Call

Release indicates an expected call of Release

func (*MockIPAllocatorMockRecorder) ReleaseByID

func (mr *MockIPAllocatorMockRecorder) ReleaseByID(arg0 interface{}) *gomock.Call

ReleaseByID indicates an expected call of ReleaseByID

func (*MockIPAllocatorMockRecorder) SetLastKnownIP

func (mr *MockIPAllocatorMockRecorder) SetLastKnownIP(arg0 interface{}) *gomock.Call

SetLastKnownIP indicates an expected call of SetLastKnownIP

func (*MockIPAllocatorMockRecorder) Update

func (mr *MockIPAllocatorMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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