package
2.0.4+incompatible
Repository: https://github.com/mintel/elasticsearch-asg.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
KeepAlive keeps a lifecycle event in the Transition:Wait state as long as condition c returns false.
NewEventFromMsg creates a new event from a lifecycle message.
# Constants
TestEvent is sent by AWS on initial lifecycle hook creation.
TransitionLaunching represents an instance that is launching.
TransitionTerminating represents an instance that is terminating.
# Variables
ErrExpired is returned when a lifecycle event should be expried according to its timeout and start timestamp.
ErrTestEvent is returned for new Events if it is a test event.
ErrUnknownTransition is returned for Transitions other than launching or terminating.
ErrUnmarshal is returned when a unmarshalled JSON string doesn't appear to be a lifecycle event.
# Type aliases
Transition is an enum representing the possible AWS Autoscaling Group transitions that can have a lifecycle hook.