Documentation
¶
Overview ¶
Package mocks_network is a generated GoMock package.
Package mocks_network is a generated GoMock package.
Package mocks_network is a generated GoMock package.
Index ¶
- type DriverHandler
- func (m *DriverHandler) EXPECT() *DriverHandlerMockRecorder
- func (m *DriverHandler) HandleCreateOptions(arg0 types0.NetworkCreateRequest, arg1 types.NetworkCreateOptions) (types.NetworkCreateOptions, error)
- func (m *DriverHandler) HandlePostCreate(arg0 *netutil.NetworkConfig) (string, error)
- func (m *DriverHandler) HandleRemove(arg0 *netutil.NetworkConfig) error
- type DriverHandlerMockRecorder
- type MockIPTablesWrapper
- func (m *MockIPTablesWrapper) AppendUnique(arg0, arg1 string, arg2 ...string) error
- func (m *MockIPTablesWrapper) ChainExists(arg0, arg1 string) (bool, error)
- func (m *MockIPTablesWrapper) DeleteChain(arg0, arg1 string) error
- func (m *MockIPTablesWrapper) DeleteIfExists(arg0, arg1 string, arg2 ...string) error
- func (m *MockIPTablesWrapper) EXPECT() *MockIPTablesWrapperMockRecorder
- func (m *MockIPTablesWrapper) InsertUnique(arg0, arg1 string, arg2 int, arg3 ...string) error
- func (m *MockIPTablesWrapper) NewChain(arg0, arg1 string) error
- type MockIPTablesWrapperMockRecorder
- func (mr *MockIPTablesWrapperMockRecorder) AppendUnique(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockIPTablesWrapperMockRecorder) ChainExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPTablesWrapperMockRecorder) DeleteChain(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPTablesWrapperMockRecorder) DeleteIfExists(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockIPTablesWrapperMockRecorder) InsertUnique(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockIPTablesWrapperMockRecorder) NewChain(arg0, arg1 interface{}) *gomock.Call
- type MockService
- func (m *MockService) Connect(arg0 context.Context, arg1, arg2 string) error
- func (m *MockService) Create(arg0 context.Context, arg1 types.NetworkCreateRequest) (types.NetworkCreateResponse, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Inspect(arg0 context.Context, arg1 string) (*types.NetworkInspectResponse, error)
- func (m *MockService) List(arg0 context.Context) ([]*types.NetworkInspectResponse, error)
- func (m *MockService) Remove(arg0 context.Context, arg1 string) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Connect(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DriverHandler ¶ added in v0.11.0
type DriverHandler struct {
// contains filtered or unexported fields
}
DriverHandler is a mock of DriverHandler interface.
func NewDriverHandler ¶ added in v0.11.0
func NewDriverHandler(ctrl *gomock.Controller) *DriverHandler
NewDriverHandler creates a new mock instance.
func (*DriverHandler) EXPECT ¶ added in v0.11.0
func (m *DriverHandler) EXPECT() *DriverHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*DriverHandler) HandleCreateOptions ¶ added in v0.11.0
func (m *DriverHandler) HandleCreateOptions(arg0 types0.NetworkCreateRequest, arg1 types.NetworkCreateOptions) (types.NetworkCreateOptions, error)
HandleCreateOptions mocks base method.
func (*DriverHandler) HandlePostCreate ¶ added in v0.11.0
func (m *DriverHandler) HandlePostCreate(arg0 *netutil.NetworkConfig) (string, error)
HandlePostCreate mocks base method.
func (*DriverHandler) HandleRemove ¶ added in v0.11.0
func (m *DriverHandler) HandleRemove(arg0 *netutil.NetworkConfig) error
HandleRemove mocks base method.
type DriverHandlerMockRecorder ¶ added in v0.11.0
type DriverHandlerMockRecorder struct {
// contains filtered or unexported fields
}
DriverHandlerMockRecorder is the mock recorder for DriverHandler.
func (*DriverHandlerMockRecorder) HandleCreateOptions ¶ added in v0.11.0
func (mr *DriverHandlerMockRecorder) HandleCreateOptions(arg0, arg1 interface{}) *gomock.Call
HandleCreateOptions indicates an expected call of HandleCreateOptions.
func (*DriverHandlerMockRecorder) HandlePostCreate ¶ added in v0.11.0
func (mr *DriverHandlerMockRecorder) HandlePostCreate(arg0 interface{}) *gomock.Call
HandlePostCreate indicates an expected call of HandlePostCreate.
func (*DriverHandlerMockRecorder) HandleRemove ¶ added in v0.11.0
func (mr *DriverHandlerMockRecorder) HandleRemove(arg0 interface{}) *gomock.Call
HandleRemove indicates an expected call of HandleRemove.
type MockIPTablesWrapper ¶ added in v0.11.0
type MockIPTablesWrapper struct {
// contains filtered or unexported fields
}
MockIPTablesWrapper is a mock of IPTablesWrapper interface.
func NewMockIPTablesWrapper ¶ added in v0.11.0
func NewMockIPTablesWrapper(ctrl *gomock.Controller) *MockIPTablesWrapper
NewMockIPTablesWrapper creates a new mock instance.
func (*MockIPTablesWrapper) AppendUnique ¶ added in v0.11.0
func (m *MockIPTablesWrapper) AppendUnique(arg0, arg1 string, arg2 ...string) error
AppendUnique mocks base method.
func (*MockIPTablesWrapper) ChainExists ¶ added in v0.11.0
func (m *MockIPTablesWrapper) ChainExists(arg0, arg1 string) (bool, error)
ChainExists mocks base method.
func (*MockIPTablesWrapper) DeleteChain ¶ added in v0.11.0
func (m *MockIPTablesWrapper) DeleteChain(arg0, arg1 string) error
DeleteChain mocks base method.
func (*MockIPTablesWrapper) DeleteIfExists ¶ added in v0.11.0
func (m *MockIPTablesWrapper) DeleteIfExists(arg0, arg1 string, arg2 ...string) error
DeleteIfExists mocks base method.
func (*MockIPTablesWrapper) EXPECT ¶ added in v0.11.0
func (m *MockIPTablesWrapper) EXPECT() *MockIPTablesWrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPTablesWrapper) InsertUnique ¶ added in v0.11.0
func (m *MockIPTablesWrapper) InsertUnique(arg0, arg1 string, arg2 int, arg3 ...string) error
InsertUnique mocks base method.
func (*MockIPTablesWrapper) NewChain ¶ added in v0.11.0
func (m *MockIPTablesWrapper) NewChain(arg0, arg1 string) error
NewChain mocks base method.
type MockIPTablesWrapperMockRecorder ¶ added in v0.11.0
type MockIPTablesWrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockIPTablesWrapperMockRecorder is the mock recorder for MockIPTablesWrapper.
func (*MockIPTablesWrapperMockRecorder) AppendUnique ¶ added in v0.11.0
func (mr *MockIPTablesWrapperMockRecorder) AppendUnique(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AppendUnique indicates an expected call of AppendUnique.
func (*MockIPTablesWrapperMockRecorder) ChainExists ¶ added in v0.11.0
func (mr *MockIPTablesWrapperMockRecorder) ChainExists(arg0, arg1 interface{}) *gomock.Call
ChainExists indicates an expected call of ChainExists.
func (*MockIPTablesWrapperMockRecorder) DeleteChain ¶ added in v0.11.0
func (mr *MockIPTablesWrapperMockRecorder) DeleteChain(arg0, arg1 interface{}) *gomock.Call
DeleteChain indicates an expected call of DeleteChain.
func (*MockIPTablesWrapperMockRecorder) DeleteIfExists ¶ added in v0.11.0
func (mr *MockIPTablesWrapperMockRecorder) DeleteIfExists(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteIfExists indicates an expected call of DeleteIfExists.
func (*MockIPTablesWrapperMockRecorder) InsertUnique ¶ added in v0.11.0
func (mr *MockIPTablesWrapperMockRecorder) InsertUnique(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
InsertUnique indicates an expected call of InsertUnique.
func (*MockIPTablesWrapperMockRecorder) NewChain ¶ added in v0.11.0
func (mr *MockIPTablesWrapperMockRecorder) NewChain(arg0, arg1 interface{}) *gomock.Call
NewChain indicates an expected call of NewChain.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) Connect ¶
func (m *MockService) Connect(arg0 context.Context, arg1, arg2 string) error
Connect mocks base method.
func (*MockService) Create ¶
func (m *MockService) Create(arg0 context.Context, arg1 types.NetworkCreateRequest) (types.NetworkCreateResponse, error)
Create mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Inspect ¶
func (m *MockService) Inspect(arg0 context.Context, arg1 string) (*types.NetworkInspectResponse, error)
Inspect mocks base method.
func (*MockService) List ¶
func (m *MockService) List(arg0 context.Context) ([]*types.NetworkInspectResponse, error)
List mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Connect ¶
func (mr *MockServiceMockRecorder) Connect(arg0, arg1, arg2 interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceMockRecorder) Inspect ¶
func (mr *MockServiceMockRecorder) Inspect(arg0, arg1 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect.
func (*MockServiceMockRecorder) List ¶
func (mr *MockServiceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServiceMockRecorder) Remove ¶
func (mr *MockServiceMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.