mock

package
v0.28.15-access-admin-... Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStateCommitmentFunc added in v0.26.1

type GetStateCommitmentFunc struct {
	mock.Mock
}

GetStateCommitmentFunc is an autogenerated mock type for the GetStateCommitmentFunc type

func NewGetStateCommitmentFunc added in v0.26.1

func NewGetStateCommitmentFunc(t mockConstructorTestingTNewGetStateCommitmentFunc) *GetStateCommitmentFunc

NewGetStateCommitmentFunc creates a new instance of GetStateCommitmentFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GetStateCommitmentFunc) Execute added in v0.26.1

Execute provides a mock function with given fields:

type ReportWriter

type ReportWriter struct {
	mock.Mock
}

ReportWriter is an autogenerated mock type for the ReportWriter type

func NewReportWriter added in v0.26.1

func NewReportWriter(t mockConstructorTestingTNewReportWriter) *ReportWriter

NewReportWriter creates a new instance of ReportWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ReportWriter) Close

func (_m *ReportWriter) Close()

Close provides a mock function with given fields:

func (*ReportWriter) Write

func (_m *ReportWriter) Write(dataPoint interface{})

Write provides a mock function with given fields: dataPoint

type ReportWriterFactory

type ReportWriterFactory struct {
	mock.Mock
}

ReportWriterFactory is an autogenerated mock type for the ReportWriterFactory type

func NewReportWriterFactory added in v0.26.1

func NewReportWriterFactory(t mockConstructorTestingTNewReportWriterFactory) *ReportWriterFactory

NewReportWriterFactory creates a new instance of ReportWriterFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ReportWriterFactory) ReportWriter

func (_m *ReportWriterFactory) ReportWriter(dataNamespace string) reporters.ReportWriter

ReportWriter provides a mock function with given fields: dataNamespace

Jump to

Keyboard shortcuts

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