modelsmock

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package modelsmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorage

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

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) AddIP

func (m *MockStorage) AddIP(arg0 context.Context, arg1 models.IP) (models.IP, error)

AddIP mocks base method

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) GetIPs

func (m *MockStorage) GetIPs(arg0 context.Context) ([]models.IP, error)

GetIPs mocks base method

func (*MockStorage) RemoveIP

func (m *MockStorage) RemoveIP(arg0 context.Context, arg1 string) error

RemoveIP mocks base method

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) AddIP

func (mr *MockStorageMockRecorder) AddIP(arg0, arg1 interface{}) *gomock.Call

AddIP indicates an expected call of AddIP

func (*MockStorageMockRecorder) GetIPs

func (mr *MockStorageMockRecorder) GetIPs(arg0 interface{}) *gomock.Call

GetIPs indicates an expected call of GetIPs

func (*MockStorageMockRecorder) RemoveIP

func (mr *MockStorageMockRecorder) RemoveIP(arg0, arg1 interface{}) *gomock.Call

RemoveIP indicates an expected call of RemoveIP

Jump to

Keyboard shortcuts

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