Documentation ¶
Index ¶
- Constants
- type Assignment
- type BridgeLister
- type NetworkBridgeDevicePlugin
- func (nbdp *NetworkBridgeDevicePlugin) Allocate(ctx context.Context, r *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error)
- func (nbdp *NetworkBridgeDevicePlugin) ListAndWatch(e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error
- func (nbdp *NetworkBridgeDevicePlugin) Start() error
Constants ¶
View Source
const (
BridgesListEnvironmentVariable = "BRIDGES"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeLister ¶
type BridgeLister struct{}
func (BridgeLister) Discover ¶
func (bl BridgeLister) Discover(pluginListCh chan dpm.PluginNameList)
func (BridgeLister) GetResourceNamespace ¶
func (bl BridgeLister) GetResourceNamespace() string
func (BridgeLister) NewPlugin ¶
func (bl BridgeLister) NewPlugin(bridge string) dpm.PluginInterface
type NetworkBridgeDevicePlugin ¶
type NetworkBridgeDevicePlugin struct {
// contains filtered or unexported fields
}
func (*NetworkBridgeDevicePlugin) Allocate ¶
func (nbdp *NetworkBridgeDevicePlugin) Allocate(ctx context.Context, r *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error)
func (*NetworkBridgeDevicePlugin) ListAndWatch ¶
func (nbdp *NetworkBridgeDevicePlugin) ListAndWatch(e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error
func (*NetworkBridgeDevicePlugin) Start ¶
func (nbdp *NetworkBridgeDevicePlugin) Start() error
Click to show internal directories.
Click to hide internal directories.