Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(provider core.GcpProvider) (events.EventService, error)
func NewWithClient ¶
func NewWithClient(provider core.GcpProvider, client ifaces_pubsub.PubsubClient, tasksClient ifaces_cloudtasks.CloudtasksClient) (events.EventService, error)
Types ¶
type PubsubEventService ¶
type PubsubEventService struct { events.UnimplementedeventsPlugin core.GcpProvider // contains filtered or unexported fields }
func (*PubsubEventService) ListTopics ¶
func (s *PubsubEventService) ListTopics() ([]string, error)
func (*PubsubEventService) Publish ¶
func (s *PubsubEventService) Publish(topic string, delay int, event *events.NitricEvent) error
Click to show internal directories.
Click to hide internal directories.