Documentation
¶
Index ¶
- type Client
- type Client_Expecter
- type Client_Get_Call
- func (_c *Client_Get_Call) Return(latest interface{}, err error) *Client_Get_Call
- func (_c *Client_Get_Call) Run(run func(ctx context.Context, tCtx webapi.GetContext)) *Client_Get_Call
- func (_c *Client_Get_Call) RunAndReturn(run func(context.Context, webapi.GetContext) (interface{}, error)) *Client_Get_Call
- type Client_Status_Call
- func (_c *Client_Status_Call) Return(phase core.PhaseInfo, err error) *Client_Status_Call
- func (_c *Client_Status_Call) Run(run func(ctx context.Context, tCtx webapi.StatusContext)) *Client_Status_Call
- func (_c *Client_Status_Call) RunAndReturn(run func(context.Context, webapi.StatusContext) (core.PhaseInfo, error)) *Client_Status_Call
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 ¶ added in v1.15.1
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 ¶ added in v1.15.1
func (_m *Client) EXPECT() *Client_Expecter
type Client_Expecter ¶ added in v1.15.1
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) Get ¶ added in v1.15.1
func (_e *Client_Expecter) Get(ctx interface{}, tCtx interface{}) *Client_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- tCtx webapi.GetContext
func (*Client_Expecter) Status ¶ added in v1.15.1
func (_e *Client_Expecter) Status(ctx interface{}, tCtx interface{}) *Client_Status_Call
Status is a helper method to define mock.On call
- ctx context.Context
- tCtx webapi.StatusContext
type Client_Get_Call ¶ added in v1.15.1
Client_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Client_Get_Call) Return ¶ added in v1.15.1
func (_c *Client_Get_Call) Return(latest interface{}, err error) *Client_Get_Call
func (*Client_Get_Call) Run ¶ added in v1.15.1
func (_c *Client_Get_Call) Run(run func(ctx context.Context, tCtx webapi.GetContext)) *Client_Get_Call
func (*Client_Get_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Client_Get_Call) RunAndReturn(run func(context.Context, webapi.GetContext) (interface{}, error)) *Client_Get_Call
type Client_Status_Call ¶ added in v1.15.1
Client_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*Client_Status_Call) Return ¶ added in v1.15.1
func (_c *Client_Status_Call) Return(phase core.PhaseInfo, err error) *Client_Status_Call
func (*Client_Status_Call) Run ¶ added in v1.15.1
func (_c *Client_Status_Call) Run(run func(ctx context.Context, tCtx webapi.StatusContext)) *Client_Status_Call
func (*Client_Status_Call) RunAndReturn ¶ added in v1.15.1
func (_c *Client_Status_Call) RunAndReturn(run func(context.Context, webapi.StatusContext) (core.PhaseInfo, error)) *Client_Status_Call
Click to show internal directories.
Click to hide internal directories.