mockgoutils

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncQueue

type AsyncQueue[V any] struct {
	mock.Mock
}

AsyncQueue is an autogenerated mock type for the AsyncQueue type

func NewAsyncQueue

func NewAsyncQueue[V any](t interface {
	mock.TestingT
	Cleanup(func())
}) *AsyncQueue[V]

NewAsyncQueue creates a new instance of AsyncQueue. 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 (*AsyncQueue[V]) EXPECT

func (_m *AsyncQueue[V]) EXPECT() *AsyncQueue_Expecter[V]

func (*AsyncQueue[V]) Len

func (_mock *AsyncQueue[V]) Len() int

Len provides a mock function for the type AsyncQueue

func (*AsyncQueue[V]) Pop

func (_mock *AsyncQueue[V]) Pop(ctx context.Context, blocking bool, newDataSignalFlag chan bool) (V, error)

Pop provides a mock function for the type AsyncQueue

func (*AsyncQueue[V]) Push

func (_mock *AsyncQueue[V]) Push(ctx context.Context, data V) error

Push provides a mock function for the type AsyncQueue

type AsyncQueue_Expecter

type AsyncQueue_Expecter[V any] struct {
	// contains filtered or unexported fields
}

func (*AsyncQueue_Expecter[V]) Len

func (_e *AsyncQueue_Expecter[V]) Len() *AsyncQueue_Len_Call[V]

Len is a helper method to define mock.On call

func (*AsyncQueue_Expecter[V]) Pop

func (_e *AsyncQueue_Expecter[V]) Pop(ctx interface{}, blocking interface{}, newDataSignalFlag interface{}) *AsyncQueue_Pop_Call[V]

Pop is a helper method to define mock.On call

  • ctx context.Context
  • blocking bool
  • newDataSignalFlag chan bool

func (*AsyncQueue_Expecter[V]) Push

func (_e *AsyncQueue_Expecter[V]) Push(ctx interface{}, data interface{}) *AsyncQueue_Push_Call[V]

Push is a helper method to define mock.On call

  • ctx context.Context
  • data V

type AsyncQueue_Len_Call

type AsyncQueue_Len_Call[V any] struct {
	*mock.Call
}

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

func (*AsyncQueue_Len_Call[V]) Return

func (_c *AsyncQueue_Len_Call[V]) Return(n int) *AsyncQueue_Len_Call[V]

func (*AsyncQueue_Len_Call[V]) Run

func (_c *AsyncQueue_Len_Call[V]) Run(run func()) *AsyncQueue_Len_Call[V]

func (*AsyncQueue_Len_Call[V]) RunAndReturn

func (_c *AsyncQueue_Len_Call[V]) RunAndReturn(run func() int) *AsyncQueue_Len_Call[V]

type AsyncQueue_Pop_Call

type AsyncQueue_Pop_Call[V any] struct {
	*mock.Call
}

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

func (*AsyncQueue_Pop_Call[V]) Return

func (_c *AsyncQueue_Pop_Call[V]) Return(v V, err error) *AsyncQueue_Pop_Call[V]

func (*AsyncQueue_Pop_Call[V]) Run

func (_c *AsyncQueue_Pop_Call[V]) Run(run func(ctx context.Context, blocking bool, newDataSignalFlag chan bool)) *AsyncQueue_Pop_Call[V]

func (*AsyncQueue_Pop_Call[V]) RunAndReturn

func (_c *AsyncQueue_Pop_Call[V]) RunAndReturn(run func(ctx context.Context, blocking bool, newDataSignalFlag chan bool) (V, error)) *AsyncQueue_Pop_Call[V]

type AsyncQueue_Push_Call

type AsyncQueue_Push_Call[V any] struct {
	*mock.Call
}

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

func (*AsyncQueue_Push_Call[V]) Return

func (_c *AsyncQueue_Push_Call[V]) Return(err error) *AsyncQueue_Push_Call[V]

func (*AsyncQueue_Push_Call[V]) Run

func (_c *AsyncQueue_Push_Call[V]) Run(run func(ctx context.Context, data V)) *AsyncQueue_Push_Call[V]

func (*AsyncQueue_Push_Call[V]) RunAndReturn

func (_c *AsyncQueue_Push_Call[V]) RunAndReturn(run func(ctx context.Context, data V) error) *AsyncQueue_Push_Call[V]

type Condition

type Condition struct {
	mock.Mock
}

Condition is an autogenerated mock type for the Condition type

func NewCondition

func NewCondition(t interface {
	mock.TestingT
	Cleanup(func())
}) *Condition

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

func (_m *Condition) EXPECT() *Condition_Expecter

func (*Condition) NotifyAll

func (_mock *Condition) NotifyAll() error

NotifyAll provides a mock function for the type Condition

func (*Condition) NotifyOne

func (_mock *Condition) NotifyOne() error

NotifyOne provides a mock function for the type Condition

func (*Condition) Wait

func (_mock *Condition) Wait(ctx context.Context, wakeUp chan bool) error

Wait provides a mock function for the type Condition

type Condition_Expecter

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

func (*Condition_Expecter) NotifyAll

NotifyAll is a helper method to define mock.On call

func (*Condition_Expecter) NotifyOne

NotifyOne is a helper method to define mock.On call

func (*Condition_Expecter) Wait

func (_e *Condition_Expecter) Wait(ctx interface{}, wakeUp interface{}) *Condition_Wait_Call

Wait is a helper method to define mock.On call

  • ctx context.Context
  • wakeUp chan bool

type Condition_NotifyAll_Call

type Condition_NotifyAll_Call struct {
	*mock.Call
}

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

func (*Condition_NotifyAll_Call) Return

func (*Condition_NotifyAll_Call) Run

func (*Condition_NotifyAll_Call) RunAndReturn

func (_c *Condition_NotifyAll_Call) RunAndReturn(run func() error) *Condition_NotifyAll_Call

type Condition_NotifyOne_Call

type Condition_NotifyOne_Call struct {
	*mock.Call
}

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

func (*Condition_NotifyOne_Call) Return

func (*Condition_NotifyOne_Call) Run

func (*Condition_NotifyOne_Call) RunAndReturn

func (_c *Condition_NotifyOne_Call) RunAndReturn(run func() error) *Condition_NotifyOne_Call

type Condition_Wait_Call

type Condition_Wait_Call struct {
	*mock.Call
}

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

func (*Condition_Wait_Call) Return

func (*Condition_Wait_Call) Run

func (_c *Condition_Wait_Call) Run(run func(ctx context.Context, wakeUp chan bool)) *Condition_Wait_Call

func (*Condition_Wait_Call) RunAndReturn

func (_c *Condition_Wait_Call) RunAndReturn(run func(ctx context.Context, wakeUp chan bool) error) *Condition_Wait_Call

type HTTPRequestMetricHelper

type HTTPRequestMetricHelper struct {
	mock.Mock
}

HTTPRequestMetricHelper is an autogenerated mock type for the HTTPRequestMetricHelper type

func NewHTTPRequestMetricHelper

func NewHTTPRequestMetricHelper(t interface {
	mock.TestingT
	Cleanup(func())
}) *HTTPRequestMetricHelper

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

func (*HTTPRequestMetricHelper) RecordRequest

func (_mock *HTTPRequestMetricHelper) RecordRequest(method string, status int, latency time.Duration, respSize int64)

RecordRequest provides a mock function for the type HTTPRequestMetricHelper

type HTTPRequestMetricHelper_Expecter

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

func (*HTTPRequestMetricHelper_Expecter) RecordRequest

func (_e *HTTPRequestMetricHelper_Expecter) RecordRequest(method interface{}, status interface{}, latency interface{}, respSize interface{}) *HTTPRequestMetricHelper_RecordRequest_Call

RecordRequest is a helper method to define mock.On call

  • method string
  • status int
  • latency time.Duration
  • respSize int64

type HTTPRequestMetricHelper_RecordRequest_Call

type HTTPRequestMetricHelper_RecordRequest_Call struct {
	*mock.Call
}

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

func (*HTTPRequestMetricHelper_RecordRequest_Call) Return

func (*HTTPRequestMetricHelper_RecordRequest_Call) Run

func (*HTTPRequestMetricHelper_RecordRequest_Call) RunAndReturn

func (_c *HTTPRequestMetricHelper_RecordRequest_Call) RunAndReturn(run func(method string, status int, latency time.Duration, respSize int64)) *HTTPRequestMetricHelper_RecordRequest_Call

type IntervalTimer

type IntervalTimer struct {
	mock.Mock
}

IntervalTimer is an autogenerated mock type for the IntervalTimer type

func NewIntervalTimer

func NewIntervalTimer(t interface {
	mock.TestingT
	Cleanup(func())
}) *IntervalTimer

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

func (_m *IntervalTimer) EXPECT() *IntervalTimer_Expecter

func (*IntervalTimer) Start

func (_mock *IntervalTimer) Start(interval time.Duration, handler goutils.TimeoutHandler, oneShort bool) error

Start provides a mock function for the type IntervalTimer

func (*IntervalTimer) Stop

func (_mock *IntervalTimer) Stop() error

Stop provides a mock function for the type IntervalTimer

type IntervalTimer_Expecter

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

func (*IntervalTimer_Expecter) Start

func (_e *IntervalTimer_Expecter) Start(interval interface{}, handler interface{}, oneShort interface{}) *IntervalTimer_Start_Call

Start is a helper method to define mock.On call

  • interval time.Duration
  • handler goutils.TimeoutHandler
  • oneShort bool

func (*IntervalTimer_Expecter) Stop

Stop is a helper method to define mock.On call

type IntervalTimer_Start_Call

type IntervalTimer_Start_Call struct {
	*mock.Call
}

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

func (*IntervalTimer_Start_Call) Return

func (*IntervalTimer_Start_Call) Run

func (_c *IntervalTimer_Start_Call) Run(run func(interval time.Duration, handler goutils.TimeoutHandler, oneShort bool)) *IntervalTimer_Start_Call

func (*IntervalTimer_Start_Call) RunAndReturn

func (_c *IntervalTimer_Start_Call) RunAndReturn(run func(interval time.Duration, handler goutils.TimeoutHandler, oneShort bool) error) *IntervalTimer_Start_Call

type IntervalTimer_Stop_Call

type IntervalTimer_Stop_Call struct {
	*mock.Call
}

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

func (*IntervalTimer_Stop_Call) Return

func (*IntervalTimer_Stop_Call) Run

func (_c *IntervalTimer_Stop_Call) Run(run func()) *IntervalTimer_Stop_Call

func (*IntervalTimer_Stop_Call) RunAndReturn

func (_c *IntervalTimer_Stop_Call) RunAndReturn(run func() error) *IntervalTimer_Stop_Call

type MessageBus

type MessageBus struct {
	mock.Mock
}

MessageBus is an autogenerated mock type for the MessageBus type

func NewMessageBus

func NewMessageBus(t interface {
	mock.TestingT
	Cleanup(func())
}) *MessageBus

NewMessageBus creates a new instance of MessageBus. 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 (*MessageBus) CreateTopic

func (_mock *MessageBus) CreateTopic(ctxt context.Context, topicName string, topicLogTags log.Fields) (goutils.MessageTopic, error)

CreateTopic provides a mock function for the type MessageBus

func (*MessageBus) DeleteTopic

func (_mock *MessageBus) DeleteTopic(ctxt context.Context, topicName string) error

DeleteTopic provides a mock function for the type MessageBus

func (*MessageBus) EXPECT

func (_m *MessageBus) EXPECT() *MessageBus_Expecter

func (*MessageBus) GetTopic

func (_mock *MessageBus) GetTopic(ctxt context.Context, topicName string) (goutils.MessageTopic, error)

GetTopic provides a mock function for the type MessageBus

type MessageBus_CreateTopic_Call

type MessageBus_CreateTopic_Call struct {
	*mock.Call
}

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

func (*MessageBus_CreateTopic_Call) Return

func (*MessageBus_CreateTopic_Call) Run

func (_c *MessageBus_CreateTopic_Call) Run(run func(ctxt context.Context, topicName string, topicLogTags log.Fields)) *MessageBus_CreateTopic_Call

func (*MessageBus_CreateTopic_Call) RunAndReturn

func (_c *MessageBus_CreateTopic_Call) RunAndReturn(run func(ctxt context.Context, topicName string, topicLogTags log.Fields) (goutils.MessageTopic, error)) *MessageBus_CreateTopic_Call

type MessageBus_DeleteTopic_Call

type MessageBus_DeleteTopic_Call struct {
	*mock.Call
}

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

func (*MessageBus_DeleteTopic_Call) Return

func (*MessageBus_DeleteTopic_Call) Run

func (*MessageBus_DeleteTopic_Call) RunAndReturn

func (_c *MessageBus_DeleteTopic_Call) RunAndReturn(run func(ctxt context.Context, topicName string) error) *MessageBus_DeleteTopic_Call

type MessageBus_Expecter

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

func (*MessageBus_Expecter) CreateTopic

func (_e *MessageBus_Expecter) CreateTopic(ctxt interface{}, topicName interface{}, topicLogTags interface{}) *MessageBus_CreateTopic_Call

CreateTopic is a helper method to define mock.On call

  • ctxt context.Context
  • topicName string
  • topicLogTags log.Fields

func (*MessageBus_Expecter) DeleteTopic

func (_e *MessageBus_Expecter) DeleteTopic(ctxt interface{}, topicName interface{}) *MessageBus_DeleteTopic_Call

DeleteTopic is a helper method to define mock.On call

  • ctxt context.Context
  • topicName string

func (*MessageBus_Expecter) GetTopic

func (_e *MessageBus_Expecter) GetTopic(ctxt interface{}, topicName interface{}) *MessageBus_GetTopic_Call

GetTopic is a helper method to define mock.On call

  • ctxt context.Context
  • topicName string

type MessageBus_GetTopic_Call

type MessageBus_GetTopic_Call struct {
	*mock.Call
}

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

func (*MessageBus_GetTopic_Call) Return

func (*MessageBus_GetTopic_Call) Run

func (_c *MessageBus_GetTopic_Call) Run(run func(ctxt context.Context, topicName string)) *MessageBus_GetTopic_Call

func (*MessageBus_GetTopic_Call) RunAndReturn

func (_c *MessageBus_GetTopic_Call) RunAndReturn(run func(ctxt context.Context, topicName string) (goutils.MessageTopic, error)) *MessageBus_GetTopic_Call

type MessageTopic

type MessageTopic struct {
	mock.Mock
}

MessageTopic is an autogenerated mock type for the MessageTopic type

func NewMessageTopic

func NewMessageTopic(t interface {
	mock.TestingT
	Cleanup(func())
}) *MessageTopic

NewMessageTopic creates a new instance of MessageTopic. 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 (*MessageTopic) CreateSubscription

func (_mock *MessageTopic) CreateSubscription(ctxt context.Context, subscriber string, bufferLen int) (chan interface{}, error)

CreateSubscription provides a mock function for the type MessageTopic

func (*MessageTopic) DeleteSubscription

func (_mock *MessageTopic) DeleteSubscription(ctxt context.Context, subscriber string) error

DeleteSubscription provides a mock function for the type MessageTopic

func (*MessageTopic) EXPECT

func (_m *MessageTopic) EXPECT() *MessageTopic_Expecter

func (*MessageTopic) Publish

func (_mock *MessageTopic) Publish(ctxt context.Context, message interface{}, blockFor time.Duration) error

Publish provides a mock function for the type MessageTopic

type MessageTopic_CreateSubscription_Call

type MessageTopic_CreateSubscription_Call struct {
	*mock.Call
}

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

func (*MessageTopic_CreateSubscription_Call) Return

func (_c *MessageTopic_CreateSubscription_Call) Return(ifaceValCh chan interface{}, err error) *MessageTopic_CreateSubscription_Call

func (*MessageTopic_CreateSubscription_Call) Run

func (*MessageTopic_CreateSubscription_Call) RunAndReturn

func (_c *MessageTopic_CreateSubscription_Call) RunAndReturn(run func(ctxt context.Context, subscriber string, bufferLen int) (chan interface{}, error)) *MessageTopic_CreateSubscription_Call

type MessageTopic_DeleteSubscription_Call

type MessageTopic_DeleteSubscription_Call struct {
	*mock.Call
}

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

func (*MessageTopic_DeleteSubscription_Call) Return

func (*MessageTopic_DeleteSubscription_Call) Run

func (*MessageTopic_DeleteSubscription_Call) RunAndReturn

type MessageTopic_Expecter

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

func (*MessageTopic_Expecter) CreateSubscription

func (_e *MessageTopic_Expecter) CreateSubscription(ctxt interface{}, subscriber interface{}, bufferLen interface{}) *MessageTopic_CreateSubscription_Call

CreateSubscription is a helper method to define mock.On call

  • ctxt context.Context
  • subscriber string
  • bufferLen int

func (*MessageTopic_Expecter) DeleteSubscription

func (_e *MessageTopic_Expecter) DeleteSubscription(ctxt interface{}, subscriber interface{}) *MessageTopic_DeleteSubscription_Call

DeleteSubscription is a helper method to define mock.On call

  • ctxt context.Context
  • subscriber string

func (*MessageTopic_Expecter) Publish

func (_e *MessageTopic_Expecter) Publish(ctxt interface{}, message interface{}, blockFor interface{}) *MessageTopic_Publish_Call

Publish is a helper method to define mock.On call

  • ctxt context.Context
  • message interface{}
  • blockFor time.Duration

type MessageTopic_Publish_Call

type MessageTopic_Publish_Call struct {
	*mock.Call
}

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

func (*MessageTopic_Publish_Call) Return

func (*MessageTopic_Publish_Call) Run

func (_c *MessageTopic_Publish_Call) Run(run func(ctxt context.Context, message interface{}, blockFor time.Duration)) *MessageTopic_Publish_Call

func (*MessageTopic_Publish_Call) RunAndReturn

func (_c *MessageTopic_Publish_Call) RunAndReturn(run func(ctxt context.Context, message interface{}, blockFor time.Duration) error) *MessageTopic_Publish_Call

type MetricsCollector

type MetricsCollector struct {
	mock.Mock
}

MetricsCollector is an autogenerated mock type for the MetricsCollector type

func NewMetricsCollector

func NewMetricsCollector(t interface {
	mock.TestingT
	Cleanup(func())
}) *MetricsCollector

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

func (*MetricsCollector) ExposeCollectionEndpoint

func (_mock *MetricsCollector) ExposeCollectionEndpoint(router *mux.Router, metricsPath string, maxSupportedRequest int)

ExposeCollectionEndpoint provides a mock function for the type MetricsCollector

func (*MetricsCollector) InstallApplicationMetrics

func (_mock *MetricsCollector) InstallApplicationMetrics()

InstallApplicationMetrics provides a mock function for the type MetricsCollector

func (*MetricsCollector) InstallCustomCounterVecMetrics

func (_mock *MetricsCollector) InstallCustomCounterVecMetrics(ctxt context.Context, metricsName string, metricsHelpMessage string, metricsLabels []string) (*prometheus.CounterVec, error)

InstallCustomCounterVecMetrics provides a mock function for the type MetricsCollector

func (*MetricsCollector) InstallCustomGaugeVecMetrics

func (_mock *MetricsCollector) InstallCustomGaugeVecMetrics(ctxt context.Context, metricsName string, metricsHelpMessage string, metricsLabels []string) (*prometheus.GaugeVec, error)

InstallCustomGaugeVecMetrics provides a mock function for the type MetricsCollector

func (*MetricsCollector) InstallHTTPMetrics

func (_mock *MetricsCollector) InstallHTTPMetrics() goutils.HTTPRequestMetricHelper

InstallHTTPMetrics provides a mock function for the type MetricsCollector

func (*MetricsCollector) InstallPubSubMetrics

func (_mock *MetricsCollector) InstallPubSubMetrics() goutils.PubSubMetricHelper

InstallPubSubMetrics provides a mock function for the type MetricsCollector

func (*MetricsCollector) InstallTaskProcessorMetrics

func (_mock *MetricsCollector) InstallTaskProcessorMetrics() goutils.TaskProcessorMetricHelper

InstallTaskProcessorMetrics provides a mock function for the type MetricsCollector

type MetricsCollector_Expecter

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

func (*MetricsCollector_Expecter) ExposeCollectionEndpoint

func (_e *MetricsCollector_Expecter) ExposeCollectionEndpoint(router interface{}, metricsPath interface{}, maxSupportedRequest interface{}) *MetricsCollector_ExposeCollectionEndpoint_Call

ExposeCollectionEndpoint is a helper method to define mock.On call

  • router *mux.Router
  • metricsPath string
  • maxSupportedRequest int

func (*MetricsCollector_Expecter) InstallApplicationMetrics

InstallApplicationMetrics is a helper method to define mock.On call

func (*MetricsCollector_Expecter) InstallCustomCounterVecMetrics

func (_e *MetricsCollector_Expecter) InstallCustomCounterVecMetrics(ctxt interface{}, metricsName interface{}, metricsHelpMessage interface{}, metricsLabels interface{}) *MetricsCollector_InstallCustomCounterVecMetrics_Call

InstallCustomCounterVecMetrics is a helper method to define mock.On call

  • ctxt context.Context
  • metricsName string
  • metricsHelpMessage string
  • metricsLabels []string

func (*MetricsCollector_Expecter) InstallCustomGaugeVecMetrics

func (_e *MetricsCollector_Expecter) InstallCustomGaugeVecMetrics(ctxt interface{}, metricsName interface{}, metricsHelpMessage interface{}, metricsLabels interface{}) *MetricsCollector_InstallCustomGaugeVecMetrics_Call

