mock

package
v0.0.0-...-d5eddb0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

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

Counter is a mock of Counter interface

func NewCounter

func NewCounter(ctrl *gomock.Controller) *Counter

NewCounter creates a new mock instance

func (*Counter) Add

func (m *Counter) Add(arg0 float64)

Add mocks base method

func (*Counter) EXPECT

func (m *Counter) EXPECT() *CounterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Counter) With

func (m *Counter) With(arg0 ...string) metrics.Counter

With mocks base method

type CounterMockRecorder

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

CounterMockRecorder is the mock recorder for Counter

func (*CounterMockRecorder) Add

func (mr *CounterMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*CounterMockRecorder) With

func (mr *CounterMockRecorder) With(arg0 ...interface{}) *gomock.Call

With indicates an expected call of With

type Flaki

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

Flaki is a mock of Flaki interface

func NewFlaki

func NewFlaki(ctrl *gomock.Controller) *Flaki

NewFlaki creates a new mock instance

func (*Flaki) EXPECT

func (m *Flaki) EXPECT() *FlakiMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Flaki) NextIDString

func (m *Flaki) NextIDString() (string, error)

NextIDString mocks base method

func (*Flaki) NextValidIDString

func (m *Flaki) NextValidIDString() string

NextValidIDString mocks base method

type FlakiMockRecorder

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

FlakiMockRecorder is the mock recorder for Flaki

func (*FlakiMockRecorder) NextIDString

func (mr *FlakiMockRecorder) NextIDString() *gomock.Call

NextIDString indicates an expected call of NextIDString

func (*FlakiMockRecorder) NextValidIDString

func (mr *FlakiMockRecorder) NextValidIDString() *gomock.Call

NextValidIDString indicates an expected call of NextValidIDString

type Handler

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

Handler is a mock of Handler interface

func NewHandler

func NewHandler(ctrl *gomock.Controller) *Handler

NewHandler creates a new mock instance

func (*Handler) EXPECT

func (m *Handler) EXPECT() *HandlerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Handler) ServeGRPC

func (m *Handler) ServeGRPC(arg0 context.Context, arg1 interface{}) (context.Context, interface{}, error)

ServeGRPC mocks base method

type HandlerMockRecorder

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

HandlerMockRecorder is the mock recorder for Handler

func (*HandlerMockRecorder) ServeGRPC

func (mr *HandlerMockRecorder) ServeGRPC(arg0, arg1 interface{}) *gomock.Call

ServeGRPC indicates an expected call of ServeGRPC

type Histogram

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

Histogram is a mock of Histogram interface

func NewHistogram

func NewHistogram(ctrl *gomock.Controller) *Histogram

NewHistogram creates a new mock instance

func (*Histogram) EXPECT

func (m *Histogram) EXPECT() *HistogramMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Histogram) Observe

func (m *Histogram) Observe(arg0 float64)

Observe mocks base method

func (*Histogram) With

func (m *Histogram) With(arg0 ...string) metrics.Histogram

With mocks base method

type HistogramMockRecorder

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

HistogramMockRecorder is the mock recorder for Histogram

func (*HistogramMockRecorder) Observe

func (mr *HistogramMockRecorder) Observe(arg0 interface{}) *gomock.Call

Observe indicates an expected call of Observe

func (*HistogramMockRecorder) With

func (mr *HistogramMockRecorder) With(arg0 ...interface{}) *gomock.Call

With indicates an expected call of With

type IDGeneratorComponent

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

IDGeneratorComponent is a mock of IDGeneratorComponent interface

func NewIDGeneratorComponent

func NewIDGeneratorComponent(ctrl *gomock.Controller) *IDGeneratorComponent

NewIDGeneratorComponent creates a new mock instance

func (*IDGeneratorComponent) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*IDGeneratorComponent) NextID

NextID mocks base method

func (*IDGeneratorComponent) NextValidID

func (m *IDGeneratorComponent) NextValidID(arg0 context.Context, arg1 *fb.FlakiRequest) *fb.FlakiReply

NextValidID mocks base method

type IDGeneratorComponentMockRecorder

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

IDGeneratorComponentMockRecorder is the mock recorder for IDGeneratorComponent

func (*IDGeneratorComponentMockRecorder) NextID

func (mr *IDGeneratorComponentMockRecorder) NextID(arg0, arg1 interface{}) *gomock.Call

NextID indicates an expected call of NextID

func (*IDGeneratorComponentMockRecorder) NextValidID

func (mr *IDGeneratorComponentMockRecorder) NextValidID(arg0, arg1 interface{}) *gomock.Call

