Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Reconcile will make sure an AWS listener exists to satisfy requirements specified as options. Reconcile(ctx context.Context, options ReconcileOptions) error }
func NewController ¶
func NewController(cloud aws.CloudAPI, store store.Storer, rulesController rs.Controller) Controller
type GroupController ¶
type GroupController interface { // Reconcile ensures listeners exists in LB to satisfy ingress requirements. Reconcile(ctx context.Context, lbArn string, ingress *extensions.Ingress, tgGroup tg.TargetGroupGroup) error // Delete ensures all listeners are deleted Delete(ctx context.Context, lbArn string) error }
func NewGroupController ¶
func NewGroupController(store store.Storer, cloud aws.CloudAPI, rulesController rs.Controller) GroupController
type MockController ¶
MockController is an autogenerated mock type for the Controller type
func (*MockController) Reconcile ¶
func (_m *MockController) Reconcile(ctx context.Context, options ReconcileOptions) error
Reconcile provides a mock function with given fields: ctx, options
type ReconcileOptions ¶
type ReconcileOptions struct { LBArn string Ingress *extensions.Ingress IngressAnnos *annotations.Ingress Port loadbalancer.PortData TGGroup tg.TargetGroupGroup // If instance is specified, reconcile will operate on this instance, otherwise new listener instance will be created. Instance *elbv2.Listener }
Click to show internal directories.
Click to hide internal directories.