dmiclient

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMIClient

type DMIClient struct {
	Client     dmiapi.DeviceMapperServiceClient
	Ctx        context.Context
	Conn       *grpc.ClientConn
	CancelFunc context.CancelFunc
	// contains filtered or unexported fields
}

type DMIClients

type DMIClients struct {
	// contains filtered or unexported fields
}
var DMIClientsImp *DMIClients

func (*DMIClients) CreateDMIClient

func (dcs *DMIClients) CreateDMIClient(protocol, sockPath string)

func (*DMIClients) CreateDeviceModel

func (dcs *DMIClients) CreateDeviceModel(model *v1alpha2.DeviceModel) error

func (*DMIClients) RegisterDevice

func (dcs *DMIClients) RegisterDevice(device *v1alpha2.Device) error

func (*DMIClients) RemoveDevice

func (dcs *DMIClients) RemoveDevice(device *v1alpha2.Device) error

func (*DMIClients) RemoveDeviceModel

func (dcs *DMIClients) RemoveDeviceModel(model *v1alpha2.DeviceModel) error

func (*DMIClients) UpdateDevice

func (dcs *DMIClients) UpdateDevice(device *v1alpha2.Device) error

func (*DMIClients) UpdateDeviceModel

func (dcs *DMIClients) UpdateDeviceModel(model *v1alpha2.DeviceModel) error

Jump to

Keyboard shortcuts

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