mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RdmaDeviceSpec

type RdmaDeviceSpec struct {
	mock.Mock
}

RdmaDeviceSpec is an autogenerated mock type for the RdmaDeviceSpec type

func (*RdmaDeviceSpec) Get

func (_m *RdmaDeviceSpec) Get(_a0 string) []*v1beta1.DeviceSpec

Get provides a mock function with given fields: _a0

type ResourceServer

type ResourceServer struct {
	mock.Mock
}

ResourceServer is an autogenerated mock type for the ResourceServer type

func (*ResourceServer) Allocate

Allocate provides a mock function with given fields: _a0, _a1

func (*ResourceServer) GetDevicePluginOptions

func (_m *ResourceServer) GetDevicePluginOptions(_a0 context.Context, _a1 *v1beta1.Empty) (*v1beta1.DevicePluginOptions, error)

GetDevicePluginOptions provides a mock function with given fields: _a0, _a1

func (*ResourceServer) ListAndWatch

ListAndWatch provides a mock function with given fields: _a0, _a1

func (*ResourceServer) PreStartContainer

PreStartContainer provides a mock function with given fields: _a0, _a1

func (*ResourceServer) Restart

func (_m *ResourceServer) Restart() error

Restart provides a mock function with given fields:

func (*ResourceServer) Start

func (_m *ResourceServer) Start() error

Start provides a mock function with given fields:

func (*ResourceServer) Stop

func (_m *ResourceServer) Stop() error

Stop provides a mock function with given fields:

func (*ResourceServer) Watch

func (_m *ResourceServer) Watch() error

Watch provides a mock function with given fields:

type ResourceServerConnector

type ResourceServerConnector struct {
	mock.Mock
}

ResourceServerConnector is an autogenerated mock type for the ResourceServerConnector type

func (*ResourceServerConnector) Close

func (_m *ResourceServerConnector) Close(_a0 *grpc.ClientConn)

Close provides a mock function with given fields: _a0

func (*ResourceServerConnector) CreateServer

func (_m *ResourceServerConnector) CreateServer()

CreateServer provides a mock function with given fields:

func (*ResourceServerConnector) DeleteServer

func (_m *ResourceServerConnector) DeleteServer()

DeleteServer provides a mock function with given fields:

func (*ResourceServerConnector) Dial

Dial provides a mock function with given fields: _a0, _a1

func (*ResourceServerConnector) GetServer

func (_m *ResourceServerConnector) GetServer() *grpc.Server

GetServer provides a mock function with given fields:

func (*ResourceServerConnector) Listen

func (_m *ResourceServerConnector) Listen(_a0 string, _a1 string) (net.Listener, error)

Listen provides a mock function with given fields: _a0, _a1

func (*ResourceServerConnector) Register

Register provides a mock function with given fields: _a0, _a1

func (*ResourceServerConnector) Serve

func (_m *ResourceServerConnector) Serve(_a0 net.Listener)

Serve provides a mock function with given fields: _a0

func (*ResourceServerConnector) Stop

func (_m *ResourceServerConnector) Stop()

Stop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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