Documentation
¶
Index ¶
- func IgnoreAlreadyExists(err error) error
- func IgnoreNotFound(err error) error
- func IsAlreadyExists(err error) bool
- func IsLaunchTemplateNotFound(err error) bool
- func IsNotFound(err error) bool
- func IsUnfulfillableCapacity(err ec2types.CreateFleetError) bool
- func ToReasonMessage(err error) (string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreAlreadyExists ¶
func IgnoreNotFound ¶
func IsAlreadyExists ¶
func IsNotFound ¶
IsNotFound returns true if the err is an AWS error (even if it's wrapped) and is a known to mean "not found" (as opposed to a more serious or unexpected error)
func IsUnfulfillableCapacity ¶
func IsUnfulfillableCapacity(err ec2types.CreateFleetError) bool
IsUnfulfillableCapacity returns true if the Fleet err means capacity is temporarily unavailable for launching. This could be due to account limits, insufficient ec2 capacity, etc.
func ToReasonMessage ¶ added in v1.2.0
ToReasonMessage converts an error message from AWS into a well-known condition reason and well-known condition message that can be used for Launch failure classification nolint:gocyclo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.