mock_repository

package
v0.0.0-...-fb92606 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlacklist

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

MockBlacklist is a mock of Blacklist interface.

func NewMockBlacklist

func NewMockBlacklist(ctrl *gomock.Controller) *MockBlacklist

NewMockBlacklist creates a new mock instance.

func (*MockBlacklist) AddToBlacklist

func (m *MockBlacklist) AddToBlacklist(subnet string) error

AddToBlacklist mocks base method.

func (*MockBlacklist) CheckIfIPInBlacklist

func (m *MockBlacklist) CheckIfIPInBlacklist(ip string) (bool, error)

CheckIfIPInBlacklist mocks base method.

func (*MockBlacklist) EXPECT

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

func (*MockBlacklist) RemoveFromBlacklist

func (m *MockBlacklist) RemoveFromBlacklist(subnet string) error

RemoveFromBlacklist mocks base method.

type MockBlacklistMockRecorder

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

MockBlacklistMockRecorder is the mock recorder for MockBlacklist.

func (*MockBlacklistMockRecorder) AddToBlacklist

func (mr *MockBlacklistMockRecorder) AddToBlacklist(subnet interface{}) *gomock.Call

AddToBlacklist indicates an expected call of AddToBlacklist.

func (*MockBlacklistMockRecorder) CheckIfIPInBlacklist

func (mr *MockBlacklistMockRecorder) CheckIfIPInBlacklist(ip interface{}) *gomock.Call

CheckIfIPInBlacklist indicates an expected call of CheckIfIPInBlacklist.

func (*MockBlacklistMockRecorder) RemoveFromBlacklist

func (mr *MockBlacklistMockRecorder) RemoveFromBlacklist(subnet interface{}) *gomock.Call

RemoveFromBlacklist indicates an expected call of RemoveFromBlacklist.

type MockWhitelist

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

MockWhitelist is a mock of Whitelist interface.

func NewMockWhitelist

func NewMockWhitelist(ctrl *gomock.Controller) *MockWhitelist

NewMockWhitelist creates a new mock instance.

func (*MockWhitelist) AddToWhitelist

func (m *MockWhitelist) AddToWhitelist(subnet string) error

AddToWhitelist mocks base method.

func (*MockWhitelist) CheckIfIPInWhitelist

func (m *MockWhitelist) CheckIfIPInWhitelist(ip string) (bool, error)

CheckIfIPInWhitelist mocks base method.

func (*MockWhitelist) EXPECT

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

func (*MockWhitelist) RemoveFromWhitelist

func (m *MockWhitelist) RemoveFromWhitelist(subnet string) error

RemoveFromWhitelist mocks base method.

type MockWhitelistMockRecorder

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

MockWhitelistMockRecorder is the mock recorder for MockWhitelist.

func (*MockWhitelistMockRecorder) AddToWhitelist

func (mr *MockWhitelistMockRecorder) AddToWhitelist(subnet interface{}) *gomock.Call

AddToWhitelist indicates an expected call of AddToWhitelist.

func (*MockWhitelistMockRecorder) CheckIfIPInWhitelist

func (mr *MockWhitelistMockRecorder) CheckIfIPInWhitelist(ip interface{}) *gomock.Call

CheckIfIPInWhitelist indicates an expected call of CheckIfIPInWhitelist.

func (*MockWhitelistMockRecorder) RemoveFromWhitelist

func (mr *MockWhitelistMockRecorder) RemoveFromWhitelist(subnet interface{}) *gomock.Call

RemoveFromWhitelist indicates an expected call of RemoveFromWhitelist.

Jump to

Keyboard shortcuts

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