Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageQueueService ¶
type MessageQueueService interface { SubscribeToManagementService(ctx context.Context) error DeleteSubscriptions(ctx context.Context) error }
func NewMessageQueueService ¶
func NewMessageQueueService( ctx context.Context, storage *models.LocalStorage, mqConfig common_mq_config.MessageQueueConfig, projectIds []uint32, googleApplicationCredentialsEnvVar string, ) (MessageQueueService, error)
func NewNoopMQService ¶
func NewNoopMQService() (MessageQueueService, error)
NewNoopMQService initializes a noopMQ struct
type PubsubSubscriber ¶
type PubsubSubscriber struct {
// contains filtered or unexported fields
}
func NewPubsubMQService ¶
func NewPubsubMQService( ctx context.Context, storage *models.LocalStorage, config PubsubSubscriberConfig, googleApplicationCredentialsEnvVar string, ) (*PubsubSubscriber, error)
func (*PubsubSubscriber) DeleteSubscriptions ¶
func (u *PubsubSubscriber) DeleteSubscriptions(ctx context.Context) error
func (*PubsubSubscriber) SubscribeToManagementService ¶
func (u *PubsubSubscriber) SubscribeToManagementService(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.