NextValidID indicates an expected call of NextValidID

type IDGeneratorModule

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

IDGeneratorModule is a mock of IDGeneratorModule interface

func NewIDGeneratorModule

func NewIDGeneratorModule(ctrl *gomock.Controller) *IDGeneratorModule

NewIDGeneratorModule creates a new mock instance

func (*IDGeneratorModule) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*IDGeneratorModule) NextID

func (m *IDGeneratorModule) NextID(arg0 context.Context) (string, error)

NextID mocks base method

func (*IDGeneratorModule) NextValidID

func (m *IDGeneratorModule) NextValidID(arg0 context.Context) string

NextValidID mocks base method

type IDGeneratorModuleMockRecorder

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

IDGeneratorModuleMockRecorder is the mock recorder for IDGeneratorModule

func (*IDGeneratorModuleMockRecorder) NextID

func (mr *IDGeneratorModuleMockRecorder) NextID(arg0 interface{}) *gomock.Call

NextID indicates an expected call of NextID

func (*IDGeneratorModuleMockRecorder) NextValidID

func (mr *IDGeneratorModuleMockRecorder) NextValidID(arg0 interface{}) *gomock.Call

NextValidID indicates an expected call of NextValidID

type Logger

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

Logger is a mock of Logger interface

func NewLogger

func NewLogger(ctrl *gomock.Controller) *Logger

NewLogger creates a new mock instance

func (*Logger) EXPECT

func (m *Logger) EXPECT() *LoggerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Logger) Log

func (m *Logger) Log(arg0 ...interface{}) error

Log mocks base method

type LoggerMockRecorder

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

LoggerMockRecorder is the mock recorder for Logger

func (*LoggerMockRecorder) Log

func (mr *LoggerMockRecorder) Log(arg0 ...interface{}) *gomock.Call

Log indicates an expected call of Log

type Sentry

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

Sentry is a mock of Sentry interface

func NewSentry

func NewSentry(ctrl *gomock.Controller) *Sentry

NewSentry creates a new mock instance

func (*Sentry) CaptureError

func (m *Sentry) CaptureError(arg0 error, arg1 map[string]string, arg2 ...raven_go.Interface) string

CaptureError mocks base method

func (*Sentry) EXPECT

func (m *Sentry) EXPECT() *SentryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type SentryMockRecorder

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

SentryMockRecorder is the mock recorder for Sentry

func (*SentryMockRecorder) CaptureError

func (mr *SentryMockRecorder) CaptureError(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CaptureError indicates an expected call of CaptureError

type Span

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

Span is a mock of Span interface

func NewSpan

func NewSpan(ctrl *gomock.Controller) *Span

NewSpan creates a new mock instance

func (*Span) BaggageItem

func (m *Span) BaggageItem(arg0 string) string

BaggageItem mocks base method

func (*Span) Context

func (m *Span) Context() opentracing_go.SpanContext

Context mocks base method

func (*Span) EXPECT

func (m *Span) EXPECT() *SpanMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Span) Finish

func (m *Span) Finish()

Finish mocks base method

func (*Span) FinishWithOptions

func (m *Span) FinishWithOptions(arg0 opentracing_go.FinishOptions)

FinishWithOptions mocks base method

func (*Span) Log

func (m *Span) Log(arg0 opentracing_go.LogData)

Log mocks base method

func (*Span) LogEvent

func (m *Span) LogEvent(arg0 string)

LogEvent mocks base method

func (*Span) LogEventWithPayload

func (m *Span) LogEventWithPayload(arg0 string, arg1 interface{})

LogEventWithPayload mocks base method

func (*Span) LogFields

func (m *Span) LogFields(arg0 ...log.Field)

LogFields mocks base method

func (*Span) LogKV

func (m *Span) LogKV(arg0 ...interface{})

LogKV mocks base method

func (*Span) SetBaggageItem

func (m *Span) SetBaggageItem(arg0, arg1 string) opentracing_go.Span

SetBaggageItem mocks base method

func (*Span) SetOperationName

func (m *Span) SetOperationName(arg0 string) opentracing_go.Span

SetOperationName mocks base method

func (*Span) SetTag

func (m *Span) SetTag(arg0 string, arg1 interface{}) opentracing_go.Span

SetTag mocks base method

func (*Span) Tracer

func (m *Span) Tracer() opentracing_go.Tracer

Tracer mocks base method

type SpanContext

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

SpanContext is a mock of SpanContext interface

func NewSpanContext

func NewSpanContext(ctrl *gomock.Controller) *SpanContext

NewSpanContext creates a new mock instance

