mock_ipstore

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

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

Documentation

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
}

Mock of IPAllocator interface

func NewMockIPAllocator

func NewMockIPAllocator(ctrl *gomock.Controller) *MockIPAllocator

func (*MockIPAllocator) Assign

func (_m *MockIPAllocator) Assign(_param0 string, _param1 string) error

func (*MockIPAllocator) Close

func (_m *MockIPAllocator) Close()

func (*MockIPAllocator) EXPECT

func (_m *MockIPAllocator) EXPECT() *_MockIPAllocatorRecorder

func (*MockIPAllocator) Exists

func (_m *MockIPAllocator) Exists(_param0 string) (bool, error)

func (*MockIPAllocator) Get

func (_m *MockIPAllocator) Get(_param0 string) (string, error)

func (*MockIPAllocator) GetAvailableIP

func (_m *MockIPAllocator) GetAvailableIP(_param0 string) (string, error)

func (*MockIPAllocator) Release

func (_m *MockIPAllocator) Release(_param0 string) error

func (*MockIPAllocator) ReleaseByID

func (_m *MockIPAllocator) ReleaseByID(_param0 string) (string, error)

func (*MockIPAllocator) SetLastKnownIP

func (_m *MockIPAllocator) SetLastKnownIP(_param0 net.IP)

func (*MockIPAllocator) Update

func (_m *MockIPAllocator) Update(_param0 string, _param1 string) error

Jump to

Keyboard shortcuts

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