Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) Allocate(ctx context.Context, r *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error)
- func (p *Plugin) GetDevicePluginOptions(ctx context.Context, e *pluginapi.Empty) (*pluginapi.DevicePluginOptions, error)
- func (p *Plugin) GetDevices() []*pluginapi.Device
- func (p *Plugin) GetPreferredAllocation(context.Context, *pluginapi.PreferredAllocationRequest) (*pluginapi.PreferredAllocationResponse, error)
- func (p *Plugin) ListAndWatch(e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error
- func (p *Plugin) PreStartContainer(ctx context.Context, r *pluginapi.PreStartContainerRequest) (*pluginapi.PreStartContainerResponse, error)
- func (p *Plugin) UpdateDevices() error
- type RtlSdrDev
Constants ¶
View Source
const (
ResourceName = "rtl-sdr"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
func (*Plugin) Allocate ¶
func (p *Plugin) Allocate(ctx context.Context, r *pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error)
func (*Plugin) GetDevicePluginOptions ¶
func (*Plugin) GetDevices ¶
func (*Plugin) GetPreferredAllocation ¶
func (p *Plugin) GetPreferredAllocation(context.Context, *pluginapi.PreferredAllocationRequest) (*pluginapi.PreferredAllocationResponse, error)
func (*Plugin) ListAndWatch ¶
func (*Plugin) PreStartContainer ¶
func (p *Plugin) PreStartContainer(ctx context.Context, r *pluginapi.PreStartContainerRequest) (*pluginapi.PreStartContainerResponse, error)
func (*Plugin) UpdateDevices ¶
Click to show internal directories.
Click to hide internal directories.