Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
//HostNameLabel label to determine hostname
HostNameLabel = "kubernetes.io/hostname"
)
Functions ¶
Types ¶
type ManagerOptions ¶
type ManagerOptions struct { RouteManager routemanager.RouteManager Hostname string Table int ProtectedSubnets []*net.IPNet FallbackIPForGwSelection net.IP GetGw func(net.IP) (net.IP, error) }
ManagerOptions contains static route management related node properties
type StaticRouteReconciler ¶
type StaticRouteReconciler struct {
// contains filtered or unexported fields
}
StaticRouteReconciler reconciles a StaticRoute object
func (*StaticRouteReconciler) Reconcile ¶
func (r *StaticRouteReconciler) Reconcile(ctx context.Context, request reconcile.Request) (res reconcile.Result, err error)
Reconcile reads that state of the cluster for a StaticRoute object and makes changes based on the state read and what is in the StaticRoute.Spec
func (*StaticRouteReconciler) SetupWithManager ¶
func (r *StaticRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.