Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteManager ¶
type RouteManager interface { ListRouteCR(ctx context.Context, ls metav1.LabelSelector) (helper.RouteCRList, error) CreateRouteCR(ctx context.Context, routeInfo *helper.RouteInfo) (helper.RouteCR, error) DeleteRouteCR(route string) error WaitRouteCR(crName string) error CreateCPRoutes(routes helper.RouteCRList) ([]*cloudprovider.Route, error) }
RouteManager defines an interface that can interact with nsx.vmware.com route CR
func GetRouteManager ¶
func GetRouteManager(vpcModeEnabled bool, config *rest.Config, clusterNS string) (RouteManager, error)
GetRouteManager gets an RouteManager
Click to show internal directories.
Click to hide internal directories.