Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Opt ¶
type Opt func(m *RouteManager) (ret *RouteManager, err error)
func WithCGroupEventChan ¶
func WithCGroupEventChan(ch <-chan types.CGroupEvents) Opt
func WithConfig ¶
func WithLogger ¶
func WithLogger(log *zap.SugaredLogger) Opt
func WithNFTMan ¶
func WithNFTMan(t interfaces.NFTManager) Opt
type RouteManager ¶
type RouteManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...Opt) (ret *RouteManager, err error)
func (*RouteManager) RunRouteManager ¶
func (m *RouteManager) RunRouteManager(ctx context.Context) (err error)
Click to show internal directories.
Click to hide internal directories.