mocks

package
v0.0.0-...-5ae9364 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientAPI

type ClientAPI struct {
	mock.Mock
}

ClientAPI is an autogenerated mock type for the ClientAPI type

func NewClientAPI

func NewClientAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientAPI

NewClientAPI creates a new instance of ClientAPI. 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 (*ClientAPI) CreateReport

func (_m *ClientAPI) CreateReport(params api.CreateReportParameters) (api.CreateReportResponse, error)

CreateReport provides a mock function with given fields: params

func (*ClientAPI) FinishReport

func (_m *ClientAPI) FinishReport(identifier string, allAssetsUploaded bool) error

FinishReport provides a mock function with given fields: identifier, allAssetsUploaded

func (*ClientAPI) UploadAsset

func (_m *ClientAPI) UploadAsset(url string, path string, contentType string) error

UploadAsset provides a mock function with given fields: url, path, contentType

Jump to

Keyboard shortcuts

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