func (*SpanContext) EXPECT

func (m *SpanContext) EXPECT() *SpanContextMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*SpanContext) ForeachBaggageItem

func (m *SpanContext) ForeachBaggageItem(arg0 func(string, string) bool)

ForeachBaggageItem mocks base method

type SpanContextMockRecorder

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

SpanContextMockRecorder is the mock recorder for SpanContext

func (*SpanContextMockRecorder) ForeachBaggageItem

func (mr *SpanContextMockRecorder) ForeachBaggageItem(arg0 interface{}) *gomock.Call

ForeachBaggageItem indicates an expected call of ForeachBaggageItem

type SpanMockRecorder

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

SpanMockRecorder is the mock recorder for Span

func (*SpanMockRecorder) BaggageItem

func (mr *SpanMockRecorder) BaggageItem(arg0 interface{}) *gomock.Call

BaggageItem indicates an expected call of BaggageItem

func (*SpanMockRecorder) Context

func (mr *SpanMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*SpanMockRecorder) Finish

func (mr *SpanMockRecorder) Finish() *gomock.Call

Finish indicates an expected call of Finish

func (*SpanMockRecorder) FinishWithOptions

func (mr *SpanMockRecorder) FinishWithOptions(arg0 interface{}) *gomock.Call

FinishWithOptions indicates an expected call of FinishWithOptions

func (*SpanMockRecorder) Log

func (mr *SpanMockRecorder) Log(arg0 interface{}) *gomock.Call

Log indicates an expected call of Log

func (*SpanMockRecorder) LogEvent

func (mr *SpanMockRecorder) LogEvent(arg0 interface{}) *gomock.Call

LogEvent indicates an expected call of LogEvent

func (*SpanMockRecorder) LogEventWithPayload

func (mr *SpanMockRecorder) LogEventWithPayload(arg0, arg1 interface{}) *gomock.Call

LogEventWithPayload indicates an expected call of LogEventWithPayload

func (*SpanMockRecorder) LogFields

func (mr *SpanMockRecorder) LogFields(arg0 ...interface{}) *gomock.Call

LogFields indicates an expected call of LogFields

func (*SpanMockRecorder) LogKV

func (mr *SpanMockRecorder) LogKV(arg0 ...interface{}) *gomock.Call

LogKV indicates an expected call of LogKV

func (*SpanMockRecorder) SetBaggageItem

func (mr *SpanMockRecorder) SetBaggageItem(arg0, arg1 interface{}) *gomock.Call

SetBaggageItem indicates an expected call of SetBaggageItem

func (*SpanMockRecorder) SetOperationName

func (mr *SpanMockRecorder) SetOperationName(arg0 interface{}) *gomock.Call

SetOperationName indicates an expected call of SetOperationName

func (*SpanMockRecorder) SetTag

func (mr *SpanMockRecorder) SetTag(arg0, arg1 interface{}) *gomock.Call

SetTag indicates an expected call of SetTag

func (*SpanMockRecorder) Tracer

func (mr *SpanMockRecorder) Tracer() *gomock.Call

Tracer indicates an expected call of Tracer

type Tracer

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

Tracer is a mock of Tracer interface

func NewTracer

func NewTracer(ctrl *gomock.Controller) *Tracer

NewTracer creates a new mock instance

func (*Tracer) EXPECT

func (m *Tracer) EXPECT() *TracerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Tracer) Extract

func (m *Tracer) Extract(arg0, arg1 interface{}) (opentracing_go.SpanContext, error)

Extract mocks base method

func (*Tracer) Inject

func (m *Tracer) Inject(arg0 opentracing_go.SpanContext, arg1, arg2 interface{}) error

Inject mocks base method

func (*Tracer) StartSpan

func (m *Tracer) StartSpan(arg0 string, arg1 ...opentracing_go.StartSpanOption) opentracing_go.Span

StartSpan mocks base method

type TracerMockRecorder

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

TracerMockRecorder is the mock recorder for Tracer

func (*TracerMockRecorder) Extract

func (mr *TracerMockRecorder) Extract(arg0, arg1 interface{}) *gomock.Call

Extract indicates an expected call of Extract

func (*TracerMockRecorder) Inject

func (mr *TracerMockRecorder) Inject(arg0, arg1, arg2 interface{}) *gomock.Call

Inject indicates an expected call of Inject

func (*TracerMockRecorder) StartSpan

func (mr *TracerMockRecorder) StartSpan(arg0 interface{}, arg1 ...interface{}) *gomock.Call

StartSpan indicates an expected call of StartSpan

Jump to

Keyboard shortcuts

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