Documentation ¶
Index ¶
- type TestCloudEventsClient
- func (c *TestCloudEventsClient) Reset()
- func (c *TestCloudEventsClient) Send(ctx context.Context, event cloudevents.Event) (context.Context, *cloudevents.Event, error)
- func (c *TestCloudEventsClient) Sent() []cloudevents.Event
- func (c *TestCloudEventsClient) StartReceiver(ctx context.Context, fn interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCloudEventsClient ¶
type TestCloudEventsClient struct {
// contains filtered or unexported fields
}
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) Sent ¶
func (c *TestCloudEventsClient) Sent() []cloudevents.Event
func (*TestCloudEventsClient) StartReceiver ¶
func (c *TestCloudEventsClient) StartReceiver(ctx context.Context, fn interface{}) error
Click to show internal directories.
Click to hide internal directories.