Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewDesiredRulesOptions ¶
type NewDesiredRulesOptions struct { Priority int Logger *log.Logger ListenerRules Rules Rule *extensions.IngressRule IgnoreHostHeader bool }
type ReconcileOptions ¶
type ReconcileOptions struct { Eventf func(string, string, string, ...interface{}) ListenerArn *string ListenerRules *Rules TargetGroups targetgroups.TargetGroups }
type Rules ¶
Rules contains a slice of Rules
func NewDesiredRules ¶
func NewDesiredRules(o *NewDesiredRulesOptions) (Rules, int, error)
NewDesiredRules returns a Rules created by appending the IngressRule paths to a ListenerRules. The returned priority is the highest priority added to the rules list.
func (Rules) FindByPriority ¶
FindByPriority returns the position in the Rules slice of the rule parameter
func (Rules) FindUnusedTGs ¶
func (rs Rules) FindUnusedTGs(tgs targetgroups.TargetGroups) targetgroups.TargetGroups
FindUnusedTGs returns a list of TargetGroups that are no longer referncd by any of the rules passed into this method.
func (Rules) Reconcile ¶
func (rs Rules) Reconcile(rsOpts *ReconcileOptions) (Rules, error)
Reconcile kicks off the state synchronization for every Rule in this Rules slice.
func (Rules) StripCurrentState ¶
func (rs Rules) StripCurrentState()
StripCurrentState removes the current statefrom all Rule instances.
func (Rules) StripDesiredState ¶
func (rs Rules) StripDesiredState()
StripDesiredState removes the desired state from all Rules in the slice.
Click to show internal directories.
Click to hide internal directories.