Documentation ¶
Index ¶
- func ExpectMetrics(t *testing.T, f func() error)
- func ResetBrokerCellMetrics()
- func ResetDeliveryMetrics()
- func ResetIngressMetrics()
- type ExpectDelivery
- func (e ExpectDelivery) AddTrigger(t *testing.T, trigger Trigger, expectTags Tags)
- func (e ExpectDelivery) Expect200(t *testing.T, trigger Trigger)
- func (e ExpectDelivery) ExpectDelivery(t *testing.T, trigger Trigger, code int)
- func (e ExpectDelivery) ExpectProcessing(t *testing.T, trigger Trigger)
- func (e ExpectDelivery) ExpectTimeout(t *testing.T, trigger Trigger)
- func (e ExpectDelivery) Verify(t *testing.T)
- type Tags
- type Trigger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectMetrics ¶
func ResetBrokerCellMetrics ¶ added in v0.17.0
func ResetBrokerCellMetrics()
func ResetDeliveryMetrics ¶
func ResetDeliveryMetrics()
func ResetIngressMetrics ¶
func ResetIngressMetrics()
Types ¶
type ExpectDelivery ¶ added in v0.16.0
type ExpectDelivery struct { TriggerTags map[Trigger]Tags ProcessingCount map[Trigger]int64 DeliveryCount map[deliveryKey]int64 TimeoutCount map[Trigger]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 Trigger, expectTags Tags)
func (ExpectDelivery) Expect200 ¶ added in v0.16.0
func (e ExpectDelivery) Expect200(t *testing.T, trigger Trigger)
func (ExpectDelivery) ExpectDelivery ¶ added in v0.16.0
func (e ExpectDelivery) ExpectDelivery(t *testing.T, trigger Trigger, code int)
func (ExpectDelivery) ExpectProcessing ¶ added in v0.16.0
func (e ExpectDelivery) ExpectProcessing(t *testing.T, trigger Trigger)
func (ExpectDelivery) ExpectTimeout ¶ added in v0.17.0
func (e ExpectDelivery) ExpectTimeout(t *testing.T, trigger Trigger)
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.