Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageHandler ¶
type MessageHandler struct { Requests chan controller.Request DrainQueue *string Timeout int SvcAutoscaling autoscalingiface.AutoScalingAPI SvcSQS sqsiface.SQSAPI SvcEC2 ec2iface.EC2API }
func NewMessageHandler ¶
func NewMessageHandler(requests chan controller.Request, drainQueue *string, svcAutoscaling autoscalingiface.AutoScalingAPI, svcSQS sqsiface.SQSAPI, svcEC2 ec2iface.EC2API) *MessageHandler
func (*MessageHandler) Run ¶
func (mh *MessageHandler) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.