InstallCustomGaugeVecMetrics is a helper method to define mock.On call

  • ctxt context.Context
  • metricsName string
  • metricsHelpMessage string
  • metricsLabels []string

func (*MetricsCollector_Expecter) InstallHTTPMetrics

InstallHTTPMetrics is a helper method to define mock.On call

func (*MetricsCollector_Expecter) InstallPubSubMetrics

InstallPubSubMetrics is a helper method to define mock.On call

func (*MetricsCollector_Expecter) InstallTaskProcessorMetrics

InstallTaskProcessorMetrics is a helper method to define mock.On call

type MetricsCollector_ExposeCollectionEndpoint_Call

type MetricsCollector_ExposeCollectionEndpoint_Call struct {
	*mock.Call
}

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

func (*MetricsCollector_ExposeCollectionEndpoint_Call) Return

func (*MetricsCollector_ExposeCollectionEndpoint_Call) Run

func (_c *MetricsCollector_ExposeCollectionEndpoint_Call) Run(run func(router *mux.Router, metricsPath string, maxSupportedRequest int)) *MetricsCollector_ExposeCollectionEndpoint_Call

func (*MetricsCollector_ExposeCollectionEndpoint_Call) RunAndReturn

func (_c *MetricsCollector_ExposeCollectionEndpoint_Call) RunAndReturn(run func(router *mux.Router, metricsPath string, maxSupportedRequest int)) *MetricsCollector_ExposeCollectionEndpoint_Call

type MetricsCollector_InstallApplicationMetrics_Call

type MetricsCollector_InstallApplicationMetrics_Call struct {
	*mock.Call
}

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

func (*MetricsCollector_InstallApplicationMetrics_Call) Return

func (*MetricsCollector_InstallApplicationMetrics_Call) Run

func (*MetricsCollector_InstallApplicationMetrics_Call) RunAndReturn

type MetricsCollector_InstallCustomCounterVecMetrics_Call

type MetricsCollector_InstallCustomCounterVecMetrics_Call struct {
	*mock.Call
}

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

func (*MetricsCollector_InstallCustomCounterVecMetrics_Call) Return

func (*MetricsCollector_InstallCustomCounterVecMetrics_Call) Run

func (*MetricsCollector_InstallCustomCounterVecMetrics_Call) RunAndReturn

type MetricsCollector_InstallCustomGaugeVecMetrics_Call

type MetricsCollector_InstallCustomGaugeVecMetrics_Call struct {
	*mock.Call
}

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

func (*MetricsCollector_InstallCustomGaugeVecMetrics_Call) Return

func (*MetricsCollector_InstallCustomGaugeVecMetrics_Call) Run

func (_c *MetricsCollector_InstallCustomGaugeVecMetrics_Call) Run(run func(ctxt context.Context, metricsName string, metricsHelpMessage string, metricsLabels []string)) *MetricsCollector_InstallCustomGaugeVecMetrics_Call

func (*MetricsCollector_InstallCustomGaugeVecMetrics_Call) RunAndReturn

func (_c *MetricsCollector_InstallCustomGaugeVecMetrics_Call) RunAndReturn(run func(ctxt context.Context, metricsName string, metricsHelpMessage string, metricsLabels []string) (*prometheus.GaugeVec, error)) *MetricsCollector_InstallCustomGaugeVecMetrics_Call

type MetricsCollector_InstallHTTPMetrics_Call

type MetricsCollector_InstallHTTPMetrics_Call struct {
	*mock.Call
}

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

func (*MetricsCollector_InstallHTTPMetrics_Call) Return

func (*MetricsCollector_InstallHTTPMetrics_Call) Run

func (*MetricsCollector_InstallHTTPMetrics_Call) RunAndReturn

type MetricsCollector_InstallPubSubMetrics_Call

type MetricsCollector_InstallPubSubMetrics_Call struct {
	*mock.Call
}

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

func (*MetricsCollector_InstallPubSubMetrics_Call) Return

func (*MetricsCollector_InstallPubSubMetrics_Call) Run

func (*MetricsCollector_InstallPubSubMetrics_Call) RunAndReturn

type MetricsCollector_InstallTaskProcessorMetrics_Call

type MetricsCollector_InstallTaskProcessorMetrics_Call struct {
	*mock.Call
}

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

func (*MetricsCollector_InstallTaskProcessorMetrics_Call) Return

func (*MetricsCollector_InstallTaskProcessorMetrics_Call) Run

func (*MetricsCollector_InstallTaskProcessorMetrics_Call) RunAndReturn

type OAuthTokenManager

type OAuthTokenManager struct {
	mock.Mock
}

OAuthTokenManager is an autogenerated mock type for the OAuthTokenManager type

func NewOAuthTokenManager

func NewOAuthTokenManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *OAuthTokenManager

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

func (*OAuthTokenManager) GetToken

func (_mock *OAuthTokenManager) GetToken(ctxt context.Context, timestamp time.Time) (string, error)

GetToken provides a mock function for the type OAuthTokenManager

func (*OAuthTokenManager) Stop

func (_mock *OAuthTokenManager) Stop(ctxt context.Context) error

Stop provides a mock function for the type OAuthTokenManager

type OAuthTokenManager_Expecter

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

func (*OAuthTokenManager_Expecter) GetToken

func (_e *OAuthTokenManager_Expecter) GetToken(ctxt interface{}, timestamp interface{}) *OAuthTokenManager_GetToken_Call

GetToken is a helper method to define mock.On call

  • ctxt context.Context
  • timestamp time.Time

func (*OAuthTokenManager_Expecter) Stop

func (_e *OAuthTokenManager_Expecter) Stop(ctxt interface{}) *OAuthTokenManager_Stop_Call

Stop is a helper method to define mock.On call

  • ctxt context.Context

type OAuthTokenManager_GetToken_Call

type OAuthTokenManager_GetToken_Call struct {
	*mock.Call
}

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

func (*OAuthTokenManager_GetToken_Call) Return

func (*OAuthTokenManager_GetToken_Call) Run

func (*OAuthTokenManager_GetToken_Call) RunAndReturn

func (_c *OAuthTokenManager_GetToken_Call) RunAndReturn(run func(ctxt context.Context, timestamp time.Time) (string, error)) *OAuthTokenManager_GetToken_Call

type OAuthTokenManager_Stop_Call

type OAuthTokenManager_Stop_Call struct {
	*mock.Call
}

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

func (*OAuthTokenManager_Stop_Call) Return

func (*OAuthTokenManager_Stop_Call) Run

func (*OAuthTokenManager_Stop_Call) RunAndReturn

type OpenIDProviderClient

type OpenIDProviderClient struct {
	mock.Mock
}

OpenIDProviderClient is an autogenerated mock type for the OpenIDProviderClient type

func NewOpenIDProviderClient

func NewOpenIDProviderClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *OpenIDProviderClient

NewOpenIDProviderClient creates a new instance of OpenIDProviderClient. 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 (*OpenIDProviderClient) AssociatedPublicKey

func (_mock *OpenIDProviderClient) AssociatedPublicKey(token *jwt.Token) (interface{}, error)

AssociatedPublicKey provides a mock function for the type OpenIDProviderClient

func (*OpenIDProviderClient) CanIntrospect

func (_mock *OpenIDProviderClient) CanIntrospect() bool

CanIntrospect provides a mock function for the type OpenIDProviderClient

func (*OpenIDProviderClient) EXPECT

func (*OpenIDProviderClient) IntrospectToken

func (_mock *OpenIDProviderClient) IntrospectToken(ctxt context.Context, token string) (bool, error)

IntrospectToken provides a mock function for the type OpenIDProviderClient

func (*OpenIDProviderClient) ParseJWT

func (_mock *OpenIDProviderClient) ParseJWT(raw string, claimStore jwt.Claims) (*jwt.Token, error)

ParseJWT provides a mock function for the type OpenIDProviderClient

type OpenIDProviderClient_AssociatedPublicKey_Call

type OpenIDProviderClient_AssociatedPublicKey_Call struct {
	*mock.Call
}

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

func (*OpenIDProviderClient_AssociatedPublicKey_Call) Return

func (*OpenIDProviderClient_AssociatedPublicKey_Call) Run

func (*OpenIDProviderClient_AssociatedPublicKey_Call) RunAndReturn

type OpenIDProviderClient_CanIntrospect_Call

type OpenIDProviderClient_CanIntrospect_Call struct {
	*mock.Call
}

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

func (*OpenIDProviderClient_CanIntrospect_Call) Return

func (*OpenIDProviderClient_CanIntrospect_Call) Run

func (*OpenIDProviderClient_CanIntrospect_Call) RunAndReturn

type OpenIDProviderClient_Expecter

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

func (*OpenIDProviderClient_Expecter) AssociatedPublicKey

func (_e *OpenIDProviderClient_Expecter) AssociatedPublicKey(token interface{}) *OpenIDProviderClient_AssociatedPublicKey_Call

AssociatedPublicKey is a helper method to define mock.On call

  • token *jwt.Token

func (*OpenIDProviderClient_Expecter) CanIntrospect

CanIntrospect is a helper method to define mock.On call

func (*OpenIDProviderClient_Expecter) IntrospectToken

func (_e *OpenIDProviderClient_Expecter) IntrospectToken(ctxt interface{}, token interface{}) *OpenIDProviderClient_IntrospectToken_Call

IntrospectToken is a helper method to define mock.On call

  • ctxt context.Context
  • token string

func (*OpenIDProviderClient_Expecter) ParseJWT

func (_e *OpenIDProviderClient_Expecter) ParseJWT(raw interface{}, claimStore interface{}) *OpenIDProviderClient_ParseJWT_Call

ParseJWT is a helper method to define mock.On call

  • raw string
  • claimStore jwt.Claims

type OpenIDProviderClient_IntrospectToken_Call

type OpenIDProviderClient_IntrospectToken_Call struct {
	*mock.Call
}

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

func (*OpenIDProviderClient_IntrospectToken_Call) Return

func (*OpenIDProviderClient_IntrospectToken_Call) Run

func (*OpenIDProviderClient_IntrospectToken_Call) RunAndReturn

type OpenIDProviderClient_ParseJWT_Call

type OpenIDProviderClient_ParseJWT_Call struct {
	*mock.Call
}

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

func (*OpenIDProviderClient_ParseJWT_Call) Return

func (*OpenIDProviderClient_ParseJWT_Call) Run

func (*OpenIDProviderClient_ParseJWT_Call) RunAndReturn

func (_c *OpenIDProviderClient_ParseJWT_Call) RunAndReturn(run func(raw string, claimStore jwt.Claims) (*jwt.Token, error)) *OpenIDProviderClient_ParseJWT_Call

type PriorityQueueEntry

type PriorityQueueEntry struct {
	mock.Mock
}

PriorityQueueEntry is an autogenerated mock type for the PriorityQueueEntry type

func NewPriorityQueueEntry

func NewPriorityQueueEntry(t interface {
	mock.TestingT
	Cleanup(func())
}) *PriorityQueueEntry

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

func (*PriorityQueueEntry) HigherPriorityThan

func (_mock *PriorityQueueEntry) HigherPriorityThan(right goutils.PriorityQueueEntry) bool

HigherPriorityThan provides a mock function for the type PriorityQueueEntry

type PriorityQueueEntry_Expecter

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

func (*PriorityQueueEntry_Expecter) HigherPriorityThan

func (_e *PriorityQueueEntry_Expecter) HigherPriorityThan(right interface{}) *PriorityQueueEntry_HigherPriorityThan_Call

HigherPriorityThan is a helper method to define mock.On call

  • right goutils.PriorityQueueEntry

type PriorityQueueEntry_HigherPriorityThan_Call

type PriorityQueueEntry_HigherPriorityThan_Call struct {
	*mock.Call
}

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

func (*PriorityQueueEntry_HigherPriorityThan_Call) Return

func (*PriorityQueueEntry_HigherPriorityThan_Call) Run

func (*PriorityQueueEntry_HigherPriorityThan_Call) RunAndReturn

type PubSubClient

type PubSubClient struct {
	mock.Mock
}

PubSubClient is an autogenerated mock type for the PubSubClient type

func NewPubSubClient

func NewPubSubClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *PubSubClient

NewPubSubClient creates a new instance of PubSubClient. 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 (*PubSubClient) Close

func (_mock *PubSubClient) Close(ctxt context.Context) error

Close provides a mock function for the type PubSubClient

func (*PubSubClient) CreateSubscription

func (_mock *PubSubClient) CreateSubscription(ctxt context.Context, targetTopic string, subscription string, config pubsub.SubscriptionConfig) error

CreateSubscription provides a mock function for the type PubSubClient

func (*PubSubClient) CreateTopic

func (_mock *PubSubClient) CreateTopic(ctxt context.Context, topic string, config *pubsub.TopicConfig) error

CreateTopic provides a mock function for the type PubSubClient

func (*PubSubClient) DeleteSubscription

func (_mock *PubSubClient) DeleteSubscription(ctxt context.Context, subscription string) error

DeleteSubscription provides a mock function for the type PubSubClient

func (*PubSubClient) DeleteTopic

func (_mock *PubSubClient) DeleteTopic(ctxt context.Context, topic string) error

DeleteTopic provides a mock function for the type PubSubClient

func (*PubSubClient) EXPECT

func (_m *PubSubClient) EXPECT() *PubSubClient_Expecter

func (*PubSubClient) GetSubscription

func (_mock *PubSubClient) GetSubscription(ctxt context.Context, subscription string) (pubsub.SubscriptionConfig, error)

GetSubscription provides a mock function for the type PubSubClient

func (*PubSubClient) GetTopic

func (_mock *PubSubClient) GetTopic(ctxt context.Context, topic string) (pubsub.TopicConfig, error)

GetTopic provides a mock function for the type PubSubClient

func (*PubSubClient) Publish

func (_mock *PubSubClient) Publish(ctxt context.Context, topic string, message []byte, metadata map[string]string, blocking bool) (*pubsub.PublishResult, error)

Publish provides a mock function for the type PubSubClient

func (*PubSubClient) Subscribe

func (_mock *PubSubClient) Subscribe(ctxt context.Context, subscription string, handler goutils.PubSubMessageHandler) error

Subscribe provides a mock function for the type PubSubClient

func (*PubSubClient) UpdateLocalSubscriptionCache

func (_mock *PubSubClient) UpdateLocalSubscriptionCache(ctxt context.Context) error

UpdateLocalSubscriptionCache provides a mock function for the type PubSubClient

func (*PubSubClient) UpdateLocalTopicCache

func (_mock *PubSubClient) UpdateLocalTopicCache(ctxt context.Context) error

UpdateLocalTopicCache provides a mock function for the type PubSubClient

func (*PubSubClient) UpdateSubscription

func (_mock *PubSubClient) UpdateSubscription(ctxt context.Context, subscription string, newConfig pubsub.SubscriptionConfigToUpdate) error

UpdateSubscription provides a mock function for the type PubSubClient

func (*PubSubClient) UpdateTopic

func (_mock *PubSubClient) UpdateTopic(ctxt context.Context, topic string, newConfig pubsub.TopicConfigToUpdate) error

UpdateTopic provides a mock function for the type PubSubClient

type PubSubClient_Close_Call

type PubSubClient_Close_Call struct {
	*mock.Call
}

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

func (*PubSubClient_Close_Call) Return

func (*PubSubClient_Close_Call) Run

func (*PubSubClient_Close_Call) RunAndReturn

func (_c *PubSubClient_Close_Call) RunAndReturn(run func(ctxt context.Context) error) *PubSubClient_Close_Call

type PubSubClient_CreateSubscription_Call

type PubSubClient_CreateSubscription_Call struct {
	*mock.Call
}

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

func (*PubSubClient_CreateSubscription_Call) Return

func (*PubSubClient_CreateSubscription_Call) Run

func (*PubSubClient_CreateSubscription_Call) RunAndReturn

func (_c *PubSubClient_CreateSubscription_Call) RunAndReturn(run func(ctxt context.Context, targetTopic string, subscription string, config pubsub.SubscriptionConfig) error) *PubSubClient_CreateSubscription_Call

type PubSubClient_CreateTopic_Call

type PubSubClient_CreateTopic_Call struct {
	*mock.Call
}

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

func (*PubSubClient_CreateTopic_Call) Return

func (*PubSubClient_CreateTopic_Call) Run

func (*PubSubClient_CreateTopic_Call) RunAndReturn

type PubSubClient_DeleteSubscription_Call

type PubSubClient_DeleteSubscription_Call struct {
	*mock.Call
}

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

func (*PubSubClient_DeleteSubscription_Call) Return

func (*PubSubClient_DeleteSubscription_Call) Run

func (*PubSubClient_DeleteSubscription_Call) RunAndReturn

type PubSubClient_DeleteTopic_Call

type PubSubClient_DeleteTopic_Call struct {
	*mock.Call
}

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

func (*PubSubClient_DeleteTopic_Call) Return

func (*PubSubClient_DeleteTopic_Call) Run

func (*PubSubClient_DeleteTopic_Call) RunAndReturn

type PubSubClient_Expecter

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

func (*PubSubClient_Expecter) Close

func (_e *PubSubClient_Expecter) Close(ctxt interface{}) *PubSubClient_Close_Call

Close is a helper method to define mock.On call

  • ctxt context.Context

func (*PubSubClient_Expecter) CreateSubscription

func (_e *PubSubClient_Expecter) CreateSubscription(ctxt interface{}, targetTopic interface{}, subscription interface{}, config interface{}) *PubSubClient_CreateSubscription_Call

CreateSubscription is a helper method to define mock.On call

  • ctxt context.Context
  • targetTopic string
  • subscription string
  • config pubsub.SubscriptionConfig

func (*PubSubClient_Expecter) CreateTopic

func (_e *PubSubClient_Expecter) CreateTopic(ctxt interface{}, topic interface{}, config interface{}) *PubSubClient_CreateTopic_Call

CreateTopic is a helper method to define mock.On call

  • ctxt context.Context
  • topic string
  • config *pubsub.TopicConfig

func (*PubSubClient_Expecter) DeleteSubscription

func (_e *PubSubClient_Expecter) DeleteSubscription(ctxt interface{}, subscription interface{}) *PubSubClient_DeleteSubscription_Call

DeleteSubscription is a helper method to define mock.On call

  • ctxt context.Context
  • subscription string

func (*PubSubClient_Expecter) DeleteTopic

func (_e *PubSubClient_Expecter) DeleteTopic(ctxt interface{}, topic interface{}) *PubSubClient_DeleteTopic_Call

DeleteTopic is a helper method to define mock.On call

  • ctxt context.Context
  • topic string

func (*PubSubClient_Expecter) GetSubscription

func (_e *PubSubClient_Expecter) GetSubscription(ctxt interface{}, subscription interface{}) *PubSubClient_GetSubscription_Call

GetSubscription is a helper method to define mock.On call

  • ctxt context.Context
  • subscription string

func (*PubSubClient_Expecter) GetTopic

func (_e *PubSubClient_Expecter) GetTopic(ctxt interface{}, topic interface{}) *PubSubClient_GetTopic_Call

GetTopic is a helper method to define mock.On call

  • ctxt context.Context
  • topic string

func (*PubSubClient_Expecter) Publish

func (_e *PubSubClient_Expecter) Publish(ctxt interface{}, topic interface{}, message interface{}, metadata interface{}, blocking interface{}) *PubSubClient_Publish_Call

Publish is a helper method to define mock.On call

  • ctxt context.Context
  • topic string
  • message []byte
  • metadata map[string]string
  • blocking bool

func (*PubSubClient_Expecter) Subscribe

func (_e *PubSubClient_Expecter) Subscribe(ctxt interface{}, subscription interface{}, handler interface{}) *PubSubClient_Subscribe_Call

Subscribe is a helper method to define mock.On call

  • ctxt context.Context
  • subscription string
  • handler goutils.PubSubMessageHandler

func (*PubSubClient_Expecter) UpdateLocalSubscriptionCache

func (_e *PubSubClient_Expecter) UpdateLocalSubscriptionCache(ctxt interface{}) *PubSubClient_UpdateLocalSubscriptionCache_Call

UpdateLocalSubscriptionCache is a helper method to define mock.On call

  • ctxt context.Context

func (*PubSubClient_Expecter) UpdateLocalTopicCache

func (_e *PubSubClient_Expecter) UpdateLocalTopicCache(ctxt interface{}) *PubSubClient_UpdateLocalTopicCache_Call

UpdateLocalTopicCache is a helper method to define mock.On call

  • ctxt context.Context

func (*PubSubClient_Expecter) UpdateSubscription

func (_e *PubSubClient_Expecter) UpdateSubscription(ctxt interface{}, subscription interface{}, newConfig interface{}) *PubSubClient_UpdateSubscription_Call

UpdateSubscription is a helper method to define mock.On call

  • ctxt context.Context
  • subscription string
  • newConfig pubsub.SubscriptionConfigToUpdate

func (*PubSubClient_Expecter) UpdateTopic

func (_e *PubSubClient_Expecter) UpdateTopic(ctxt interface{}, topic interface{}, newConfig interface{}) *PubSubClient_UpdateTopic_Call

UpdateTopic is a helper method to define mock.On call

  • ctxt context.Context
  • topic string
  • newConfig pubsub.TopicConfigToUpdate

type PubSubClient_GetSubscription_Call

type PubSubClient_GetSubscription_Call struct {
	*mock.Call
}

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

func (*PubSubClient_GetSubscription_Call) Return

func (*PubSubClient_GetSubscription_Call) Run

func (*PubSubClient_GetSubscription_Call) RunAndReturn

type PubSubClient_GetTopic_Call

type PubSubClient_GetTopic_Call struct {
	*mock.Call
}

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

func (*PubSubClient_GetTopic_Call) Return

func (*PubSubClient_GetTopic_Call) Run

func (*PubSubClient_GetTopic_Call) RunAndReturn

type PubSubClient_Publish_Call

type PubSubClient_Publish_Call struct {
	*mock.Call
}

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

func (*PubSubClient_Publish_Call) Return

func (*PubSubClient_Publish_Call) Run

func (_c *PubSubClient_Publish_Call) Run(run func(ctxt context.Context, topic string, message []byte, metadata map[string]string, blocking bool)) *PubSubClient_Publish_Call

func (*PubSubClient_Publish_Call) RunAndReturn

func (_c *PubSubClient_Publish_Call) RunAndReturn(run func(ctxt context.Context, topic string, message []byte, metadata map[string]string, blocking bool) (*pubsub.PublishResult, error)) *PubSubClient_Publish_Call

type PubSubClient_Subscribe_Call

type PubSubClient_Subscribe_Call struct {
	*mock.Call
}

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

func (*PubSubClient_Subscribe_Call) Return

func (*PubSubClient_Subscribe_Call) Run

func (*PubSubClient_Subscribe_Call) RunAndReturn

func (_c *PubSubClient_Subscribe_Call) RunAndReturn(run func(ctxt context.Context, subscription string, handler goutils.PubSubMessageHandler) error) *PubSubClient_Subscribe_Call

type PubSubClient_UpdateLocalSubscriptionCache_Call

type PubSubClient_UpdateLocalSubscriptionCache_Call struct {
	*mock.Call
}

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

func (*PubSubClient_UpdateLocalSubscriptionCache_Call) Return

func (*PubSubClient_UpdateLocalSubscriptionCache_Call) Run

func (*PubSubClient_UpdateLocalSubscriptionCache_Call) RunAndReturn

type PubSubClient_UpdateLocalTopicCache_Call

type PubSubClient_UpdateLocalTopicCache_Call struct {
	*mock.Call
}

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

func (*PubSubClient_UpdateLocalTopicCache_Call) Return

func (*PubSubClient_UpdateLocalTopicCache_Call) Run

func (*PubSubClient_UpdateLocalTopicCache_Call) RunAndReturn

type PubSubClient_UpdateSubscription_Call

type PubSubClient_UpdateSubscription_Call struct {
	*mock.Call
}

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

func (*PubSubClient_UpdateSubscription_Call) Return

func (*PubSubClient_UpdateSubscription_Call) Run

func (*PubSubClient_UpdateSubscription_Call) RunAndReturn

type PubSubClient_UpdateTopic_Call

type PubSubClient_UpdateTopic_Call struct {
	*mock.Call
}

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

func (*PubSubClient_UpdateTopic_Call) Return

func (*PubSubClient_UpdateTopic_Call) Run

func (*PubSubClient_UpdateTopic_Call) RunAndReturn

type PubSubMetricHelper

type PubSubMetricHelper struct {
	mock.Mock
}

PubSubMetricHelper is an autogenerated mock type for the PubSubMetricHelper type

func NewPubSubMetricHelper

func NewPubSubMetricHelper(t interface {
	mock.TestingT
	Cleanup(func())
}) *PubSubMetricHelper

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

func (*PubSubMetricHelper) RecordPublish

func (_mock *PubSubMetricHelper) RecordPublish(topic string, successful bool, payloadLen int64)

RecordPublish provides a mock function for the type PubSubMetricHelper

func (*PubSubMetricHelper) RecordReceive

func (_mock *PubSubMetricHelper) RecordReceive(topic string, successful bool, payloadLen int64)

RecordReceive provides a mock function for the type PubSubMetricHelper

type PubSubMetricHelper_Expecter

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

func (*PubSubMetricHelper_Expecter) RecordPublish

func (_e *PubSubMetricHelper_Expecter) RecordPublish(topic interface{}, successful interface{}, payloadLen interface{}) *PubSubMetricHelper_RecordPublish_Call

RecordPublish is a helper method to define mock.On call

  • topic string
  • successful bool
  • payloadLen int64

func (*PubSubMetricHelper_Expecter) RecordReceive

func (_e *PubSubMetricHelper_Expecter) RecordReceive(topic interface{}, successful interface{}, payloadLen interface{}) *PubSubMetricHelper_RecordReceive_Call

RecordReceive is a helper method to define mock.On call

  • topic string
  • successful bool
  • payloadLen int64

type PubSubMetricHelper_RecordPublish_Call

type PubSubMetricHelper_RecordPublish_Call struct {
	*mock.Call
}

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

func (*PubSubMetricHelper_RecordPublish_Call) Return

func (*PubSubMetricHelper_RecordPublish_Call) Run

func (_c *PubSubMetricHelper_RecordPublish_Call) Run(run func(topic string, successful bool, payloadLen int64)) *PubSubMetricHelper_RecordPublish_Call

func (*PubSubMetricHelper_RecordPublish_Call) RunAndReturn

func (_c *PubSubMetricHelper_RecordPublish_Call) RunAndReturn(run func(topic string, successful bool, payloadLen int64)) *PubSubMetricHelper_RecordPublish_Call

type PubSubMetricHelper_RecordReceive_Call

type PubSubMetricHelper_RecordReceive_Call struct {
	*mock.Call
}

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

func (*PubSubMetricHelper_RecordReceive_Call) Return

func (*PubSubMetricHelper_RecordReceive_Call) Run

func (_c *PubSubMetricHelper_RecordReceive_Call) Run(run func(topic string, successful bool, payloadLen int64)) *PubSubMetricHelper_RecordReceive_Call

func (*PubSubMetricHelper_RecordReceive_Call) RunAndReturn

func (_c *PubSubMetricHelper_RecordReceive_Call) RunAndReturn(run func(topic string, successful bool, payloadLen int64)) *PubSubMetricHelper_RecordReceive_Call

type Queue

type Queue[V any] struct {
	mock.Mock
}

Queue is an autogenerated mock type for the Queue type

func NewQueue

func NewQueue[V any](t interface {
	mock.TestingT
	Cleanup(func())
}) *Queue[V]

NewQueue creates a new instance of Queue. 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 (*Queue[V]) EXPECT

func (_m *Queue[V]) EXPECT() *Queue_Expecter[V]

func (*Queue[V]) Len

func (_mock *Queue[V]) Len() int

Len provides a mock function for the type Queue

func (*Queue[V]) Pop

func (_mock *Queue[V]) Pop() (V, error)

Pop provides a mock function for the type Queue

func (*Queue[V]) Push

func (_mock *Queue[V]) Push(data V) error

Push provides a mock function for the type Queue

type Queue_Expecter

type Queue_Expecter[V any] struct {
	// contains filtered or unexported fields
}

func (*Queue_Expecter[V]) Len

func (_e *Queue_Expecter[V]) Len() *Queue_Len_Call[V]

Len is a helper method to define mock.On call

func (*Queue_Expecter[V]) Pop

func (_e *Queue_Expecter[V]) Pop() *Queue_Pop_Call[V]

Pop is a helper method to define mock.On call

func (*Queue_Expecter[V]) Push

func (_e *Queue_Expecter[V]) Push(data interface{}) *Queue_Push_Call[V]

Push is a helper method to define mock.On call

  • data V

type Queue_Len_Call

type Queue_Len_Call[V any] struct {
	*mock.Call
}

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

func (*Queue_Len_Call[V]) Return

func (_c *Queue_Len_Call[V]) Return(n int) *Queue_Len_Call[V]

func (*Queue_Len_Call[V]) Run

func (_c *Queue_Len_Call[V]) Run(run func()) *Queue_Len_Call[V]

func (*Queue_Len_Call[V]) RunAndReturn

func (_c *Queue_Len_Call[V]) RunAndReturn(run func() int) *Queue_Len_Call[V]

type Queue_Pop_Call

type Queue_Pop_Call[V any] struct {
	*mock.Call
}

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

func (*Queue_Pop_Call[V]) Return

func (_c *Queue_Pop_Call[V]) Return(v V, err error) *Queue_Pop_Call[V]

func (*Queue_Pop_Call[V]) Run

func (_c *Queue_Pop_Call[V]) Run(run func()) *Queue_Pop_Call[V]

func (*Queue_Pop_Call[V]) RunAndReturn

func (_c *Queue_Pop_Call[V]) RunAndReturn(run func() (V, error)) *Queue_Pop_Call[V]

type Queue_Push_Call

type Queue_Push_Call[V any] struct {
	*mock.Call
}

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

func (*Queue_Push_Call[V]) Return

func (_c *Queue_Push_Call[V]) Return(err error) *Queue_Push_Call[V]

func (*Queue_Push_Call[V]) Run

func (_c *Queue_Push_Call[V]) Run(run func(data V)) *Queue_Push_Call[V]

func (*Queue_Push_Call[V]) RunAndReturn

func (_c *Queue_Push_Call[V]) RunAndReturn(run func(data V) error) *Queue_Push_Call[V]

type RequestResponseClient

type RequestResponseClient struct {
	mock.Mock
}

RequestResponseClient is an autogenerated mock type for the RequestResponseClient type

func NewRequestResponseClient

func NewRequestResponseClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequestResponseClient

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

func (*RequestResponseClient) Request

func (_mock *RequestResponseClient) Request(ctxt context.Context, targetID string, message []byte, metadata map[string]string, callParam goutils.RequestCallParam) (string, error)

Request provides a mock function for the type RequestResponseClient

func (*RequestResponseClient) Respond

func (_mock *RequestResponseClient) Respond(ctxt context.Context, originalReq goutils.ReqRespMessage, message []byte, metadata map[string]string, blocking bool) error

Respond provides a mock function for the type RequestResponseClient

func (*RequestResponseClient) SetInboundRequestHandler

func (_mock *RequestResponseClient) SetInboundRequestHandler(ctxt context.Context, handler goutils.ReqRespMessageHandler) error

SetInboundRequestHandler provides a mock function for the type RequestResponseClient

func (*RequestResponseClient) Stop

func (_mock *RequestResponseClient) Stop(ctxt context.Context) error

Stop provides a mock function for the type RequestResponseClient

type RequestResponseClient_Expecter

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

func (*RequestResponseClient_Expecter) Request

func (_e *RequestResponseClient_Expecter) Request(ctxt interface{}, targetID interface{}, message interface{}, metadata interface{}, callParam interface{}) *RequestResponseClient_Request_Call

Request is a helper method to define mock.On call

  • ctxt context.Context
  • targetID string
  • message []byte
  • metadata map[string]string
  • callParam goutils.RequestCallParam

func (*RequestResponseClient_Expecter) Respond

func (_e *RequestResponseClient_Expecter) Respond(ctxt interface{}, originalReq interface{}, message interface{}, metadata interface{}, blocking interface{}) *RequestResponseClient_Respond_Call

Respond is a helper method to define mock.On call

  • ctxt context.Context
  • originalReq goutils.ReqRespMessage
  • message []byte
  • metadata map[string]string
  • blocking bool

func (*RequestResponseClient_Expecter) SetInboundRequestHandler

func (_e *RequestResponseClient_Expecter) SetInboundRequestHandler(ctxt interface{}, handler interface{}) *RequestResponseClient_SetInboundRequestHandler_Call

SetInboundRequestHandler is a helper method to define mock.On call

  • ctxt context.Context
  • handler goutils.ReqRespMessageHandler

func (*RequestResponseClient_Expecter) Stop

Stop is a helper method to define mock.On call

  • ctxt context.Context

type RequestResponseClient_Request_Call

type RequestResponseClient_Request_Call struct {
	*mock.Call
}

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

func (*RequestResponseClient_Request_Call) Return

func (*RequestResponseClient_Request_Call) Run

func (_c *RequestResponseClient_Request_Call) Run(run func(ctxt context.Context, targetID string, message []byte, metadata map[string]string, callParam goutils.RequestCallParam)) *RequestResponseClient_Request_Call

func (*RequestResponseClient_Request_Call) RunAndReturn

func (_c *RequestResponseClient_Request_Call) RunAndReturn(run func(ctxt context.Context, targetID string, message []byte, metadata map[string]string, callParam goutils.RequestCallParam) (string, error)) *RequestResponseClient_Request_Call

type RequestResponseClient_Respond_Call

type RequestResponseClient_Respond_Call struct {
	*mock.Call
}

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

func (*RequestResponseClient_Respond_Call) Return

func (*RequestResponseClient_Respond_Call) Run

func (_c *RequestResponseClient_Respond_Call) Run(run func(ctxt context.Context, originalReq goutils.ReqRespMessage, message []byte, metadata map[string]string, blocking bool)) *RequestResponseClient_Respond_Call

func (*RequestResponseClient_Respond_Call) RunAndReturn

func (_c *RequestResponseClient_Respond_Call) RunAndReturn(run func(ctxt context.Context, originalReq goutils.ReqRespMessage, message []byte, metadata map[string]string, blocking bool) error) *RequestResponseClient_Respond_Call

type RequestResponseClient_SetInboundRequestHandler_Call

type RequestResponseClient_SetInboundRequestHandler_Call struct {
	*mock.Call
}

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

func (*RequestResponseClient_SetInboundRequestHandler_Call) Return

func (*RequestResponseClient_SetInboundRequestHandler_Call) Run

func (*RequestResponseClient_SetInboundRequestHandler_Call) RunAndReturn

type RequestResponseClient_Stop_Call

type RequestResponseClient_Stop_Call struct {
	*mock.Call
}

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

func (*RequestResponseClient_Stop_Call) Return

func (*RequestResponseClient_Stop_Call) Run

func (*RequestResponseClient_Stop_Call) RunAndReturn

type S3Client added in v0.12.1

type S3Client struct {
	mock.Mock
}

S3Client is an autogenerated mock type for the S3Client type

func NewS3Client added in v0.12.1

func NewS3Client(t interface {
	mock.TestingT
	Cleanup(func())
}) *S3Client

NewS3Client creates a new instance of S3Client. 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 (*S3Client) CopyObject added in v0.12.1

func (_mock *S3Client) CopyObject(ctx context.Context, srcBucket string, srcKey string, dstBucket string, dstKey string, newMIMEType *string) error

CopyObject provides a mock function for the type S3Client

func (*S3Client) CreateBucket added in v0.12.1

func (_mock *S3Client) CreateBucket(ctx context.Context, bucket string) error

CreateBucket provides a mock function for the type S3Client

func (*S3Client) DeleteBucket added in v0.12.1

func (_mock *S3Client) DeleteBucket(ctx context.Context, bucket string) error

DeleteBucket provides a mock function for the type S3Client

func (*S3Client) DeleteObject added in v0.12.1

func (_mock *S3Client) DeleteObject(ctx context.Context, bucket string, objectKey string) error

DeleteObject provides a mock function for the type S3Client

func (*S3Client) DeleteObjects added in v0.12.1

func (_mock *S3Client) DeleteObjects(ctx context.Context, bucketName string, objectKeys []string) (map[string]error, error)

DeleteObjects provides a mock function for the type S3Client

func (*S3Client) EXPECT added in v0.12.1

func (_m *S3Client) EXPECT() *S3Client_Expecter

func (*S3Client) GeneratePresignedGetURL added in v0.12.1

func (_mock *S3Client) GeneratePresignedGetURL(ctx context.Context, bucketName string, objectKey string, ttl time.Duration, contentDisposition *string) (*url.URL, error)

GeneratePresignedGetURL provides a mock function for the type S3Client

func (*S3Client) GeneratePresignedPutURL added in v0.12.1

func (_mock *S3Client) GeneratePresignedPutURL(ctx context.Context, bucketName string, objectKey string, objectSize int64, sha256Sum string, ttl time.Duration, contentType *string) (*url.URL, error)

GeneratePresignedPutURL provides a mock function for the type S3Client

func (*S3Client) GetObject added in v0.12.1

func (_mock *S3Client) GetObject(ctx context.Context, bucket string, objectKey string) (goutils.S3ObjectStat, goutils.S3ObjectReader, error)

GetObject provides a mock function for the type S3Client

func (*S3Client) GetObjectStat added in v0.12.1

func (_mock *S3Client) GetObjectStat(ctx context.Context, bucket string, objectKey string) (goutils.S3ObjectStat, error)

GetObjectStat provides a mock function for the type S3Client

func (*S3Client) ListBuckets added in v0.12.1

func (_mock *S3Client) ListBuckets(ctx context.Context) ([]string, error)

ListBuckets provides a mock function for the type S3Client

func (*S3Client) ListObjects added in v0.12.1

func (_mock *S3Client) ListObjects(ctx context.Context, bucket string, prefix *string, startingKey *string, maxKeys *int) ([]goutils.S3ObjectStat, error)

ListObjects provides a mock function for the type S3Client

func (*S3Client) PutObject added in v0.12.1

func (_mock *S3Client) PutObject(ctx context.Context, bucket string, objectKey string, data io.Reader, expectedSize int64, contentType *string) error

PutObject provides a mock function for the type S3Client

type S3ClientManager added in v0.12.3

type S3ClientManager struct {
	mock.Mock
}

S3ClientManager is an autogenerated mock type for the S3ClientManager type

func NewS3ClientManager added in v0.12.3

func NewS3ClientManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *S3ClientManager

NewS3ClientManager creates a new instance of S3ClientManager. 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 (*S3ClientManager) EXPECT added in v0.12.3

func (*S3ClientManager) GetClient added in v0.12.3

func (_mock *S3ClientManager) GetClient(ctxt context.Context, timestamp time.Time) (goutils.S3Client, error)

GetClient provides a mock function for the type S3ClientManager

type S3ClientManager_Expecter added in v0.12.3

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

func (*S3ClientManager_Expecter) GetClient added in v0.12.3

func (_e *S3ClientManager_Expecter) GetClient(ctxt interface{}, timestamp interface{}) *S3ClientManager_GetClient_Call

GetClient is a helper method to define mock.On call

  • ctxt context.Context
  • timestamp time.Time

type S3ClientManager_GetClient_Call added in v0.12.3

type S3ClientManager_GetClient_Call struct {
	*mock.Call
}

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

func (*S3ClientManager_GetClient_Call) Return added in v0.12.3

func (*S3ClientManager_GetClient_Call) Run added in v0.12.3

func (*S3ClientManager_GetClient_Call) RunAndReturn added in v0.12.3

type S3Client_CopyObject_Call added in v0.12.1

type S3Client_CopyObject_Call struct {
	*mock.Call
}

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

func (*S3Client_CopyObject_Call) Return added in v0.12.1

func (*S3Client_CopyObject_Call) Run added in v0.12.1

func (_c *S3Client_CopyObject_Call) Run(run func(ctx context.Context, srcBucket string, srcKey string, dstBucket string, dstKey string, newMIMEType *string)) *S3Client_CopyObject_Call

func (*S3Client_CopyObject_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_CopyObject_Call) RunAndReturn(run func(ctx context.Context, srcBucket string, srcKey string, dstBucket string, dstKey string, newMIMEType *string) error) *S3Client_CopyObject_Call

type S3Client_CreateBucket_Call added in v0.12.1

type S3Client_CreateBucket_Call struct {
	*mock.Call
}

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

func (*S3Client_CreateBucket_Call) Return added in v0.12.1

func (*S3Client_CreateBucket_Call) Run added in v0.12.1

func (*S3Client_CreateBucket_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_CreateBucket_Call) RunAndReturn(run func(ctx context.Context, bucket string) error) *S3Client_CreateBucket_Call

type S3Client_DeleteBucket_Call added in v0.12.1

type S3Client_DeleteBucket_Call struct {
	*mock.Call
}

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

func (*S3Client_DeleteBucket_Call) Return added in v0.12.1

func (*S3Client_DeleteBucket_Call) Run added in v0.12.1

func (*S3Client_DeleteBucket_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_DeleteBucket_Call) RunAndReturn(run func(ctx context.Context, bucket string) error) *S3Client_DeleteBucket_Call

type S3Client_DeleteObject_Call added in v0.12.1

type S3Client_DeleteObject_Call struct {
	*mock.Call
}

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

func (*S3Client_DeleteObject_Call) Return added in v0.12.1

func (*S3Client_DeleteObject_Call) Run added in v0.12.1

func (_c *S3Client_DeleteObject_Call) Run(run func(ctx context.Context, bucket string, objectKey string)) *S3Client_DeleteObject_Call

func (*S3Client_DeleteObject_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_DeleteObject_Call) RunAndReturn(run func(ctx context.Context, bucket string, objectKey string) error) *S3Client_DeleteObject_Call

type S3Client_DeleteObjects_Call added in v0.12.1

type S3Client_DeleteObjects_Call struct {
	*mock.Call
}

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

func (*S3Client_DeleteObjects_Call) Return added in v0.12.1

func (_c *S3Client_DeleteObjects_Call) Return(stringToErr map[string]error, err error) *S3Client_DeleteObjects_Call

func (*S3Client_DeleteObjects_Call) Run added in v0.12.1

func (_c *S3Client_DeleteObjects_Call) Run(run func(ctx context.Context, bucketName string, objectKeys []string)) *S3Client_DeleteObjects_Call

func (*S3Client_DeleteObjects_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_DeleteObjects_Call) RunAndReturn(run func(ctx context.Context, bucketName string, objectKeys []string) (map[string]error, error)) *S3Client_DeleteObjects_Call

type S3Client_Expecter added in v0.12.1

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

func (*S3Client_Expecter) CopyObject added in v0.12.1

func (_e *S3Client_Expecter) CopyObject(ctx interface{}, srcBucket interface{}, srcKey interface{}, dstBucket interface{}, dstKey interface{}, newMIMEType interface{}) *S3Client_CopyObject_Call

CopyObject is a helper method to define mock.On call

  • ctx context.Context
  • srcBucket string
  • srcKey string
  • dstBucket string
  • dstKey string
  • newMIMEType *string

func (*S3Client_Expecter) CreateBucket added in v0.12.1

func (_e *S3Client_Expecter) CreateBucket(ctx interface{}, bucket interface{}) *S3Client_CreateBucket_Call

CreateBucket is a helper method to define mock.On call

  • ctx context.Context
  • bucket string

func (*S3Client_Expecter) DeleteBucket added in v0.12.1

func (_e *S3Client_Expecter) DeleteBucket(ctx interface{}, bucket interface{}) *S3Client_DeleteBucket_Call

DeleteBucket is a helper method to define mock.On call

  • ctx context.Context
  • bucket string

func (*S3Client_Expecter) DeleteObject added in v0.12.1

func (_e *S3Client_Expecter) DeleteObject(ctx interface{}, bucket interface{}, objectKey interface{}) *S3Client_DeleteObject_Call

DeleteObject is a helper method to define mock.On call

  • ctx context.Context
  • bucket string
  • objectKey string

func (*S3Client_Expecter) DeleteObjects added in v0.12.1

func (_e *S3Client_Expecter) DeleteObjects(ctx interface{}, bucketName interface{}, objectKeys interface{}) *S3Client_DeleteObjects_Call

DeleteObjects is a helper method to define mock.On call

  • ctx context.Context
  • bucketName string
  • objectKeys []string

func (*S3Client_Expecter) GeneratePresignedGetURL added in v0.12.1

func (_e *S3Client_Expecter) GeneratePresignedGetURL(ctx interface{}, bucketName interface{}, objectKey interface{}, ttl interface{}, contentDisposition interface{}) *S3Client_GeneratePresignedGetURL_Call

GeneratePresignedGetURL is a helper method to define mock.On call

  • ctx context.Context
  • bucketName string
  • objectKey string
  • ttl time.Duration
  • contentDisposition *string

func (*S3Client_Expecter) GeneratePresignedPutURL added in v0.12.1

func (_e *S3Client_Expecter) GeneratePresignedPutURL(ctx interface{}, bucketName interface{}, objectKey interface{}, objectSize interface{}, sha256Sum interface{}, ttl interface{}, contentType interface{}) *S3Client_GeneratePresignedPutURL_Call

GeneratePresignedPutURL is a helper method to define mock.On call

  • ctx context.Context
  • bucketName string
  • objectKey string
  • objectSize int64
  • sha256Sum string
  • ttl time.Duration
  • contentType *string

func (*S3Client_Expecter) GetObject added in v0.12.1

func (_e *S3Client_Expecter) GetObject(ctx interface{}, bucket interface{}, objectKey interface{}) *S3Client_GetObject_Call

GetObject is a helper method to define mock.On call

  • ctx context.Context
  • bucket string
  • objectKey string

func (*S3Client_Expecter) GetObjectStat added in v0.12.1

func (_e *S3Client_Expecter) GetObjectStat(ctx interface{}, bucket interface{}, objectKey interface{}) *S3Client_GetObjectStat_Call

GetObjectStat is a helper method to define mock.On call

  • ctx context.Context
  • bucket string
  • objectKey string

func (*S3Client_Expecter) ListBuckets added in v0.12.1

func (_e *S3Client_Expecter) ListBuckets(ctx interface{}) *S3Client_ListBuckets_Call

ListBuckets is a helper method to define mock.On call

  • ctx context.Context

func (*S3Client_Expecter) ListObjects added in v0.12.1

func (_e *S3Client_Expecter) ListObjects(ctx interface{}, bucket interface{}, prefix interface{}, startingKey interface{}, maxKeys interface{}) *S3Client_ListObjects_Call

ListObjects is a helper method to define mock.On call

  • ctx context.Context
  • bucket string
  • prefix *string
  • startingKey *string
  • maxKeys *int

func (*S3Client_Expecter) PutObject added in v0.12.1

func (_e *S3Client_Expecter) PutObject(ctx interface{}, bucket interface{}, objectKey interface{}, data interface{}, expectedSize interface{}, contentType interface{}) *S3Client_PutObject_Call

PutObject is a helper method to define mock.On call

  • ctx context.Context
  • bucket string
  • objectKey string
  • data io.Reader
  • expectedSize int64
  • contentType *string

type S3Client_GeneratePresignedGetURL_Call added in v0.12.1

type S3Client_GeneratePresignedGetURL_Call struct {
	*mock.Call
}

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

func (*S3Client_GeneratePresignedGetURL_Call) Return added in v0.12.1

func (*S3Client_GeneratePresignedGetURL_Call) Run added in v0.12.1

func (_c *S3Client_GeneratePresignedGetURL_Call) Run(run func(ctx context.Context, bucketName string, objectKey string, ttl time.Duration, contentDisposition *string)) *S3Client_GeneratePresignedGetURL_Call

func (*S3Client_GeneratePresignedGetURL_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_GeneratePresignedGetURL_Call) RunAndReturn(run func(ctx context.Context, bucketName string, objectKey string, ttl time.Duration, contentDisposition *string) (*url.URL, error)) *S3Client_GeneratePresignedGetURL_Call

type S3Client_GeneratePresignedPutURL_Call added in v0.12.1

type S3Client_GeneratePresignedPutURL_Call struct {
	*mock.Call
}

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

func (*S3Client_GeneratePresignedPutURL_Call) Return added in v0.12.1

func (*S3Client_GeneratePresignedPutURL_Call) Run added in v0.12.1

func (_c *S3Client_GeneratePresignedPutURL_Call) Run(run func(ctx context.Context, bucketName string, objectKey string, objectSize int64, sha256Sum string, ttl time.Duration, contentType *string)) *S3Client_GeneratePresignedPutURL_Call

func (*S3Client_GeneratePresignedPutURL_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_GeneratePresignedPutURL_Call) RunAndReturn(run func(ctx context.Context, bucketName string, objectKey string, objectSize int64, sha256Sum string, ttl time.Duration, contentType *string) (*url.URL, error)) *S3Client_GeneratePresignedPutURL_Call

type S3Client_GetObjectStat_Call added in v0.12.1

type S3Client_GetObjectStat_Call struct {
	*mock.Call
}

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

func (*S3Client_GetObjectStat_Call) Return added in v0.12.1

func (*S3Client_GetObjectStat_Call) Run added in v0.12.1

func (_c *S3Client_GetObjectStat_Call) Run(run func(ctx context.Context, bucket string, objectKey string)) *S3Client_GetObjectStat_Call

func (*S3Client_GetObjectStat_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_GetObjectStat_Call) RunAndReturn(run func(ctx context.Context, bucket string, objectKey string) (goutils.S3ObjectStat, error)) *S3Client_GetObjectStat_Call

type S3Client_GetObject_Call added in v0.12.1

type S3Client_GetObject_Call struct {
	*mock.Call
}

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

func (*S3Client_GetObject_Call) Return added in v0.12.1

func (_c *S3Client_GetObject_Call) Return(s3ObjectStat goutils.S3ObjectStat, s3ObjectReader goutils.S3ObjectReader, err error) *S3Client_GetObject_Call

func (*S3Client_GetObject_Call) Run added in v0.12.1

func (_c *S3Client_GetObject_Call) Run(run func(ctx context.Context, bucket string, objectKey string)) *S3Client_GetObject_Call

func (*S3Client_GetObject_Call) RunAndReturn added in v0.12.1

type S3Client_ListBuckets_Call added in v0.12.1

type S3Client_ListBuckets_Call struct {
	*mock.Call
}

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

func (*S3Client_ListBuckets_Call) Return added in v0.12.1

func (*S3Client_ListBuckets_Call) Run added in v0.12.1

func (*S3Client_ListBuckets_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_ListBuckets_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *S3Client_ListBuckets_Call

type S3Client_ListObjects_Call added in v0.12.1

type S3Client_ListObjects_Call struct {
	*mock.Call
}

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

func (*S3Client_ListObjects_Call) Return added in v0.12.1

func (*S3Client_ListObjects_Call) Run added in v0.12.1

func (_c *S3Client_ListObjects_Call) Run(run func(ctx context.Context, bucket string, prefix *string, startingKey *string, maxKeys *int)) *S3Client_ListObjects_Call

func (*S3Client_ListObjects_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_ListObjects_Call) RunAndReturn(run func(ctx context.Context, bucket string, prefix *string, startingKey *string, maxKeys *int) ([]goutils.S3ObjectStat, error)) *S3Client_ListObjects_Call

type S3Client_PutObject_Call added in v0.12.1

type S3Client_PutObject_Call struct {
	*mock.Call
}

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

func (*S3Client_PutObject_Call) Return added in v0.12.1

func (*S3Client_PutObject_Call) Run added in v0.12.1

func (_c *S3Client_PutObject_Call) Run(run func(ctx context.Context, bucket string, objectKey string, data io.Reader, expectedSize int64, contentType *string)) *S3Client_PutObject_Call

func (*S3Client_PutObject_Call) RunAndReturn added in v0.12.1

func (_c *S3Client_PutObject_Call) RunAndReturn(run func(ctx context.Context, bucket string, objectKey string, data io.Reader, expectedSize int64, contentType *string) error) *S3Client_PutObject_Call

type S3ObjectReader added in v0.12.1

type S3ObjectReader struct {
	mock.Mock
}

S3ObjectReader is an autogenerated mock type for the S3ObjectReader type

func NewS3ObjectReader added in v0.12.1

func NewS3ObjectReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *S3ObjectReader

NewS3ObjectReader creates a new instance of S3ObjectReader. 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 (*S3ObjectReader) Close added in v0.12.1

func (_mock *S3ObjectReader) Close() error

Close provides a mock function for the type S3ObjectReader

func (*S3ObjectReader) EXPECT added in v0.12.1

func (*S3ObjectReader) Read added in v0.12.1

func (_mock *S3ObjectReader) Read(p []byte) (int, error)

Read provides a mock function for the type S3ObjectReader

func (*S3ObjectReader) ReadAt added in v0.12.1

func (_mock *S3ObjectReader) ReadAt(p []byte, off int64) (int, error)

ReadAt provides a mock function for the type S3ObjectReader

func (*S3ObjectReader) Seek added in v0.12.1

func (_mock *S3ObjectReader) Seek(offset int64, whence int) (int64, error)

Seek provides a mock function for the type S3ObjectReader

type S3ObjectReader_Close_Call added in v0.12.1

type S3ObjectReader_Close_Call struct {
	*mock.Call
}

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

func (*S3ObjectReader_Close_Call) Return added in v0.12.1

func (*S3ObjectReader_Close_Call) Run added in v0.12.1

func (*S3ObjectReader_Close_Call) RunAndReturn added in v0.12.1

func (_c *S3ObjectReader_Close_Call) RunAndReturn(run func() error) *S3ObjectReader_Close_Call

type S3ObjectReader_Expecter added in v0.12.1

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

func (*S3ObjectReader_Expecter) Close added in v0.12.1

Close is a helper method to define mock.On call

func (*S3ObjectReader_Expecter) Read added in v0.12.1

func (_e *S3ObjectReader_Expecter) Read(p interface{}) *S3ObjectReader_Read_Call

Read is a helper method to define mock.On call

  • p []byte

func (*S3ObjectReader_Expecter) ReadAt added in v0.12.1

func (_e *S3ObjectReader_Expecter) ReadAt(p interface{}, off interface{}) *S3ObjectReader_ReadAt_Call

ReadAt is a helper method to define mock.On call

  • p []byte
  • off int64

func (*S3ObjectReader_Expecter) Seek added in v0.12.1

func (_e *S3ObjectReader_Expecter) Seek(offset interface{}, whence interface{}) *S3ObjectReader_Seek_Call

Seek is a helper method to define mock.On call

  • offset int64
  • whence int

type S3ObjectReader_ReadAt_Call added in v0.12.1

type S3ObjectReader_ReadAt_Call struct {
	*mock.Call
}

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

func (*S3ObjectReader_ReadAt_Call) Return added in v0.12.1

func (*S3ObjectReader_ReadAt_Call) Run added in v0.12.1

func (_c *S3ObjectReader_ReadAt_Call) Run(run func(p []byte, off int64)) *S3ObjectReader_ReadAt_Call

func (*S3ObjectReader_ReadAt_Call) RunAndReturn added in v0.12.1

func (_c *S3ObjectReader_ReadAt_Call) RunAndReturn(run func(p []byte, off int64) (int, error)) *S3ObjectReader_ReadAt_Call

type S3ObjectReader_Read_Call added in v0.12.1

type S3ObjectReader_Read_Call struct {
	*mock.Call
}

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

func (*S3ObjectReader_Read_Call) Return added in v0.12.1

func (*S3ObjectReader_Read_Call) Run added in v0.12.1

func (_c *S3ObjectReader_Read_Call) Run(run func(p []byte)) *S3ObjectReader_Read_Call

func (*S3ObjectReader_Read_Call) RunAndReturn added in v0.12.1

func (_c *S3ObjectReader_Read_Call) RunAndReturn(run func(p []byte) (int, error)) *S3ObjectReader_Read_Call

type S3ObjectReader_Seek_Call added in v0.12.1

type S3ObjectReader_Seek_Call struct {
	*mock.Call
}

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

func (*S3ObjectReader_Seek_Call) Return added in v0.12.1

func (*S3ObjectReader_Seek_Call) Run added in v0.12.1

func (_c *S3ObjectReader_Seek_Call) Run(run func(offset int64, whence int)) *S3ObjectReader_Seek_Call

func (*S3ObjectReader_Seek_Call) RunAndReturn added in v0.12.1

func (_c *S3ObjectReader_Seek_Call) RunAndReturn(run func(offset int64, whence int) (int64, error)) *S3ObjectReader_Seek_Call

type Sequencer

type Sequencer struct {
	mock.Mock
}

Sequencer is an autogenerated mock type for the Sequencer type

func NewSequencer

func NewSequencer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sequencer

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

func (_m *Sequencer) EXPECT() *Sequencer_Expecter

func (*Sequencer) NextValue

func (_mock *Sequencer) NextValue() float64

NextValue provides a mock function for the type Sequencer

type Sequencer_Expecter

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

func (*Sequencer_Expecter) NextValue

NextValue is a helper method to define mock.On call

type Sequencer_NextValue_Call

type Sequencer_NextValue_Call struct {
	*mock.Call
}

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

func (*Sequencer_NextValue_Call) Return

func (*Sequencer_NextValue_Call) Run

func (*Sequencer_NextValue_Call) RunAndReturn

func (_c *Sequencer_NextValue_Call) RunAndReturn(run func() float64) *Sequencer_NextValue_Call

type TaskProcessor

type TaskProcessor struct {
	mock.Mock
}

TaskProcessor is an autogenerated mock type for the TaskProcessor type

func NewTaskProcessor

func NewTaskProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskProcessor

NewTaskProcessor creates a new instance of TaskProcessor. 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 (*TaskProcessor) AddToTaskExecutionMap

func (_mock *TaskProcessor) AddToTaskExecutionMap(parameterType reflect.Type, handler goutils.TaskProcessorSupportHandler) error

AddToTaskExecutionMap provides a mock function for the type TaskProcessor

func (*TaskProcessor) EXPECT

func (_m *TaskProcessor) EXPECT() *TaskProcessor_Expecter

func (*TaskProcessor) SetTaskExecutionMap

func (_mock *TaskProcessor) SetTaskExecutionMap(newMap map[reflect.Type]goutils.TaskProcessorSupportHandler) error

SetTaskExecutionMap provides a mock function for the type TaskProcessor

func (*TaskProcessor) StartEventLoop

func (_mock *TaskProcessor) StartEventLoop(wg *sync.WaitGroup) error

StartEventLoop provides a mock function for the type TaskProcessor

func (*TaskProcessor) StopEventLoop

func (_mock *TaskProcessor) StopEventLoop() error

StopEventLoop provides a mock function for the type TaskProcessor

func (*TaskProcessor) Submit

func (_mock *TaskProcessor) Submit(ctx context.Context, newTaskParam interface{}) error

Submit provides a mock function for the type TaskProcessor

type TaskProcessorMetricHelper

type TaskProcessorMetricHelper struct {
	mock.Mock
}

TaskProcessorMetricHelper is an autogenerated mock type for the TaskProcessorMetricHelper type

func NewTaskProcessorMetricHelper

func NewTaskProcessorMetricHelper(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskProcessorMetricHelper

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

func (*TaskProcessorMetricHelper) RecordProcessed

func (_mock *TaskProcessorMetricHelper) RecordProcessed(instance string)

RecordProcessed provides a mock function for the type TaskProcessorMetricHelper

func (*TaskProcessorMetricHelper) RecordSubmit

func (_mock *TaskProcessorMetricHelper) RecordSubmit(instance string, successful bool)

RecordSubmit provides a mock function for the type TaskProcessorMetricHelper

type TaskProcessorMetricHelper_Expecter

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

func (*TaskProcessorMetricHelper_Expecter) RecordProcessed

RecordProcessed is a helper method to define mock.On call

  • instance string

func (*TaskProcessorMetricHelper_Expecter) RecordSubmit

func (_e *TaskProcessorMetricHelper_Expecter) RecordSubmit(instance interface{}, successful interface{}) *TaskProcessorMetricHelper_RecordSubmit_Call

RecordSubmit is a helper method to define mock.On call

  • instance string
  • successful bool

type TaskProcessorMetricHelper_RecordProcessed_Call

type TaskProcessorMetricHelper_RecordProcessed_Call struct {
	*mock.Call
}

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

func (*TaskProcessorMetricHelper_RecordProcessed_Call) Return

func (*TaskProcessorMetricHelper_RecordProcessed_Call) Run

func (*TaskProcessorMetricHelper_RecordProcessed_Call) RunAndReturn

type TaskProcessorMetricHelper_RecordSubmit_Call

type TaskProcessorMetricHelper_RecordSubmit_Call struct {
	*mock.Call
}

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

func (*TaskProcessorMetricHelper_RecordSubmit_Call) Return

func (*TaskProcessorMetricHelper_RecordSubmit_Call) Run

func (*TaskProcessorMetricHelper_RecordSubmit_Call) RunAndReturn

type TaskProcessor_AddToTaskExecutionMap_Call

type TaskProcessor_AddToTaskExecutionMap_Call struct {
	*mock.Call
}

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

func (*TaskProcessor_AddToTaskExecutionMap_Call) Return

func (*TaskProcessor_AddToTaskExecutionMap_Call) Run

func (*TaskProcessor_AddToTaskExecutionMap_Call) RunAndReturn

type TaskProcessor_Expecter

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

func (*TaskProcessor_Expecter) AddToTaskExecutionMap

func (_e *TaskProcessor_Expecter) AddToTaskExecutionMap(parameterType interface{}, handler interface{}) *TaskProcessor_AddToTaskExecutionMap_Call

AddToTaskExecutionMap is a helper method to define mock.On call

  • parameterType reflect.Type
  • handler goutils.TaskProcessorSupportHandler

func (*TaskProcessor_Expecter) SetTaskExecutionMap

func (_e *TaskProcessor_Expecter) SetTaskExecutionMap(newMap interface{}) *TaskProcessor_SetTaskExecutionMap_Call

SetTaskExecutionMap is a helper method to define mock.On call

  • newMap map[reflect.Type]goutils.TaskProcessorSupportHandler

func (*TaskProcessor_Expecter) StartEventLoop

func (_e *TaskProcessor_Expecter) StartEventLoop(wg interface{}) *TaskProcessor_StartEventLoop_Call

StartEventLoop is a helper method to define mock.On call

  • wg *sync.WaitGroup

func (*TaskProcessor_Expecter) StopEventLoop

StopEventLoop is a helper method to define mock.On call

func (*TaskProcessor_Expecter) Submit

func (_e *TaskProcessor_Expecter) Submit(ctx interface{}, newTaskParam interface{}) *TaskProcessor_Submit_Call

Submit is a helper method to define mock.On call

  • ctx context.Context
  • newTaskParam interface{}

type TaskProcessor_SetTaskExecutionMap_Call

type TaskProcessor_SetTaskExecutionMap_Call struct {
	*mock.Call
}

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

func (*TaskProcessor_SetTaskExecutionMap_Call) Return

func (*TaskProcessor_SetTaskExecutionMap_Call) Run

func (*TaskProcessor_SetTaskExecutionMap_Call) RunAndReturn

type TaskProcessor_StartEventLoop_Call

type TaskProcessor_StartEventLoop_Call struct {
	*mock.Call
}

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

func (*TaskProcessor_StartEventLoop_Call) Return

func (*TaskProcessor_StartEventLoop_Call) Run

func (*TaskProcessor_StartEventLoop_Call) RunAndReturn

type TaskProcessor_StopEventLoop_Call

type TaskProcessor_StopEventLoop_Call struct {
	*mock.Call
}

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

func (*TaskProcessor_StopEventLoop_Call) Return

func (*TaskProcessor_StopEventLoop_Call) Run

func (*TaskProcessor_StopEventLoop_Call) RunAndReturn

type TaskProcessor_Submit_Call

type TaskProcessor_Submit_Call struct {
	*mock.Call
}

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

func (*TaskProcessor_Submit_Call) Return

func (*TaskProcessor_Submit_Call) Run

func (_c *TaskProcessor_Submit_Call) Run(run func(ctx context.Context, newTaskParam interface{})) *TaskProcessor_Submit_Call

func (*TaskProcessor_Submit_Call) RunAndReturn

func (_c *TaskProcessor_Submit_Call) RunAndReturn(run func(ctx context.Context, newTaskParam interface{}) error) *TaskProcessor_Submit_Call

Jump to

Keyboard shortcuts

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