Versions in this module Expand all Collapse all v0 v0.1.2 Apr 5, 2023 Changes in this version + type BmcApp struct + func New(ctx context.Context) (bmcApp *BmcApp, err error) + 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)