Documentation ¶
Index ¶
- func ExpectMetrics(t *testing.T, f func() error)
- func ResetDeliveryMetrics()
- func ResetIngressMetrics()
- type ExpectDelivery
- func (e ExpectDelivery) AddTrigger(t *testing.T, trigger string, expectTags Tags)
- func (e ExpectDelivery) Expect200(t *testing.T, trigger string)
- func (e ExpectDelivery) ExpectDelivery(t *testing.T, trigger string, code int)
- func (e ExpectDelivery) ExpectProcessing(t *testing.T, trigger string)
- func (e ExpectDelivery) Verify(t *testing.T)
- type Tags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectMetrics ¶
func ResetDeliveryMetrics ¶
func ResetDeliveryMetrics()
func ResetIngressMetrics ¶
func ResetIngressMetrics()
Types ¶
type ExpectDelivery ¶ added in v0.16.0
type ExpectDelivery struct { TriggerTags map[string]Tags ProcessingCount map[string]int64 DeliveryCount map[deliveryKey]int64 }
func NewExpectDelivery ¶ added in v0.16.0
func NewExpectDelivery() ExpectDelivery
func (ExpectDelivery) AddTrigger ¶ added in v0.16.0
func (e ExpectDelivery) AddTrigger(t *testing.T, trigger string, expectTags Tags)
func (ExpectDelivery) Expect200 ¶ added in v0.16.0
func (e ExpectDelivery) Expect200(t *testing.T, trigger string)
func (ExpectDelivery) ExpectDelivery ¶ added in v0.16.0
func (e ExpectDelivery) ExpectDelivery(t *testing.T, trigger string, code int)
func (ExpectDelivery) ExpectProcessing ¶ added in v0.16.0
func (e ExpectDelivery) ExpectProcessing(t *testing.T, trigger string)
func (ExpectDelivery) Verify ¶ added in v0.16.0
func (e ExpectDelivery) Verify(t *testing.T)
Click to show internal directories.
Click to hide internal directories.