Documentation
¶
Index ¶
- type DMIClient
- type DMIClients
- func (dcs *DMIClients) CreateDMIClient(protocol, sockPath string)
- func (dcs *DMIClients) CreateDeviceModel(model *v1alpha2.DeviceModel) error
- func (dcs *DMIClients) RegisterDevice(device *v1alpha2.Device) error
- func (dcs *DMIClients) RemoveDevice(device *v1alpha2.Device) error
- func (dcs *DMIClients) RemoveDeviceModel(model *v1alpha2.DeviceModel) error
- func (dcs *DMIClients) UpdateDevice(device *v1alpha2.Device) error
- func (dcs *DMIClients) UpdateDeviceModel(model *v1alpha2.DeviceModel) error
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
Click to show internal directories.
Click to hide internal directories.