Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UdevWatcher ¶
type UdevWatcher struct {
// contains filtered or unexported fields
}
UdevWatcher maintains the state of attached ENIs to the instance. It also has supporting elements to maintain consistency and update intervals
func New ¶
func New(ctx context.Context, primaryMAC string, udevwrap udevwrapper.Udev, state dockerstate.TaskEngineState, stateChangeEvents chan<- statechange.Event) *UdevWatcher
New is used to return an instance of the UdevWatcher struct
func (*UdevWatcher) Init ¶
func (udevWatcher *UdevWatcher) Init() error
Init initializes a new ENI Watcher
func (*UdevWatcher) Start ¶
func (udevWatcher *UdevWatcher) Start()
Start periodically updates the state of ENIs connected to the system
func (*UdevWatcher) Stop ¶
func (udevWatcher *UdevWatcher) Stop()
Stop is used to invoke the cancellation routine
Click to show internal directories.
Click to hide internal directories.