Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastQueuePublisherName ¶
type BroadcastQueuePublisherName string // SNS Topics
func BuildBroadcastQueuePublisherName ¶
func BuildBroadcastQueuePublisherName(prefix string, name IncompleteQueueName) BroadcastQueuePublisherName
BuildBroadcastQueuePublisherName builds names to be used by SNS topics
type BroadcastQueueSubscriberName ¶
type BroadcastQueueSubscriberName string // SQS Queue subscribed to a broadcast SNS topic
func BuildBroadcastQueueSubscriberName ¶
func BuildBroadcastQueueSubscriberName(prefix, hostname string, name IncompleteQueueName) BroadcastQueueSubscriberName
type IncompleteQueueName ¶
type IncompleteQueueName string
const ( NotificationUpdated IncompleteQueueName = "notification_updated" WorkspaceUpdated IncompleteQueueName = "workspace_updated" CodebaseUpdated IncompleteQueueName = "codebase_updated" CodebaseGarbageCollection IncompleteQueueName = "codebase_gc" CodebaseGitHubCloner IncompleteQueueName = "codebase_githubCloner" CodebaseGitHubPullRequestImporter IncompleteQueueName = "codebase_githubPRimport" ViewSnapshot IncompleteQueueName = "view_snapshot" CITriggerQueue IncompleteQueueName = "ci_trigger" )
Names on the pattern of "dataType_eventName"
SQS has a length limit of 80 characters.
"production_codebase_garbageCollection_ip17231125156eunorth1computeinternal_dead" is 79 chars long The max autogenerated prefix ("production_") and suffix ("_ip123123123123eunorth1computeinternal_dead") is 11+43=55 chars The longest len allowed here is 25 chars.
func (IncompleteQueueName) String ¶
func (i IncompleteQueueName) String() string
type QueueName ¶
type QueueName string // SQS Queue where multiple instances are publishing/subscribing to the same queue
func BuildQueueName ¶
func BuildQueueName(prefix, hostname string, name IncompleteQueueName) QueueName
Click to show internal directories.
Click to hide internal directories.