Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultGlobalPolicyName = "everoute-global-policy"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller create global policy for the everoute cluster
func New ¶
func New( towerFactory informer.SharedInformerFactory, crdFactory crd.SharedInformerFactory, crdClient clientset.Interface, resyncPeriod time.Duration, everouteClusterID string, ) *Controller
New creates a new instance of controller.
func (*Controller) Run ¶
func (c *Controller) Run(workers uint, stopCh <-chan struct{})
Run begins processing items, and will continue until a value is sent down stopCh, or stopCh closed.
Click to show internal directories.
Click to hide internal directories.