sandmock

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package sandmock is a generated GoMock package.

Index

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

func (m *MockClient) NetworkShow(arg0 context.Context, arg1 string) (types.Network, error)

NetworkShow mocks base method

func (*MockClient) NetworksList

func (m *MockClient) NetworksList(arg0 context.Context) ([]types.Network, error)

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

func (*MockClient) Version added in v0.6.0

func (m *MockClient) Version(arg0 context.Context) (string, error)

Version 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

func (*MockClientMockRecorder) Version added in v0.6.0

func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call

Version indicates an expected call of Version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL