Documentation ¶
Index ¶
- type FakeHelpers
- func (f *FakeHelpers) AddPubSubNameSpace(topicName string) string
- func (f *FakeHelpers) EpochTimeToStandardTime(timeOfDelivery string) time.Time
- func (f *FakeHelpers) RecordSpanError(span trace.Span, err error)
- func (f *FakeHelpers) StripMailGunIDSpecialCharacters(messageID string) string
- func (f *FakeHelpers) ValidateElement(el feedlib.Element) error
- type FakeIscClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHelpers ¶
type FakeHelpers struct { // AddPubSubNameSpaceFn ... AddPubSubNameSpaceFn func(topicName string) string // ValidateElementFn ... ValidateElementFn func(el feedlib.Element) error // RecordSpanErrorFn ... RecordSpanErrorFn func(span trace.Span, err error) // EpochTimeToStandardTimeFn .... EpochTimeToStandardTimeFn func(timeOfDelivery string) time.Time // StripMailGunIDSpecialCharactersFn ... StripMailGunIDSpecialCharactersFn func(messageID string) string }
FakeHelpers ...
func (*FakeHelpers) AddPubSubNameSpace ¶
func (f *FakeHelpers) AddPubSubNameSpace( topicName string, ) string
AddPubSubNameSpace is a mock version of the original function
func (*FakeHelpers) EpochTimeToStandardTime ¶
func (f *FakeHelpers) EpochTimeToStandardTime( timeOfDelivery string, ) time.Time
EpochTimeToStandardTime is a mock version of the original function
func (*FakeHelpers) RecordSpanError ¶
func (f *FakeHelpers) RecordSpanError( span trace.Span, err error, )
RecordSpanError is a mock version of the original function
func (*FakeHelpers) StripMailGunIDSpecialCharacters ¶
func (f *FakeHelpers) StripMailGunIDSpecialCharacters( messageID string, ) string
StripMailGunIDSpecialCharacters is a mock version of the original function
func (*FakeHelpers) ValidateElement ¶
func (f *FakeHelpers) ValidateElement( el feedlib.Element, ) error
ValidateElement is a mock version of the original function
type FakeIscClient ¶
type FakeIscClient struct { // InitializeInterServiceClientFn ... InitializeInterServiceClientFn func(serviceName string) *interserviceclient.InterServiceClient }
FakeIscClient ...
func (*FakeIscClient) InitializeInterServiceClient ¶
func (c *FakeIscClient) InitializeInterServiceClient( serviceName string, ) *interserviceclient.InterServiceClient
InitializeInterServiceClient is a mock version of the original function
Click to show internal directories.
Click to hide internal directories.