Documentation ¶
Overview ¶
Package mock_tunnel_tunserver is a generated GoMock package.
Index ¶
- type MockDataCallback
- func (m *MockDataCallback) EXPECT() *MockDataCallbackMockRecorder
- func (m *MockDataCallback) Error(arg0 *status.Status) error
- func (m *MockDataCallback) Header(arg0 map[string]*prototool.Values) error
- func (m *MockDataCallback) Message(arg0 []byte) error
- func (m *MockDataCallback) Trailer(arg0 map[string]*prototool.Values) error
- type MockDataCallbackErrorCall
- type MockDataCallbackHeaderCall
- func (c *MockDataCallbackHeaderCall) Do(f func(map[string]*prototool.Values) error) *MockDataCallbackHeaderCall
- func (c *MockDataCallbackHeaderCall) DoAndReturn(f func(map[string]*prototool.Values) error) *MockDataCallbackHeaderCall
- func (c *MockDataCallbackHeaderCall) Return(arg0 error) *MockDataCallbackHeaderCall
- type MockDataCallbackMessageCall
- type MockDataCallbackMockRecorder
- func (mr *MockDataCallbackMockRecorder) Error(arg0 any) *MockDataCallbackErrorCall
- func (mr *MockDataCallbackMockRecorder) Header(arg0 any) *MockDataCallbackHeaderCall
- func (mr *MockDataCallbackMockRecorder) Message(arg0 any) *MockDataCallbackMessageCall
- func (mr *MockDataCallbackMockRecorder) Trailer(arg0 any) *MockDataCallbackTrailerCall
- type MockDataCallbackTrailerCall
- func (c *MockDataCallbackTrailerCall) Do(f func(map[string]*prototool.Values) error) *MockDataCallbackTrailerCall
- func (c *MockDataCallbackTrailerCall) DoAndReturn(f func(map[string]*prototool.Values) error) *MockDataCallbackTrailerCall
- func (c *MockDataCallbackTrailerCall) Return(arg0 error) *MockDataCallbackTrailerCall
- type MockGatewayFinder
- type MockGatewayFinderFindCall
- func (c *MockGatewayFinderFindCall) Do(f func(context.Context) (tunserver.ReadyGateway, error)) *MockGatewayFinderFindCall
- func (c *MockGatewayFinderFindCall) DoAndReturn(f func(context.Context) (tunserver.ReadyGateway, error)) *MockGatewayFinderFindCall
- func (c *MockGatewayFinderFindCall) Return(arg0 tunserver.ReadyGateway, arg1 error) *MockGatewayFinderFindCall
- type MockGatewayFinderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDataCallback ¶
type MockDataCallback struct {
// contains filtered or unexported fields
}
MockDataCallback is a mock of DataCallback interface.
func NewMockDataCallback ¶
func NewMockDataCallback(ctrl *gomock.Controller) *MockDataCallback
NewMockDataCallback creates a new mock instance.
func (*MockDataCallback) EXPECT ¶
func (m *MockDataCallback) EXPECT() *MockDataCallbackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataCallback) Error ¶
func (m *MockDataCallback) Error(arg0 *status.Status) error
Error mocks base method.
func (*MockDataCallback) Header ¶
func (m *MockDataCallback) Header(arg0 map[string]*prototool.Values) error
Header mocks base method.
func (*MockDataCallback) Message ¶
func (m *MockDataCallback) Message(arg0 []byte) error
Message mocks base method.
type MockDataCallbackErrorCall ¶
MockDataCallbackErrorCall wrap *gomock.Call
func (*MockDataCallbackErrorCall) Do ¶
func (c *MockDataCallbackErrorCall) Do(f func(*status.Status) error) *MockDataCallbackErrorCall
Do rewrite *gomock.Call.Do
func (*MockDataCallbackErrorCall) DoAndReturn ¶
func (c *MockDataCallbackErrorCall) DoAndReturn(f func(*status.Status) error) *MockDataCallbackErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockDataCallbackErrorCall) Return ¶
func (c *MockDataCallbackErrorCall) Return(arg0 error) *MockDataCallbackErrorCall
Return rewrite *gomock.Call.Return
type MockDataCallbackHeaderCall ¶
MockDataCallbackHeaderCall wrap *gomock.Call
func (*MockDataCallbackHeaderCall) Do ¶
func (c *MockDataCallbackHeaderCall) Do(f func(map[string]*prototool.Values) error) *MockDataCallbackHeaderCall
Do rewrite *gomock.Call.Do
func (*MockDataCallbackHeaderCall) DoAndReturn ¶
func (c *MockDataCallbackHeaderCall) DoAndReturn(f func(map[string]*prototool.Values) error) *MockDataCallbackHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockDataCallbackHeaderCall) Return ¶
func (c *MockDataCallbackHeaderCall) Return(arg0 error) *MockDataCallbackHeaderCall
Return rewrite *gomock.Call.Return
type MockDataCallbackMessageCall ¶
MockDataCallbackMessageCall wrap *gomock.Call
func (*MockDataCallbackMessageCall) Do ¶
func (c *MockDataCallbackMessageCall) Do(f func([]byte) error) *MockDataCallbackMessageCall
Do rewrite *gomock.Call.Do
func (*MockDataCallbackMessageCall) DoAndReturn ¶
func (c *MockDataCallbackMessageCall) DoAndReturn(f func([]byte) error) *MockDataCallbackMessageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockDataCallbackMessageCall) Return ¶
func (c *MockDataCallbackMessageCall) Return(arg0 error) *MockDataCallbackMessageCall
Return rewrite *gomock.Call.Return
type MockDataCallbackMockRecorder ¶
type MockDataCallbackMockRecorder struct {
// contains filtered or unexported fields
}
MockDataCallbackMockRecorder is the mock recorder for MockDataCallback.
func (*MockDataCallbackMockRecorder) Error ¶
func (mr *MockDataCallbackMockRecorder) Error(arg0 any) *MockDataCallbackErrorCall
Error indicates an expected call of Error.
func (*MockDataCallbackMockRecorder) Header ¶
func (mr *MockDataCallbackMockRecorder) Header(arg0 any) *MockDataCallbackHeaderCall
Header indicates an expected call of Header.
func (*MockDataCallbackMockRecorder) Message ¶
func (mr *MockDataCallbackMockRecorder) Message(arg0 any) *MockDataCallbackMessageCall
Message indicates an expected call of Message.
func (*MockDataCallbackMockRecorder) Trailer ¶
func (mr *MockDataCallbackMockRecorder) Trailer(arg0 any) *MockDataCallbackTrailerCall
Trailer indicates an expected call of Trailer.
type MockDataCallbackTrailerCall ¶
MockDataCallbackTrailerCall wrap *gomock.Call
func (*MockDataCallbackTrailerCall) Do ¶
func (c *MockDataCallbackTrailerCall) Do(f func(map[string]*prototool.Values) error) *MockDataCallbackTrailerCall
Do rewrite *gomock.Call.Do
func (*MockDataCallbackTrailerCall) DoAndReturn ¶
func (c *MockDataCallbackTrailerCall) DoAndReturn(f func(map[string]*prototool.Values) error) *MockDataCallbackTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockDataCallbackTrailerCall) Return ¶
func (c *MockDataCallbackTrailerCall) Return(arg0 error) *MockDataCallbackTrailerCall
Return rewrite *gomock.Call.Return
type MockGatewayFinder ¶ added in v17.1.0
type MockGatewayFinder struct {
// contains filtered or unexported fields
}
MockGatewayFinder is a mock of GatewayFinder interface.
func NewMockGatewayFinder ¶ added in v17.1.0
func NewMockGatewayFinder(ctrl *gomock.Controller) *MockGatewayFinder
NewMockGatewayFinder creates a new mock instance.
func (*MockGatewayFinder) EXPECT ¶ added in v17.1.0
func (m *MockGatewayFinder) EXPECT() *MockGatewayFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGatewayFinder) Find ¶ added in v17.1.0
func (m *MockGatewayFinder) Find(arg0 context.Context) (tunserver.ReadyGateway, error)
Find mocks base method.
type MockGatewayFinderFindCall ¶ added in v17.1.0
MockGatewayFinderFindCall wrap *gomock.Call
func (*MockGatewayFinderFindCall) Do ¶ added in v17.1.0
func (c *MockGatewayFinderFindCall) Do(f func(context.Context) (tunserver.ReadyGateway, error)) *MockGatewayFinderFindCall
Do rewrite *gomock.Call.Do
func (*MockGatewayFinderFindCall) DoAndReturn ¶ added in v17.1.0
func (c *MockGatewayFinderFindCall) DoAndReturn(f func(context.Context) (tunserver.ReadyGateway, error)) *MockGatewayFinderFindCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGatewayFinderFindCall) Return ¶ added in v17.1.0
func (c *MockGatewayFinderFindCall) Return(arg0 tunserver.ReadyGateway, arg1 error) *MockGatewayFinderFindCall
Return rewrite *gomock.Call.Return
type MockGatewayFinderMockRecorder ¶ added in v17.1.0
type MockGatewayFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockGatewayFinderMockRecorder is the mock recorder for MockGatewayFinder.
func (*MockGatewayFinderMockRecorder) Find ¶ added in v17.1.0
func (mr *MockGatewayFinderMockRecorder) Find(arg0 any) *MockGatewayFinderFindCall
Find indicates an expected call of Find.