Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Run instructs the workers to start processing items from the queue. Run(ctx context.Context) error }
Controller represents a controller that handles Kubernetes resources.
type IngressController ¶
type IngressController struct {
// contains filtered or unexported fields
}
IngressController is the controller for Ingress resources.
func NewIngressController ¶
func NewIngressController(kubeClient kubernetes.Interface, er record.EventRecorder, ingressInformer extsv1beta1informers.IngressInformer, serviceInformer corev1informers.ServiceInformer, kubeCache dklbcache.KubernetesResourceCache, edgelbManager manager.EdgeLBManager, secretsReflector secretsreflector.SecretsReflector) *IngressController
NewIngressController creates a new instance of the EdgeLB ingress controller.
type ServiceController ¶
type ServiceController struct {
// contains filtered or unexported fields
}
func NewServiceController ¶
func NewServiceController(kubeClient kubernetes.Interface, er record.EventRecorder, serviceInformer corev1informers.ServiceInformer, kubeCache dklbcache.KubernetesResourceCache, edgelbManager manager.EdgeLBManager) *ServiceController
NewServiceController creates a new instance of the EdgeLB service controller.
type WorkItem ¶
type WorkItem struct { // Key is the key of the Kubernetes resource being synced. Key string // Tombstone is the tombstone (i.e. last known state) of the Kubernetes resource being synced. Tombstone interface{} }
WorkItem represents an item that is placed onto the controller's work queue. It is a pairing between the "namespace/name" key corresponding to a given Kubernetes resource and the resource's tombstone in case the resource has been deleted.
Click to show internal directories.
Click to hide internal directories.