mocks

package
v0.5.25 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Get

func (_m *Client) Get(ctx context.Context, tCtx webapi.GetContext) (interface{}, error)

Get provides a mock function with given fields: ctx, tCtx

func (*Client) OnGet

func (_m *Client) OnGet(ctx context.Context, tCtx webapi.GetContext) *Client_Get

func (*Client) OnGetMatch

func (_m *Client) OnGetMatch(matchers ...interface{}) *Client_Get

func (*Client) OnStatus

func (_m *Client) OnStatus(ctx context.Context, tCtx webapi.StatusContext) *Client_Status

func (*Client) OnStatusMatch

func (_m *Client) OnStatusMatch(matchers ...interface{}) *Client_Status

func (*Client) Status

func (_m *Client) Status(ctx context.Context, tCtx webapi.StatusContext) (core.PhaseInfo, error)

Status provides a mock function with given fields: ctx, tCtx

type Client_Get

type Client_Get struct {
	*mock.Call
}

func (Client_Get) Return

func (_m Client_Get) Return(latest interface{}, err error) *Client_Get

type Client_Status

type Client_Status struct {
	*mock.Call
}

func (Client_Status) Return

func (_m Client_Status) Return(phase core.PhaseInfo, err error) *Client_Status

Jump to

Keyboard shortcuts

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