mocks

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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