mocks

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: Apache-2.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 AgentService

type AgentService struct {
	mock.Mock
}

AgentService is an autogenerated mock type for the AgentService type

func (*AgentService) GetSamplingRate

func (_m *AgentService) GetSamplingRate(service string, operation string) (float64, error)

GetSamplingRate provides a mock function with given fields: service, operation

type QueryService

type QueryService struct {
	mock.Mock
}

QueryService is an autogenerated mock type for the QueryService type

func (*QueryService) GetTraces

func (_m *QueryService) GetTraces(serviceName string, operation string, tags map[string]string) ([]*ui.Trace, error)

GetTraces provides a mock function with given fields: serviceName, operation, tags

type T

type T struct {
	mock.Mock
}

T is an autogenerated mock type for the T type

func (*T) Behavior

func (_m *T) Behavior() string

Behavior provides a mock function with given fields:

func (*T) Errorf

func (_m *T) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*T) FailNow

func (_m *T) FailNow()

FailNow provides a mock function with given fields:

func (*T) Fatalf

func (_m *T) Fatalf(format string, args ...interface{})

Fatalf provides a mock function with given fields: format, args

func (*T) Param

func (_m *T) Param(key string) string

Param provides a mock function with given fields: key

func (*T) Put

func (_m *T) Put(status crossdock.Status, output string)

Put provides a mock function with given fields: status, output

func (*T) Skipf

func (_m *T) Skipf(format string, args ...interface{})

Skipf provides a mock function with given fields: format, args

func (*T) Successf

func (_m *T) Successf(format string, args ...interface{})

Successf provides a mock function with given fields: format, args

func (*T) Tag

func (_m *T) Tag(key string, value string)

Tag provides a mock function with given fields: key, value

Jump to

Keyboard shortcuts

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