networkmock

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: 6 Imported by: 0

Documentation

Overview

Package networkmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) Create

Create mocks base method

func (*MockRepository) Deactivate added in v0.4.5

func (m *MockRepository) Deactivate(arg0 context.Context, arg1 types.Network) error

Deactivate mocks base method

func (*MockRepository) Delete

Delete mocks base method

func (*MockRepository) EXPECT

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

func (*MockRepository) Ensure

func (m *MockRepository) Ensure(arg0 context.Context, arg1 types.Network) error

Ensure mocks base method

func (*MockRepository) Exists

func (m *MockRepository) Exists(arg0 context.Context, arg1 string) (types.Network, bool, error)

Exists mocks base method

func (*MockRepository) List

func (m *MockRepository) List(arg0 context.Context) ([]types.Network, error)

List mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) Create

func (mr *MockRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockRepositoryMockRecorder) Deactivate added in v0.4.5

func (mr *MockRepositoryMockRecorder) Deactivate(arg0, arg1 interface{}) *gomock.Call

Deactivate indicates an expected call of Deactivate

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockRepositoryMockRecorder) Ensure

func (mr *MockRepositoryMockRecorder) Ensure(arg0, arg1 interface{}) *gomock.Call

Ensure indicates an expected call of Ensure

func (*MockRepositoryMockRecorder) Exists

func (mr *MockRepositoryMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockRepositoryMockRecorder) List

func (mr *MockRepositoryMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

Jump to

Keyboard shortcuts

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