Documentation ¶
Index ¶
- func CreateNotificationEndpoint(...)
- func DeleteNotificationEndpoint(...)
- func ErrorsEqual(t *testing.T, actual, expected error)
- func FindNotificationEndpointByID(...)
- func FindNotificationEndpoints(...)
- func NotificationEndpointService(...)
- func PatchNotificationEndpoint(...)
- func UpdateNotificationEndpoint(...)
- type NotificationEndpointFields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNotificationEndpoint ¶
func CreateNotificationEndpoint( init func(NotificationEndpointFields, *testing.T) (influxdb.NotificationEndpointService, influxdb.SecretService, func()), t *testing.T, )
CreateNotificationEndpoint testing.
func DeleteNotificationEndpoint ¶
func DeleteNotificationEndpoint( init func(NotificationEndpointFields, *testing.T) (influxdb.NotificationEndpointService, influxdb.SecretService, func()), t *testing.T, )
DeleteNotificationEndpoint testing.
func ErrorsEqual ¶
ErrorsEqual checks to see if the provided errors are equivalent.
func FindNotificationEndpointByID ¶
func FindNotificationEndpointByID( init func(NotificationEndpointFields, *testing.T) (influxdb.NotificationEndpointService, influxdb.SecretService, func()), t *testing.T, )
FindNotificationEndpointByID testing.
func FindNotificationEndpoints ¶
func FindNotificationEndpoints( init func(NotificationEndpointFields, *testing.T) (influxdb.NotificationEndpointService, influxdb.SecretService, func()), t *testing.T, )
FindNotificationEndpoints testing
func NotificationEndpointService ¶
func NotificationEndpointService( init func(NotificationEndpointFields, *testing.T) (influxdb.NotificationEndpointService, influxdb.SecretService, func()), t *testing.T, )
NotificationEndpointService tests all the service functions.
func PatchNotificationEndpoint ¶
func PatchNotificationEndpoint( init func(NotificationEndpointFields, *testing.T) (influxdb.NotificationEndpointService, influxdb.SecretService, func()), t *testing.T, )
PatchNotificationEndpoint testing.
func UpdateNotificationEndpoint ¶
func UpdateNotificationEndpoint( init func(NotificationEndpointFields, *testing.T) (influxdb.NotificationEndpointService, influxdb.SecretService, func()), t *testing.T, )
UpdateNotificationEndpoint testing.
Types ¶
type NotificationEndpointFields ¶
type NotificationEndpointFields struct { IDGenerator influxdb.IDGenerator TimeGenerator influxdb.TimeGenerator NotificationEndpoints []influxdb.NotificationEndpoint Orgs []*influxdb.Organization }
NotificationEndpointFields includes prepopulated data for mapping tests.
Click to show internal directories.
Click to hide internal directories.