# Functions
NewAllocateDeviceEvent is constructor for AllocateDevice event.
NewPlugin creates a new Plugin with the provides Options.
UseDeps returns Option that can inject custom dependencies.
# Variables
DefaultPlugin is a default instance of DeviceManager manager plugin.
# Structs
AllocateDevice event is triggered when a container is requesting a device supported by contiv on this node.
Deps lists dependencies of the DeviceManager plugin.
DeviceManager plugin implements allocation & connection of special devices that may need to be connected to pods in case they are defined in resources section of a pod definition.
MemifInfo holds memif-related information of a pod.
Mount represents a host-to-container mount.
# Interfaces
API defines methods provided by the DeviceManager plugin for use by other plugins to query pod memif allocation info and release pod memif allocations.
DockerClient defines API of a Docker client needed by PodManager.
# Type aliases
Option is a function that acts on a Plugin to inject Dependencies or configuration.