Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Success = Result{} DeliveryTimeout = Result{errDeliveryTimeout, errors.New("DeliveryTimeout")} )
Functions ¶
This section is empty.
Types ¶
type EventClient ¶
type EventClient interface { Sender }
func NewAwsLambdaClient ¶
func NewAwsLambdaClient(accessKeyID, secretKeyID, arnStr string) EventClient
func NewGCloudFunctionClient ¶
func NewGCloudFunctionClient(url, credentialJSON string) EventClient
func NewGRPCClient ¶
func NewGRPCClient(url string) EventClient
func NewHTTPClient ¶
func NewHTTPClient(url string) EventClient
type MockEventClient ¶
type MockEventClient struct {
// contains filtered or unexported fields
}
MockEventClient is a mock of EventClient interface.
func NewMockEventClient ¶
func NewMockEventClient(ctrl *gomock.Controller) *MockEventClient
NewMockEventClient creates a new mock instance.
func (*MockEventClient) EXPECT ¶
func (m *MockEventClient) EXPECT() *MockEventClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEventClientMockRecorder ¶
type MockEventClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEventClientMockRecorder is the mock recorder for MockEventClient.
func (*MockEventClientMockRecorder) Send ¶
func (mr *MockEventClientMockRecorder) Send(ctx interface{}, events ...interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockSender ¶
type MockSender struct {
// contains filtered or unexported fields
}
MockSender is a mock of Sender interface.
func NewMockSender ¶
func NewMockSender(ctrl *gomock.Controller) *MockSender
NewMockSender creates a new mock instance.
func (*MockSender) EXPECT ¶
func (m *MockSender) EXPECT() *MockSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSenderMockRecorder ¶
type MockSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockSenderMockRecorder is the mock recorder for MockSender.
func (*MockSenderMockRecorder) Send ¶
func (mr *MockSenderMockRecorder) Send(ctx interface{}, events ...interface{}) *gomock.Call
Send indicates an expected call of Send.
Click to show internal directories.
Click to hide internal directories.