Documentation ¶
Index ¶
- type RouteRegistry
- func (r *RouteRegistry) CreateRoute(ctx kapi.Context, route *routeapi.Route) error
- func (r *RouteRegistry) DeleteRoute(ctx kapi.Context, id string) error
- func (r *RouteRegistry) GetRoute(ctx kapi.Context, id string) (*routeapi.Route, error)
- func (r *RouteRegistry) ListRoutes(ctx kapi.Context, labels labels.Selector) (*routeapi.RouteList, error)
- func (r *RouteRegistry) UpdateRoute(ctx kapi.Context, route *routeapi.Route) error
- func (r *RouteRegistry) WatchRoutes(ctx kapi.Context, label labels.Selector, field fields.Selector, ...) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteRegistry ¶
RouteRegistry provides an in-memory implementation of the route.Registry interface.
func NewRouteRegistry ¶
func NewRouteRegistry() *RouteRegistry
NewRouteRegistry creates a new RouteRegistry.
func (*RouteRegistry) CreateRoute ¶
func (*RouteRegistry) DeleteRoute ¶
func (r *RouteRegistry) DeleteRoute(ctx kapi.Context, id string) error
func (*RouteRegistry) ListRoutes ¶
func (*RouteRegistry) UpdateRoute ¶
Click to show internal directories.
Click to hide internal directories.