Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNamespaceController ¶
func NewNamespaceController(k8sClientset *kubernetes.Clientset, calicoClient *client.Client) controller.Controller
NewNamespaceController Constructor for NamespaceController
Types ¶
type NamespaceController ¶
type NamespaceController struct {
// contains filtered or unexported fields
}
NamespaceController Implements Controller interface Responsible for monitoring kubernetes namespaces and syncing them to Calico datastore.
func (*NamespaceController) Run ¶
func (c *NamespaceController) Run(threadiness int, reconcilerPeriod string, stopCh chan struct{})
Run starts the controller.
Click to show internal directories.
Click to hide internal directories.