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