Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller describes an ingress controller
func NewController ¶
func NewController(cfg ControllerConfig) *Controller
NewController returns a new ingress controller
type ControllerConfig ¶
type ControllerConfig struct { Client kubernetes.Interface IngressWrap *ingressutil.IngressWrap IngressWorkQueue workqueue.RateLimitingInterface RolloutsInformer informers.RolloutInformer RolloutWorkQueue workqueue.RateLimitingInterface MetricsServer *metrics.MetricsServer ALBClasses []string NGINXClasses []string }
ControllerConfig describes the data required to instantiate a new ingress controller
type IngressWrapper ¶
type IngressWrapper interface { GetCached(namespace, name string) (*ingressutil.Ingress, error) Update(ctx context.Context, namespace string, ingress *ingressutil.Ingress) (*ingressutil.Ingress, error) }
Click to show internal directories.
Click to hide internal directories.