dummy

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDummyAllocator

NewDummyAllocator returns a new DummyAllocator

Types

type DummyAllocator

type DummyAllocator struct {
}

DummyAllocator is a struct{}

func (*DummyAllocator) Allocate

Allocate returns /dev/fuse for dummy device

func (*DummyAllocator) GetDevicePluginOptions

func (ta *DummyAllocator) GetDevicePluginOptions(ctx context.Context, e *pluginapi.Empty) (*pluginapi.DevicePluginOptions, error)

GetDevicePluginOptions returns empty DevicePluginOptions

func (*DummyAllocator) ListAndWatch

ListAndWatch not implement

func (*DummyAllocator) ListAndWatchWithResourceName

func (ta *DummyAllocator) ListAndWatchWithResourceName(resourceName string, e *pluginapi.Empty, s pluginapi.DevicePlugin_ListAndWatchServer) error

ListAndWatchWithResourceName sends dummy device back to server

func (*DummyAllocator) PreStartContainer

PreStartContainer returns empty PreStartContainerResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL