Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPodController ¶
func NewPodController(k8sClientset *kubernetes.Clientset, calicoClient *client.Client) controller.Controller
NewPodController Constructor for PodController
Types ¶
type EndpointCache ¶
type PodController ¶
type PodController struct {
// contains filtered or unexported fields
}
PodController implements the Controller interface. It is responsible for monitoring kubernetes pods and updating workload endpoints in the Calico datastore if changed.
func (*PodController) Run ¶
func (c *PodController) Run(threadiness int, reconcilerPeriod string, stopCh chan struct{})
Run starts controller.Internally it starts syncing kubernetes and calico caches.
Click to show internal directories.
Click to hide internal directories.