mocks

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 5 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 NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Client

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) Address

func (_m *Client) Address() string

Address provides a mock function with given fields:

func (*Client) Declare added in v0.2.0

Declare provides a mock function with given fields: _a0, _a1

func (*Client) FetchTask

FetchTask provides a mock function with given fields: _a0, _a1

func (*Client) Insecure

func (_m *Client) Insecure() bool

Insecure provides a mock function with given fields:

func (*Client) Ping

Ping provides a mock function with given fields: _a0, _a1

func (*Client) Register

Register provides a mock function with given fields: _a0, _a1

func (*Client) UpdateLog

UpdateLog provides a mock function with given fields: _a0, _a1

func (*Client) UpdateTask

UpdateTask provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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