modelsmock

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 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) GetHost added in v1.9.0

func (m *MockStorage) GetHost(arg0 context.Context) (models.Host, error)

GetHost mocks base method

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

func (*MockStorage) SaveHost added in v1.9.0

func (m *MockStorage) SaveHost(arg0 context.Context, arg1 models.Host) error

SaveHost mocks base method

func (*MockStorage) UpdateIP added in v1.5.1

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

UpdateIP 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) GetHost added in v1.9.0

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

GetHost indicates an expected call of GetHost

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

func (*MockStorageMockRecorder) SaveHost added in v1.9.0

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

SaveHost indicates an expected call of SaveHost

func (*MockStorageMockRecorder) UpdateIP added in v1.5.1

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

UpdateIP indicates an expected call of UpdateIP

Jump to

Keyboard shortcuts

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