package
0.5.7
Repository: https://github.com/bmc-toolbox/bmclib.git
Documentation: pkg.go.dev

# Functions

CloseConnection closes a connection to a BMC, trying all interface implementations passed in.
CloseConnectionFromInterfaces pass through to library function.
CreateUser creates a user using the passed in implementation if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
CreateUserFromInterfaces pass through to library function if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
DeleteUser deletes a user from a BMC if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
DeleteUserFromInterfaces pass through to library function if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
FirmwareInstallFromInterfaces pass through to library function.
FirmwareInstallStatusFromInterfaces pass through to library function.
GetInventoryFromInterfaces is a pass through to library function.
GetPostCodeFromInterfaces is a pass through to library function.
GetPowerState sets the power state for a BMC, trying all interface implementations passed in if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
GetPowerStateFromInterfaces pass through to library function if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
OpenConnectionFromInterfaces will try all opener interfaces and remove failed ones.
ReadUsers returns all users from a BMC if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
ReadUsersFromInterfaces pass through to library function if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
ResetBMC tries all implementations for a success BMC reset if a successfulProviderName is passed in, it will be updated to be the name of the provider that successfully executed.
ResetBMCFromInterfaces pass through to library function if a successfulProviderName is passed in, it will be updated to be the name of the provider that successfully executed.
SetBootDevice sets the boot device.
SetBootDeviceFromInterfaces pass through to library function if a successfulProviderName is passed in, it will be updated to be the name of the provider that successfully executed.
SetPowerState sets the power state for a BMC, trying all interface implementations passed in if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
SetPowerStateFromInterfaces pass through to library function if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
UpdateUser updates a user's settings if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.
UpdateUserFromInterfaces pass through to library function if a metadata is passed in, it will be updated to be the name of the provider that successfully executed.

# Structs

Metadata represents details about a bmc method.

# Interfaces

BMCResetter for resetting a BMC.
BootDeviceSetter sets the next boot device for a machine.
Closer interface for closing a connection to a BMC.
FirmwareInstaller defines an interface to install firmware updates.
FirmwareInstallVerifier defines an interface to check firmware install status.
InventoryGetter defines methods to retrieve device hardware and firmware inventory.
Opener interface for opening a connection to a BMC.
PostCodeGetter defines methods to retrieve device BIOS/UEFI POST code.
PowerSetter sets the power state of a BMC.
PowerStateGetter gets the power state of a BMC.
Provider interface describes details about a provider.
UserCreator creates a user on a BMC.
UserDeleter deletes a user on a BMC.
UserReader lists all users on a BMC.
UserUpdater updates a user on a BMC.