Documentation ¶
Index ¶
Constants ¶
View Source
const EgressServiceServedPodsAddrSetName = "egresssvc-served-pods"
Variables ¶
This section is empty.
Functions ¶
func GetEgressServiceAddrSetDbIDs ¶
func GetEgressServiceAddrSetDbIDs(controller string) *libovsdbops.DbObjectIDs
Types ¶
type Controller ¶
func NewController ¶
func NewController( controllerName string, client kubernetes.Interface, nbClient libovsdbclient.Client, addressSetFactory addressset.AddressSetFactory, initClusterEgressPolicies InitClusterEgressPoliciesFunc, ensureNoRerouteNodePolicies EnsureNoRerouteNodePoliciesFunc, deleteLegacyDefaultNoRerouteNodePolicies DeleteLegacyDefaultNoRerouteNodePoliciesFunc, createDefaultRouteToExternalForIC CreateDefaultRouteToExternalFunc, stopCh <-chan struct{}, esInformer egressserviceinformer.EgressServiceInformer, serviceInformer coreinformers.ServiceInformer, endpointSliceInformer discoveryinformers.EndpointSliceInformer, nodeInformer coreinformers.NodeInformer, zone string) (*Controller, error)
type CreateDefaultRouteToExternalFunc ¶
type CreateDefaultRouteToExternalFunc func(nbClient libovsdbclient.Client, nodeName string) error
type DeleteLegacyDefaultNoRerouteNodePoliciesFunc ¶
type DeleteLegacyDefaultNoRerouteNodePoliciesFunc func(libovsdbclient.Client, string) error
type EnsureNoRerouteNodePoliciesFunc ¶
type EnsureNoRerouteNodePoliciesFunc func(client libovsdbclient.Client, addressSetFactory addressset.AddressSetFactory, controllerName string, nodeLister corelisters.NodeLister) error
type InitClusterEgressPoliciesFunc ¶
type InitClusterEgressPoliciesFunc func(client libovsdbclient.Client, addressSetFactory addressset.AddressSetFactory, controllerName string) error
Click to show internal directories.
Click to hide internal directories.