Documentation ¶
Overview ¶
Package endpointmock is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Activate(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint, ...) (types.Endpoint, error)
- func (m *MockRepository) Create(arg0 context.Context, arg1 types.Network, arg2 params.EndpointCreate) (types.Endpoint, error)
- func (m *MockRepository) Deactivate(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint) (types.Endpoint, error)
- func (m *MockRepository) Delete(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint, ...) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) Exists(arg0 context.Context, arg1 string) (types.Endpoint, bool, error)
- func (m *MockRepository) List(arg0 context.Context, arg1 map[string]string) ([]types.Endpoint, error)
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Activate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Deactivate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockRepository) Activate(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint, arg3 params.EndpointActivate) (types.Endpoint, error)
Activate mocks base method
func (*MockRepository) Create ¶
func (m *MockRepository) Create(arg0 context.Context, arg1 types.Network, arg2 params.EndpointCreate) (types.Endpoint, error)
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 ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 interface{}) *gomock.Call
Activate indicates an expected call of Activate
func (*MockRepositoryMockRecorder) Create ¶
func (mr *MockRepositoryMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockRepositoryMockRecorder) Deactivate ¶
func (mr *MockRepositoryMockRecorder) Deactivate(arg0, arg1, arg2 interface{}) *gomock.Call
Deactivate indicates an expected call of Deactivate
func (*MockRepositoryMockRecorder) Delete ¶
func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Delete indicates an expected call of Delete
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, arg1 interface{}) *gomock.Call
List indicates an expected call of List