Documentation
¶
Index ¶
Constants ¶
View Source
const ( ActionReconcileSubnet = "ReconcileSubnet" ActionReconcileIPInstance = "ReconcileIPInstance" ActionReconcileNode = "ReconcileNode" ByInstanceIPIndexer = "instanceIP" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a set of kubernetes controllers
func NewController ¶
func NewController(config *daemonconfig.Configuration, hybridnetInformerFactory hybridnetinformer.SharedInformerFactory, kubeInformerFactory informers.SharedInformerFactory) (*Controller, error)
NewController returns a Controller to watch kubernetes CRD object events
func (*Controller) GetIPInstanceLister ¶
func (c *Controller) GetIPInstanceLister() networkinglister.IPInstanceLister
func (*Controller) GetIPInstanceSynced ¶
func (c *Controller) GetIPInstanceSynced() cache.InformerSynced
func (*Controller) GetNetworkLister ¶
func (c *Controller) GetNetworkLister() networkinglister.NetworkLister
type NodeIPCache ¶
type NodeIPCache struct {
// contains filtered or unexported fields
}
func NewNodeIPCache ¶
func NewNodeIPCache() *NodeIPCache
func (*NodeIPCache) SearchIP ¶
func (nic *NodeIPCache) SearchIP(ip net.IP) (net.HardwareAddr, bool)
func (*NodeIPCache) UpdateNodeIPs ¶
func (nic *NodeIPCache) UpdateNodeIPs(nodeList []*v1.Node, localNodeName string) error
Click to show internal directories.
Click to hide internal directories.