routemanager

package
v1.29.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL