Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NewDesiredTargetGroupOptions ¶
type NewDesiredTargetGroupOptions struct { Annotations *annotations.Annotations Tags util.Tags ALBNamePrefix string LoadBalancerID string Port int64 Logger *log.Logger SvcName string }
type ReconcileOptions ¶
type TargetGroup ¶
type TargetGroup struct { ID string SvcName string Tags Tags Current *elbv2.TargetGroup Desired *elbv2.TargetGroup Targets Targets Deleted bool // contains filtered or unexported fields }
TargetGroup contains the current/desired tags & targetgroup for the ALB
func NewCurrentTargetGroup ¶
func NewCurrentTargetGroup(o *NewCurrentTargetGroupOptions) (*TargetGroup, error)
NewCurrentTargetGroup returns a new targetgroup.TargetGroup from an elbv2.TargetGroup.
func NewDesiredTargetGroup ¶
func NewDesiredTargetGroup(o *NewDesiredTargetGroupOptions) *TargetGroup
NewDesiredTargetGroup returns a new targetgroup.TargetGroup based on the parameters provided.
func (*TargetGroup) Reconcile ¶
func (tg *TargetGroup) Reconcile(rOpts *ReconcileOptions) error
Reconcile compares the current and desired state of this TargetGroup instance. Comparison results in no action, the creation, the deletion, or the modification of an AWS target group to satisfy the ingress's current state.
type Targets ¶
type Targets struct { Current util.AWSStringSlice Desired util.AWSStringSlice }
Click to show internal directories.
Click to hide internal directories.