Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockNetworkAPIClient
- func (m *MockNetworkAPIClient) EXPECT() *MockNetworkAPIClientMockRecorder
- func (m *MockNetworkAPIClient) NetworkConnect(arg0 context.Context, arg1, arg2 string, arg3 *network.EndpointSettings) error
- func (m *MockNetworkAPIClient) NetworkCreate(arg0 context.Context, arg1 string, arg2 types.NetworkCreate) (types.NetworkCreateResponse, error)
- func (m *MockNetworkAPIClient) NetworkDisconnect(arg0 context.Context, arg1, arg2 string, arg3 bool) error
- func (m *MockNetworkAPIClient) NetworkInspect(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, error)
- func (m *MockNetworkAPIClient) NetworkInspectWithRaw(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
- func (m *MockNetworkAPIClient) NetworkList(arg0 context.Context, arg1 types.NetworkListOptions) ([]types.NetworkResource, error)
- func (m *MockNetworkAPIClient) NetworkRemove(arg0 context.Context, arg1 string) error
- func (m *MockNetworkAPIClient) NetworksPrune(arg0 context.Context, arg1 filters.Args) (types.NetworksPruneReport, error)
- type MockNetworkAPIClientMockRecorder
- func (mr *MockNetworkAPIClientMockRecorder) NetworkConnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkCreate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkDisconnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkInspect(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkRemove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworksPrune(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetworkAPIClient ¶
type MockNetworkAPIClient struct {
// contains filtered or unexported fields
}
MockNetworkAPIClient is a mock of NetworkAPIClient interface.
func NewMockNetworkAPIClient ¶
func NewMockNetworkAPIClient(ctrl *gomock.Controller) *MockNetworkAPIClient
NewMockNetworkAPIClient creates a new mock instance.
func (*MockNetworkAPIClient) EXPECT ¶
func (m *MockNetworkAPIClient) EXPECT() *MockNetworkAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkAPIClient) NetworkConnect ¶
func (m *MockNetworkAPIClient) NetworkConnect(arg0 context.Context, arg1, arg2 string, arg3 *network.EndpointSettings) error
NetworkConnect mocks base method.
func (*MockNetworkAPIClient) NetworkCreate ¶
func (m *MockNetworkAPIClient) NetworkCreate(arg0 context.Context, arg1 string, arg2 types.NetworkCreate) (types.NetworkCreateResponse, error)
NetworkCreate mocks base method.
func (*MockNetworkAPIClient) NetworkDisconnect ¶
func (m *MockNetworkAPIClient) NetworkDisconnect(arg0 context.Context, arg1, arg2 string, arg3 bool) error
NetworkDisconnect mocks base method.
func (*MockNetworkAPIClient) NetworkInspect ¶
func (m *MockNetworkAPIClient) NetworkInspect(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, error)
NetworkInspect mocks base method.
func (*MockNetworkAPIClient) NetworkInspectWithRaw ¶
func (m *MockNetworkAPIClient) NetworkInspectWithRaw(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
NetworkInspectWithRaw mocks base method.
func (*MockNetworkAPIClient) NetworkList ¶
func (m *MockNetworkAPIClient) NetworkList(arg0 context.Context, arg1 types.NetworkListOptions) ([]types.NetworkResource, error)
NetworkList mocks base method.
func (*MockNetworkAPIClient) NetworkRemove ¶
func (m *MockNetworkAPIClient) NetworkRemove(arg0 context.Context, arg1 string) error
NetworkRemove mocks base method.
func (*MockNetworkAPIClient) NetworksPrune ¶
func (m *MockNetworkAPIClient) NetworksPrune(arg0 context.Context, arg1 filters.Args) (types.NetworksPruneReport, error)
NetworksPrune mocks base method.
type MockNetworkAPIClientMockRecorder ¶
type MockNetworkAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkAPIClientMockRecorder is the mock recorder for MockNetworkAPIClient.
func (*MockNetworkAPIClientMockRecorder) NetworkConnect ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkConnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NetworkConnect indicates an expected call of NetworkConnect.
func (*MockNetworkAPIClientMockRecorder) NetworkCreate ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkCreate(arg0, arg1, arg2 interface{}) *gomock.Call
NetworkCreate indicates an expected call of NetworkCreate.
func (*MockNetworkAPIClientMockRecorder) NetworkDisconnect ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkDisconnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NetworkDisconnect indicates an expected call of NetworkDisconnect.
func (*MockNetworkAPIClientMockRecorder) NetworkInspect ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkInspect(arg0, arg1, arg2 interface{}) *gomock.Call
NetworkInspect indicates an expected call of NetworkInspect.
func (*MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call
NetworkInspectWithRaw indicates an expected call of NetworkInspectWithRaw.
func (*MockNetworkAPIClientMockRecorder) NetworkList ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkList(arg0, arg1 interface{}) *gomock.Call
NetworkList indicates an expected call of NetworkList.
func (*MockNetworkAPIClientMockRecorder) NetworkRemove ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkRemove(arg0, arg1 interface{}) *gomock.Call
NetworkRemove indicates an expected call of NetworkRemove.
func (*MockNetworkAPIClientMockRecorder) NetworksPrune ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworksPrune(arg0, arg1 interface{}) *gomock.Call
NetworksPrune indicates an expected call of NetworksPrune.