Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCloudEventsClient ¶
type TestCloudEventsClient struct {
Sent []cloudevents.Event
}
func NewTestClient ¶
func NewTestClient() *TestCloudEventsClient
func (*TestCloudEventsClient) Reset ¶
func (c *TestCloudEventsClient) Reset()
func (*TestCloudEventsClient) Send ¶
func (c *TestCloudEventsClient) Send(ctx context.Context, event cloudevents.Event) (context.Context, *cloudevents.Event, error)
func (*TestCloudEventsClient) StartReceiver ¶
func (c *TestCloudEventsClient) StartReceiver(ctx context.Context, fn interface{}) error
Click to show internal directories.
Click to hide internal directories.