Documentation ¶
Overview ¶
Package networkmock is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Create(arg0 context.Context, arg1 params.NetworkCreate) (types.Network, error)
- func (m *MockRepository) Delete(arg0 context.Context, arg1 types.Network) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) Ensure(arg0 context.Context, arg1 types.Network) error
- func (m *MockRepository) Exists(arg0 context.Context, arg1 string) (types.Network, bool, error)
- func (m *MockRepository) List(arg0 context.Context) ([]types.Network, error)
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Ensure(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) List(arg0 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) Create ¶
func (m *MockRepository) Create(arg0 context.Context, arg1 params.NetworkCreate) (types.Network, error)
Create 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) Create ¶
func (mr *MockRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockRepositoryMockRecorder) Delete ¶
func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1 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
Click to show internal directories.
Click to hide internal directories.