Documentation ¶
Index ¶
- func Register(ctx context.Context, management *config.Management) error
- type Handler
- func (h Handler) AddPattern(lm *networkv1.LinkMonitor)
- func (h Handler) DeletePattern(lm *networkv1.LinkMonitor)
- func (h Handler) OnChange(key string, lm *networkv1.LinkMonitor) (*networkv1.LinkMonitor, error)
- func (h Handler) OnRemove(key string, lm *networkv1.LinkMonitor) (*networkv1.LinkMonitor, error)
- func (h Handler) UpdateLink(key string, update *netlink.LinkUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) AddPattern ¶
func (h Handler) AddPattern(lm *networkv1.LinkMonitor)
func (Handler) DeletePattern ¶
func (h Handler) DeletePattern(lm *networkv1.LinkMonitor)
func (Handler) OnChange ¶
func (h Handler) OnChange(key string, lm *networkv1.LinkMonitor) (*networkv1.LinkMonitor, error)
func (Handler) OnRemove ¶
func (h Handler) OnRemove(key string, lm *networkv1.LinkMonitor) (*networkv1.LinkMonitor, error)
func (Handler) UpdateLink ¶
func (h Handler) UpdateLink(key string, update *netlink.LinkUpdate) error
Click to show internal directories.
Click to hide internal directories.