Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) StreamExists ¶
StreamExists provides a mock function with given fields:
type Client_Close_Call ¶
Client_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Client_Close_Call) Return ¶
func (_c *Client_Close_Call) Return() *Client_Close_Call
func (*Client_Close_Call) Run ¶
func (_c *Client_Close_Call) Run(run func()) *Client_Close_Call
func (*Client_Close_Call) RunAndReturn ¶
func (_c *Client_Close_Call) RunAndReturn(run func()) *Client_Close_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Close ¶
func (_e *Client_Expecter) Close() *Client_Close_Call
Close is a helper method to define mock.On call
func (*Client_Expecter) Init ¶
func (_e *Client_Expecter) Init() *Client_Init_Call
Init is a helper method to define mock.On call
func (*Client_Expecter) StreamExists ¶
func (_e *Client_Expecter) StreamExists() *Client_StreamExists_Call
StreamExists is a helper method to define mock.On call
type Client_Init_Call ¶
Client_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*Client_Init_Call) Return ¶
func (_c *Client_Init_Call) Return(_a0 error) *Client_Init_Call
func (*Client_Init_Call) Run ¶
func (_c *Client_Init_Call) Run(run func()) *Client_Init_Call
func (*Client_Init_Call) RunAndReturn ¶
func (_c *Client_Init_Call) RunAndReturn(run func() error) *Client_Init_Call
type Client_StreamExists_Call ¶
Client_StreamExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamExists'
func (*Client_StreamExists_Call) Return ¶
func (_c *Client_StreamExists_Call) Return(_a0 bool, _a1 error) *Client_StreamExists_Call
func (*Client_StreamExists_Call) Run ¶
func (_c *Client_StreamExists_Call) Run(run func()) *Client_StreamExists_Call
func (*Client_StreamExists_Call) RunAndReturn ¶
func (_c *Client_StreamExists_Call) RunAndReturn(run func() (bool, error)) *Client_StreamExists_Call