Documentation ¶
Index ¶
- type BmcApp
- func (b *BmcApp) Discovery(ctx context.Context, request *pbdiscovery.Request) (device *pbredfish.Device, err error)
- func (b *BmcApp) FindOneAndReplace(ctx context.Context, colName string, filter bson.D, body any) (err error)
- func (b *BmcApp) Health(ctx context.Context, empty *pbbmc.Empty) (*pbbmc.Empty, error)
- func (b *BmcApp) Inventory(ctx context.Context, request *pbinventory.Request) (device *pbredfish.Device, err error)
- func (b *BmcApp) ListDevices(ctx context.Context, empty *pbbmc.Empty) (devices *pbredfish.Devices, err error)
- func (b *BmcApp) SwitchLed(ctx context.Context, request *pbled.Request) (device *pbredfish.Device, err error)
- func (b *BmcApp) SwitchPower(ctx context.Context, request *pbpower.Request) (device *pbredfish.Device, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BmcApp ¶
type BmcApp struct { pbbmc.UnimplementedBmcServiceServer // contains filtered or unexported fields }
func (*BmcApp) Discovery ¶
func (b *BmcApp) Discovery(ctx context.Context, request *pbdiscovery.Request) (device *pbredfish.Device, err error)
device - remove if re-discovery and uuid updated
func (*BmcApp) FindOneAndReplace ¶
func (*BmcApp) Inventory ¶
func (b *BmcApp) Inventory(ctx context.Context, request *pbinventory.Request) (device *pbredfish.Device, err error)
device - remove if re-discovery and uuid updated
func (*BmcApp) ListDevices ¶
Click to show internal directories.
Click to hide internal directories.