Documentation ¶
Index ¶
- func AlwaysThen(then time.Time) client.EventDefaulter
- func ClientConversion(t *testing.T, tc ConversionTest, topts ...cehttp.Option)
- func ClientDirect(t *testing.T, tc DirectTapTest, topts ...cehttp.Option)
- func ClientLoopback(t *testing.T, tc TapTest, topts ...cehttp.Option)
- func ClientMiddleware(t *testing.T, tc TapTest, topts ...cehttp.Option)
- func NewTap() *tapHandler
- func UnitTestConvert(ctx context.Context, m transport.Message, err error) (*cloudevents.Event, error)
- func UnitTestConvertNilNil(context.Context, transport.Message, error) (*cloudevents.Event, error)
- type ConversionTest
- type ConversionTestCases
- type DirectTapTest
- type DirectTapTestCases
- type TapTest
- type TapTestCases
- type TapValidation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlwaysThen ¶
func AlwaysThen(then time.Time) client.EventDefaulter
func ClientConversion ¶
func ClientConversion(t *testing.T, tc ConversionTest, topts ...cehttp.Option)
func ClientDirect ¶
func ClientDirect(t *testing.T, tc DirectTapTest, topts ...cehttp.Option)
func UnitTestConvert ¶
Types ¶
type ConversionTest ¶
type ConversionTest struct {
// contains filtered or unexported fields
}
type ConversionTestCases ¶
type ConversionTestCases map[string]ConversionTest
type DirectTapTest ¶
type DirectTapTest struct {
// contains filtered or unexported fields
}
type DirectTapTestCases ¶
type DirectTapTestCases map[string]DirectTapTest
type TapTestCases ¶
Click to show internal directories.
Click to hide internal directories.