ipallocatormock

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package ipallocatormock 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) AllocateIP

func (m *MockIPAllocator) AllocateIP(arg0 context.Context, arg1 string, arg2 ipallocator.AllocateIPOpts) (string, error)

AllocateIP mocks base method

func (*MockIPAllocator) EXPECT

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

func (*MockIPAllocator) ReleaseIP

func (m *MockIPAllocator) ReleaseIP(arg0 context.Context, arg1, arg2 string) error

ReleaseIP mocks base method

func (*MockIPAllocator) ReleasePool

func (m *MockIPAllocator) ReleasePool(arg0 context.Context, arg1 string) error

ReleasePool mocks base method

type MockIPAllocatorMockRecorder

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

MockIPAllocatorMockRecorder is the mock recorder for MockIPAllocator

func (*MockIPAllocatorMockRecorder) AllocateIP

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

AllocateIP indicates an expected call of AllocateIP

func (*MockIPAllocatorMockRecorder) ReleaseIP

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

ReleaseIP indicates an expected call of ReleaseIP

func (*MockIPAllocatorMockRecorder) ReleasePool

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

ReleasePool indicates an expected call of ReleasePool

Jump to

Keyboard shortcuts

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