Documentation
¶
Index ¶
- Variables
- func AddListenerStaticRule(ctx context.Context, listenerArn string, ruleCond RuleCondition, value string) error
- func AddListenerTriggerTargetGroupRule(ctx context.Context, listenerArn string, ruleCond RuleCondition, ...) error
- func DeleteListenerPathRule(ctx context.Context, listenerArn string, target RuleCondition) error
- func GetAlbCerts(ctx context.Context, albArn string) ([]string, error)
- func GetAllRules(ctx context.Context, listenerArn string) ([]types.Rule, error)
- func GetLambdaTargetGroup(ctx context.Context, lambdaArn string) (string, error)
- func GetListener(ctx context.Context, albArn string, protocol types.ProtocolEnum, port int32) (*types.Listener, error)
- func GetNextAvailablePriority(ctx context.Context, listenerArn string) (int32, error)
- func GetTargetGroupAlb(ctx context.Context, targetGroupArn string) (string, error)
- func RuleConditionMatches(rule types.Rule, target RuleCondition) bool
- type RuleCondition
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRuleNotFound = errors.New("rule not found")
Functions ¶
func AddListenerStaticRule ¶
func DeleteListenerPathRule ¶
func DeleteListenerPathRule(ctx context.Context, listenerArn string, target RuleCondition) error
func GetLambdaTargetGroup ¶
func GetListener ¶
func GetTargetGroupAlb ¶
func RuleConditionMatches ¶
func RuleConditionMatches(rule types.Rule, target RuleCondition) bool
TODO: Add unit test
Types ¶
type RuleCondition ¶
Click to show internal directories.
Click to hide internal directories.