endpointmock

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package endpointmock 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) Activate

Activate mocks base method.

func (*MockRepository) Create

Create mocks base method.

func (*MockRepository) Deactivate

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

Deactivate mocks base method.

func (*MockRepository) Delete

func (m *MockRepository) Delete(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint, arg3 endpoint.DeleteOpts) error

Delete mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) Exists

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

Exists mocks base method.

func (*MockRepository) List

func (m *MockRepository) List(arg0 context.Context, arg1 map[string]string) ([]types.Endpoint, error)

List mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Activate

func (mr *MockRepositoryMockRecorder) Activate(arg0, arg1, arg2, arg3 any) *gomock.Call

Activate indicates an expected call of Activate.

func (*MockRepositoryMockRecorder) Create

func (mr *MockRepositoryMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRepositoryMockRecorder) Deactivate

func (mr *MockRepositoryMockRecorder) Deactivate(arg0, arg1, arg2 any) *gomock.Call

Deactivate indicates an expected call of Deactivate.

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1, arg2, arg3 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRepositoryMockRecorder) Exists

func (mr *MockRepositoryMockRecorder) Exists(arg0, arg1 any) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockRepositoryMockRecorder) List

func (mr *MockRepositoryMockRecorder) List(arg0, arg1 any) *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