telemetry

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 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 Option

type Option struct {
	mock.Mock
}

Option is an autogenerated mock type for the Option type

func NewOption

func NewOption(t interface {
	mock.TestingT
	Cleanup(func())
}) *Option

NewOption creates a new instance of Option. 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 (*Option) Apply

func (_m *Option) Apply(config *pkgtelemetry.Telemetry)

Apply provides a mock function with given fields: config

func (*Option) EXPECT

func (_m *Option) EXPECT() *Option_Expecter

type OptionFunc

type OptionFunc struct {
	mock.Mock
}

OptionFunc is an autogenerated mock type for the OptionFunc type

func NewOptionFunc

func NewOptionFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *OptionFunc

NewOptionFunc creates a new instance of OptionFunc. 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 (*OptionFunc) EXPECT

func (_m *OptionFunc) EXPECT() *OptionFunc_Expecter

func (*OptionFunc) Execute

func (_m *OptionFunc) Execute(_a0 *pkgtelemetry.Telemetry)

Execute provides a mock function with given fields: _a0

type OptionFunc_Execute_Call

type OptionFunc_Execute_Call struct {
	*mock.Call
}

OptionFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*OptionFunc_Execute_Call) Return

func (*OptionFunc_Execute_Call) Run

func (*OptionFunc_Execute_Call) RunAndReturn

type OptionFunc_Expecter

type OptionFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*OptionFunc_Expecter) Execute

func (_e *OptionFunc_Expecter) Execute(_a0 interface{}) *OptionFunc_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 *pkgtelemetry.Telemetry

type Option_Apply_Call

type Option_Apply_Call struct {
	*mock.Call
}

Option_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'

func (*Option_Apply_Call) Return

func (_c *Option_Apply_Call) Return() *Option_Apply_Call

func (*Option_Apply_Call) Run

func (_c *Option_Apply_Call) Run(run func(config *pkgtelemetry.Telemetry)) *Option_Apply_Call

func (*Option_Apply_Call) RunAndReturn

func (_c *Option_Apply_Call) RunAndReturn(run func(*pkgtelemetry.Telemetry)) *Option_Apply_Call

type Option_Expecter

type Option_Expecter struct {
	// contains filtered or unexported fields
}

func (*Option_Expecter) Apply

func (_e *Option_Expecter) Apply(config interface{}) *Option_Apply_Call

Apply is a helper method to define mock.On call

  • config *pkgtelemetry.Telemetry

Jump to

Keyboard shortcuts

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