Documentation ¶
Overview ¶
Package sandmock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EndpointCreate(arg0 context.Context, arg1 params.EndpointCreate) (types.Endpoint, error)
- func (m *MockClient) EndpointDelete(arg0 context.Context, arg1 string) error
- func (m *MockClient) EndpointsList(arg0 context.Context, arg1 params.EndpointsList) ([]types.Endpoint, error)
- func (m *MockClient) NetworkConnect(arg0 context.Context, arg1 string, arg2 params.NetworkConnect) (net.Conn, error)
- func (m *MockClient) NetworkCreate(arg0 context.Context, arg1 params.NetworkCreate) (types.Network, error)
- func (m *MockClient) NetworkDelete(arg0 context.Context, arg1 string) error
- func (m *MockClient) NetworkShow(arg0 context.Context, arg1 string) (types.Network, error)
- func (m *MockClient) NetworksList(arg0 context.Context) ([]types.Network, error)
- func (m *MockClient) NewHTTPRoundTripper(arg0 context.Context, arg1 string, arg2 sand.HTTPRoundTripperOpts) http.RoundTripper
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) EndpointCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EndpointDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EndpointsList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NetworkConnect(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NetworkCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NetworkDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NetworkShow(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NetworksList(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NewHTTPRoundTripper(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) EndpointCreate ¶
func (m *MockClient) EndpointCreate(arg0 context.Context, arg1 params.EndpointCreate) (types.Endpoint, error)
EndpointCreate mocks base method
func (*MockClient) EndpointDelete ¶
func (m *MockClient) EndpointDelete(arg0 context.Context, arg1 string) error
EndpointDelete mocks base method
func (*MockClient) EndpointsList ¶
func (m *MockClient) EndpointsList(arg0 context.Context, arg1 params.EndpointsList) ([]types.Endpoint, error)
EndpointsList mocks base method
func (*MockClient) NetworkConnect ¶
func (m *MockClient) NetworkConnect(arg0 context.Context, arg1 string, arg2 params.NetworkConnect) (net.Conn, error)
NetworkConnect mocks base method
func (*MockClient) NetworkCreate ¶
func (m *MockClient) NetworkCreate(arg0 context.Context, arg1 params.NetworkCreate) (types.Network, error)
NetworkCreate mocks base method
func (*MockClient) NetworkDelete ¶
func (m *MockClient) NetworkDelete(arg0 context.Context, arg1 string) error
NetworkDelete mocks base method
func (*MockClient) NetworkShow ¶
NetworkShow mocks base method
func (*MockClient) NetworksList ¶
NetworksList mocks base method
func (*MockClient) NewHTTPRoundTripper ¶
func (m *MockClient) NewHTTPRoundTripper(arg0 context.Context, arg1 string, arg2 sand.HTTPRoundTripperOpts) http.RoundTripper
NewHTTPRoundTripper mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) EndpointCreate ¶
func (mr *MockClientMockRecorder) EndpointCreate(arg0, arg1 interface{}) *gomock.Call
EndpointCreate indicates an expected call of EndpointCreate
func (*MockClientMockRecorder) EndpointDelete ¶
func (mr *MockClientMockRecorder) EndpointDelete(arg0, arg1 interface{}) *gomock.Call
EndpointDelete indicates an expected call of EndpointDelete
func (*MockClientMockRecorder) EndpointsList ¶
func (mr *MockClientMockRecorder) EndpointsList(arg0, arg1 interface{}) *gomock.Call
EndpointsList indicates an expected call of EndpointsList
func (*MockClientMockRecorder) NetworkConnect ¶
func (mr *MockClientMockRecorder) NetworkConnect(arg0, arg1, arg2 interface{}) *gomock.Call
NetworkConnect indicates an expected call of NetworkConnect
func (*MockClientMockRecorder) NetworkCreate ¶
func (mr *MockClientMockRecorder) NetworkCreate(arg0, arg1 interface{}) *gomock.Call
NetworkCreate indicates an expected call of NetworkCreate
func (*MockClientMockRecorder) NetworkDelete ¶
func (mr *MockClientMockRecorder) NetworkDelete(arg0, arg1 interface{}) *gomock.Call
NetworkDelete indicates an expected call of NetworkDelete
func (*MockClientMockRecorder) NetworkShow ¶
func (mr *MockClientMockRecorder) NetworkShow(arg0, arg1 interface{}) *gomock.Call
NetworkShow indicates an expected call of NetworkShow
func (*MockClientMockRecorder) NetworksList ¶
func (mr *MockClientMockRecorder) NetworksList(arg0 interface{}) *gomock.Call
NetworksList indicates an expected call of NetworksList
func (*MockClientMockRecorder) NewHTTPRoundTripper ¶
func (mr *MockClientMockRecorder) NewHTTPRoundTripper(arg0, arg1, arg2 interface{}) *gomock.Call
NewHTTPRoundTripper indicates an expected call of NewHTTPRoundTripper