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(ctx context.Context) ([]string, error)
func (*PubsubEventService) Publish ¶
func (s *PubsubEventService) Publish(ctx context.Context, topic string, delay int, event *events.NitricEvent) error
Click to show internal directories.
Click to hide internal directories.