Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExternalIDName = "iface-id" DefaultExternalIDValue = "default-externalID-value" DynamicEndpointPrefix = "tower.ep.dynamic" StaticEndpointPrefix = "tower.ep.static" VMEndpointPrefix = DynamicEndpointPrefix + ".vm-" ControllerEndpointPrefix = StaticEndpointPrefix + ".ctrl-" SystemEndpointPrefix = StaticEndpointPrefix + ".sys-" )
Variables ¶
This section is empty.
Functions ¶
func GetCtrlEndpointName ¶
func GetCtrlEndpointName(cluster string, ctrl schema.EverouteControllerInstance) string
func GetSystemEndpointName ¶
func ValidKubernetesLabel ¶
ValidKubernetesLabel check if is a valid kubernetes label
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New( towerFactory informer.SharedInformerFactory, crdFactory crd.SharedInformerFactory, crdClient clientset.Interface, resyncPeriod time.Duration, namespace 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 it is closed.
Click to show internal directories.
Click to hide internal directories.