SYMBOL INDEX (1161 symbols across 129 files) FILE: bmc/bios.go type BiosConfigurationGetter (line 12) | type BiosConfigurationGetter interface type biosConfigurationGetterProvider (line 16) | type biosConfigurationGetterProvider struct type BiosConfigurationSetter (line 21) | type BiosConfigurationSetter interface type biosConfigurationSetterProvider (line 26) | type biosConfigurationSetterProvider struct type BiosConfigurationResetter (line 31) | type BiosConfigurationResetter interface type biosConfigurationResetterProvider (line 35) | type biosConfigurationResetterProvider struct function biosConfiguration (line 40) | func biosConfiguration(ctx context.Context, generic []biosConfigurationG... function setBiosConfiguration (line 68) | func setBiosConfiguration(ctx context.Context, generic []biosConfigurati... function setBiosConfigurationFromFile (line 96) | func setBiosConfigurationFromFile(ctx context.Context, generic []biosCon... function resetBiosConfiguration (line 124) | func resetBiosConfiguration(ctx context.Context, generic []biosConfigura... function GetBiosConfigurationInterfaces (line 152) | func GetBiosConfigurationInterfaces(ctx context.Context, generic []inter... function SetBiosConfigurationInterfaces (line 181) | func SetBiosConfigurationInterfaces(ctx context.Context, generic []inter... function SetBiosConfigurationFromFileInterfaces (line 210) | func SetBiosConfigurationFromFileInterfaces(ctx context.Context, generic... function ResetBiosConfigurationInterfaces (line 239) | func ResetBiosConfigurationInterfaces(ctx context.Context, generic []int... FILE: bmc/bmc.go type Metadata (line 11) | type Metadata struct method RegisterSpanAttributes (line 30) | func (m *Metadata) RegisterSpanAttributes(host string, span trace.Span) { function newMetadata (line 24) | func newMetadata() Metadata { FILE: bmc/boot_device.go type BootDeviceType (line 12) | type BootDeviceType constant BootDeviceTypeBIOS (line 15) | BootDeviceTypeBIOS BootDeviceType = "bios" constant BootDeviceTypeCDROM (line 16) | BootDeviceTypeCDROM BootDeviceType = "cdrom" constant BootDeviceTypeDiag (line 17) | BootDeviceTypeDiag BootDeviceType = "diag" constant BootDeviceTypeFloppy (line 18) | BootDeviceTypeFloppy BootDeviceType = "floppy" constant BootDeviceTypeDisk (line 19) | BootDeviceTypeDisk BootDeviceType = "disk" constant BootDeviceTypeNone (line 20) | BootDeviceTypeNone BootDeviceType = "none" constant BootDeviceTypePXE (line 21) | BootDeviceTypePXE BootDeviceType = "pxe" constant BootDeviceTypeRemoteDrive (line 22) | BootDeviceTypeRemoteDrive BootDeviceType = "remote_drive" constant BootDeviceTypeSDCard (line 23) | BootDeviceTypeSDCard BootDeviceType = "sd_card" constant BootDeviceTypeUSB (line 24) | BootDeviceTypeUSB BootDeviceType = "usb" constant BootDeviceTypeUtil (line 25) | BootDeviceTypeUtil BootDeviceType = "utilities" constant BootDeviceUefiHTTP (line 26) | BootDeviceUefiHTTP BootDeviceType = "uefi_http" type BootDeviceSetter (line 30) | type BootDeviceSetter interface type BootDeviceOverrideGetter (line 35) | type BootDeviceOverrideGetter interface type bootDeviceProviders (line 40) | type bootDeviceProviders struct type bootOverrideProvider (line 46) | type bootOverrideProvider struct type BootDeviceOverride (line 51) | type BootDeviceOverride struct function setBootDevice (line 61) | func setBootDevice(ctx context.Context, timeout time.Duration, bootDevic... function SetBootDeviceFromInterfaces (line 95) | func SetBootDeviceFromInterfaces(ctx context.Context, timeout time.Durat... function getBootDeviceOverride (line 119) | func getBootDeviceOverride( function GetBootDeviceOverrideFromInterface (line 147) | func GetBootDeviceOverrideFromInterface( FILE: bmc/boot_device_test.go type bootDeviceTester (line 15) | type bootDeviceTester struct method BootDeviceSet (line 20) | func (b *bootDeviceTester) BootDeviceSet(ctx context.Context, bootDevi... method Name (line 30) | func (b *bootDeviceTester) Name() string { function TestSetBootDevice (line 34) | func TestSetBootDevice(t *testing.T) { function TestSetBootDeviceFromInterfaces (line 78) | func TestSetBootDeviceFromInterfaces(t *testing.T) { type mockBootDeviceOverrideGetter (line 123) | type mockBootDeviceOverrideGetter struct method Name (line 128) | func (m *mockBootDeviceOverrideGetter) Name() string { method BootDeviceOverrideGet (line 132) | func (m *mockBootDeviceOverrideGetter) BootDeviceOverrideGet(_ context... function TestBootDeviceOverrideGet (line 136) | func TestBootDeviceOverrideGet(t *testing.T) { FILE: bmc/connection.go type Opener (line 14) | type Opener interface type Closer (line 19) | type Closer interface type connectionProviders (line 24) | type connectionProviders struct function OpenConnectionFromInterfaces (line 32) | func OpenConnectionFromInterfaces(ctx context.Context, timeout time.Dura... function closeConnection (line 114) | func closeConnection(ctx context.Context, c []connectionProviders) (meta... function CloseConnectionFromInterfaces (line 139) | func CloseConnectionFromInterfaces(ctx context.Context, generic []interf... FILE: bmc/connection_test.go type connTester1 (line 14) | type connTester1 struct method Open (line 18) | func (r *connTester1) Open(ctx context.Context) (err error) { method Close (line 25) | func (r *connTester1) Close(ctx context.Context) (err error) { method Name (line 32) | func (p *connTester1) Name() string { type connTester2 (line 36) | type connTester2 struct method Open (line 38) | func (r *connTester2) Open(ctx context.Context) (err error) { method Close (line 43) | func (r *connTester2) Close(ctx context.Context) (err error) { method Name (line 47) | func (p *connTester2) Name() string { function TestOpenConnectionFromInterfaces (line 51) | func TestOpenConnectionFromInterfaces(t *testing.T) { function TestCloseConnection (line 117) | func TestCloseConnection(t *testing.T) { function TestCloseConnectionFromInterfaces (line 147) | func TestCloseConnectionFromInterfaces(t *testing.T) { FILE: bmc/firmware.go type FirmwareInstaller (line 18) | type FirmwareInstaller interface type firmwareInstallerProvider (line 33) | type firmwareInstallerProvider struct function firmwareInstall (line 39) | func firmwareInstall(ctx context.Context, component, operationApplyTime ... function FirmwareInstallFromInterfaces (line 69) | func FirmwareInstallFromInterfaces(ctx context.Context, component, opera... type FirmwareInstallVerifier (line 103) | type FirmwareInstallVerifier interface type firmwareInstallVerifierProvider (line 117) | type firmwareInstallVerifierProvider struct function firmwareInstallStatus (line 123) | func firmwareInstallStatus(ctx context.Context, installVersion, componen... function FirmwareInstallStatusFromInterfaces (line 153) | func FirmwareInstallStatusFromInterfaces(ctx context.Context, installVer... type FirmwareInstallProvider (line 187) | type FirmwareInstallProvider interface type firmwareInstallProvider (line 196) | type firmwareInstallProvider struct function firmwareInstallUploadAndInitiate (line 202) | func firmwareInstallUploadAndInitiate(ctx context.Context, component str... function FirmwareInstallUploadAndInitiateFromInterfaces (line 231) | func FirmwareInstallUploadAndInitiateFromInterfaces(ctx context.Context,... type FirmwareInstallerUploaded (line 263) | type FirmwareInstallerUploaded interface type firmwareInstallerWithOptionsProvider (line 276) | type firmwareInstallerWithOptionsProvider struct function firmwareInstallUploaded (line 282) | func firmwareInstallUploaded(ctx context.Context, component, uploadTaskI... function FirmwareInstallerUploadedFromInterfaces (line 313) | func FirmwareInstallerUploadedFromInterfaces(ctx context.Context, compon... type FirmwareInstallStepsGetter (line 344) | type FirmwareInstallStepsGetter interface type firmwareInstallStepsGetterProvider (line 349) | type firmwareInstallStepsGetterProvider struct function FirmwareInstallStepsFromInterfaces (line 355) | func FirmwareInstallStepsFromInterfaces(ctx context.Context, component s... function firmwareInstallSteps (line 386) | func firmwareInstallSteps(ctx context.Context, component string, generic... type FirmwareUploader (line 415) | type FirmwareUploader interface type firmwareUploaderProvider (line 420) | type firmwareUploaderProvider struct function FirmwareUploadFromInterfaces (line 426) | func FirmwareUploadFromInterfaces(ctx context.Context, component string,... function firmwareUpload (line 457) | func firmwareUpload(ctx context.Context, component string, file *os.File... type FirmwareTaskVerifier (line 490) | type FirmwareTaskVerifier interface type firmwareTaskVerifierProvider (line 506) | type firmwareTaskVerifierProvider struct function firmwareTaskStatus (line 513) | func firmwareTaskStatus(ctx context.Context, kind bconsts.FirmwareInstal... function FirmwareTaskStatusFromInterfaces (line 543) | func FirmwareTaskStatusFromInterfaces(ctx context.Context, kind bconsts.... FILE: bmc/firmware_test.go type firmwareInstallTester (line 17) | type firmwareInstallTester struct method FirmwareInstall (line 22) | func (f *firmwareInstallTester) FirmwareInstall(ctx context.Context, c... method Name (line 26) | func (r *firmwareInstallTester) Name() string { function TestFirmwareInstall (line 30) | func TestFirmwareInstall(t *testing.T) { function TestFirmwareInstallFromInterfaces (line 71) | func TestFirmwareInstallFromInterfaces(t *testing.T) { type firmwareInstallStatusTester (line 113) | type firmwareInstallStatusTester struct method FirmwareInstallStatus (line 118) | func (f *firmwareInstallStatusTester) FirmwareInstallStatus(ctx contex... method Name (line 122) | func (r *firmwareInstallStatusTester) Name() string { function TestFirmwareInstallStatus (line 126) | func TestFirmwareInstallStatus(t *testing.T) { function TestFirmwareInstallStatusFromInterfaces (line 167) | func TestFirmwareInstallStatusFromInterfaces(t *testing.T) { type firmwareInstallUploadAndInitiateTester (line 208) | type firmwareInstallUploadAndInitiateTester struct method FirmwareInstallUploadAndInitiate (line 213) | func (f *firmwareInstallUploadAndInitiateTester) FirmwareInstallUpload... method Name (line 217) | func (r *firmwareInstallUploadAndInitiateTester) Name() string { function TestFirmwareInstallUploadAndInitiate (line 221) | func TestFirmwareInstallUploadAndInitiate(t *testing.T) { function TestFirmwareInstallUploadAndInitiateFromInterfaces (line 261) | func TestFirmwareInstallUploadAndInitiateFromInterfaces(t *testing.T) { type firmwareInstallUploadTester (line 301) | type firmwareInstallUploadTester struct method FirmwareInstallUploaded (line 306) | func (f *firmwareInstallUploadTester) FirmwareInstallUploaded(ctx cont... method Name (line 310) | func (r *firmwareInstallUploadTester) Name() string { function TestFirmwareInstallUploaded (line 314) | func TestFirmwareInstallUploaded(t *testing.T) { function TestFirmwareInstallerUploadedFromInterfaces (line 355) | func TestFirmwareInstallerUploadedFromInterfaces(t *testing.T) { type firmwareUploadTester (line 396) | type firmwareUploadTester struct method FirmwareUpload (line 401) | func (f *firmwareUploadTester) FirmwareUpload(ctx context.Context, com... method Name (line 405) | func (r *firmwareUploadTester) Name() string { function TestFirmwareUpload (line 409) | func TestFirmwareUpload(t *testing.T) { type firmwareInstallStepsGetterTester (line 449) | type firmwareInstallStepsGetterTester struct method FirmwareInstallSteps (line 454) | func (m *firmwareInstallStepsGetterTester) FirmwareInstallSteps(ctx co... method Name (line 458) | func (m *firmwareInstallStepsGetterTester) Name() string { function TestFirmwareInstallStepsFromInterfaces (line 462) | func TestFirmwareInstallStepsFromInterfaces(t *testing.T) { type firmwareInstallStepsTester (line 502) | type firmwareInstallStepsTester struct method FirmwareInstallSteps (line 507) | func (f *firmwareInstallStepsTester) FirmwareInstallSteps(ctx context.... method Name (line 511) | func (r *firmwareInstallStepsTester) Name() string { function TestFirmwareInstallSteps (line 515) | func TestFirmwareInstallSteps(t *testing.T) { type firmwareTaskStatusTester (line 554) | type firmwareTaskStatusTester struct method FirmwareTaskStatus (line 560) | func (f *firmwareTaskStatusTester) FirmwareTaskStatus(ctx context.Cont... method Name (line 564) | func (r *firmwareTaskStatusTester) Name() string { function TestFirmwareTaskStatus (line 568) | func TestFirmwareTaskStatus(t *testing.T) { function TestFirmwareTaskStatusFromInterfaces (line 612) | func TestFirmwareTaskStatusFromInterfaces(t *testing.T) { FILE: bmc/floppy.go type FloppyImageMounter (line 14) | type FloppyImageMounter interface type floppyImageUploaderProvider (line 19) | type floppyImageUploaderProvider struct function mountFloppyImage (line 25) | func mountFloppyImage(ctx context.Context, image io.Reader, p []floppyIm... function MountFloppyImageFromInterfaces (line 55) | func MountFloppyImageFromInterfaces(ctx context.Context, image io.Reader... type FloppyImageUnmounter (line 87) | type FloppyImageUnmounter interface type floppyImageUnmounterProvider (line 92) | type floppyImageUnmounterProvider struct function unmountFloppyImage (line 98) | func unmountFloppyImage(ctx context.Context, p []floppyImageUnmounterPro... function UnmountFloppyImageFromInterfaces (line 128) | func UnmountFloppyImageFromInterfaces(ctx context.Context, p []interface... FILE: bmc/floppy_test.go type mountFloppyImageTester (line 13) | type mountFloppyImageTester struct method MountFloppyImage (line 17) | func (p *mountFloppyImageTester) MountFloppyImage(ctx context.Context,... method Name (line 21) | func (p *mountFloppyImageTester) Name() string { function TestMountFloppyFromInterfaces (line 25) | func TestMountFloppyFromInterfaces(t *testing.T) { type unmountFloppyImageTester (line 65) | type unmountFloppyImageTester struct method UnmountFloppyImage (line 69) | func (p *unmountFloppyImageTester) UnmountFloppyImage(ctx context.Cont... method Name (line 73) | func (p *unmountFloppyImageTester) Name() string { function TestUnmountFloppyFromInterfaces (line 77) | func TestUnmountFloppyFromInterfaces(t *testing.T) { FILE: bmc/inventory.go type InventoryGetter (line 15) | type InventoryGetter interface type inventoryGetterProvider (line 19) | type inventoryGetterProvider struct function inventory (line 25) | func inventory(ctx context.Context, generic []inventoryGetterProvider) (... function GetInventoryFromInterfaces (line 55) | func GetInventoryFromInterfaces(ctx context.Context, generic []interface... FILE: bmc/inventory_test.go type inventoryGetterTester (line 14) | type inventoryGetterTester struct method Inventory (line 19) | func (f *inventoryGetterTester) Inventory(ctx context.Context) (device... method Name (line 23) | func (f *inventoryGetterTester) Name() string { function TestInventory (line 27) | func TestInventory(t *testing.T) { function TestInventoryFromInterfaces (line 65) | func TestInventoryFromInterfaces(t *testing.T) { FILE: bmc/nmi.go type NMISender (line 12) | type NMISender interface function sendNMI (line 16) | func sendNMI(ctx context.Context, timeout time.Duration, sender NMISende... function SendNMIFromInterface (line 37) | func SendNMIFromInterface( FILE: bmc/nmi_test.go type mockNMISender (line 12) | type mockNMISender struct method SendNMI (line 16) | func (m *mockNMISender) SendNMI(ctx context.Context) error { method Name (line 25) | func (m *mockNMISender) Name() string { function TestSendNMIFromInterface (line 29) | func TestSendNMIFromInterface(t *testing.T) { FILE: bmc/postcode.go type PostCodeGetter (line 13) | type PostCodeGetter interface type postCodeGetterProvider (line 21) | type postCodeGetterProvider struct function postCode (line 27) | func postCode(ctx context.Context, generic []postCodeGetterProvider) (st... function GetPostCodeInterfaces (line 57) | func GetPostCodeInterfaces(ctx context.Context, generic []interface{}) (... FILE: bmc/postcode_test.go type postCodeGetterTester (line 13) | type postCodeGetterTester struct method PostCode (line 19) | func (p *postCodeGetterTester) PostCode(ctx context.Context) (status s... method Name (line 23) | func (p *postCodeGetterTester) Name() string { function TestPostCode (line 27) | func TestPostCode(t *testing.T) { function TestPostCodeFromInterfaces (line 67) | func TestPostCodeFromInterfaces(t *testing.T) { FILE: bmc/power.go type PowerSetter (line 13) | type PowerSetter interface type PowerStateGetter (line 29) | type PowerStateGetter interface type powerProviders (line 34) | type powerProviders struct function setPowerState (line 41) | func setPowerState(ctx context.Context, timeout time.Duration, state str... function SetPowerStateFromInterfaces (line 77) | func SetPowerStateFromInterfaces(ctx context.Context, timeout time.Durat... function getPowerState (line 102) | func getPowerState(ctx context.Context, timeout time.Duration, p []power... function GetPowerStateFromInterfaces (line 133) | func GetPowerStateFromInterfaces(ctx context.Context, timeout time.Durat... FILE: bmc/power_test.go type powerTester (line 13) | type powerTester struct method PowerSet (line 18) | func (p *powerTester) PowerSet(ctx context.Context, state string) (ok ... method PowerStateGet (line 28) | func (p *powerTester) PowerStateGet(ctx context.Context) (state string... method Name (line 35) | func (p *powerTester) Name() string { function TestSetPowerState (line 39) | func TestSetPowerState(t *testing.T) { function TestSetPowerStateFromInterfaces (line 79) | func TestSetPowerStateFromInterfaces(t *testing.T) { function TestGetPowerState (line 128) | func TestGetPowerState(t *testing.T) { function TestGetPowerStateFromInterfaces (line 165) | func TestGetPowerStateFromInterfaces(t *testing.T) { FILE: bmc/provider.go type Provider (line 6) | type Provider interface function getProviderName (line 13) | func getProviderName(provider interface{}) string { FILE: bmc/reset.go type BMCResetter (line 15) | type BMCResetter interface type bmcProviders (line 20) | type bmcProviders struct function resetBMC (line 26) | func resetBMC(ctx context.Context, timeout time.Duration, resetType stri... function ResetBMCFromInterfaces (line 59) | func ResetBMCFromInterfaces(ctx context.Context, timeout time.Duration, ... FILE: bmc/reset_test.go type resetTester (line 13) | type resetTester struct method BmcReset (line 18) | func (r *resetTester) BmcReset(ctx context.Context, resetType string) ... method Name (line 28) | func (r *resetTester) Name() string { function TestResetBMC (line 32) | func TestResetBMC(t *testing.T) { function TestResetBMCFromInterfaces (line 72) | func TestResetBMCFromInterfaces(t *testing.T) { FILE: bmc/screenshot.go type ScreenshotGetter (line 13) | type ScreenshotGetter interface type screenshotGetterProvider (line 17) | type screenshotGetterProvider struct function screenshot (line 23) | func screenshot(ctx context.Context, generic []screenshotGetterProvider)... function ScreenshotFromInterfaces (line 52) | func ScreenshotFromInterfaces(ctx context.Context, generic []interface{}... FILE: bmc/screenshot_test.go type screenshotTester (line 13) | type screenshotTester struct method Screenshot (line 17) | func (r *screenshotTester) Screenshot(ctx context.Context) (img []byte... method Name (line 25) | func (r *screenshotTester) Name() string { function TestScreenshot (line 29) | func TestScreenshot(t *testing.T) { function TestScreenshotFromInterfaces (line 71) | func TestScreenshotFromInterfaces(t *testing.T) { FILE: bmc/sel.go type SystemEventLog (line 13) | type SystemEventLog interface type systemEventLogProviders (line 19) | type systemEventLogProviders struct type SystemEventLogEntries (line 24) | type SystemEventLogEntries function clearSystemEventLog (line 26) | func clearSystemEventLog(ctx context.Context, timeout time.Duration, s [... function ClearSystemEventLogFromInterfaces (line 56) | func ClearSystemEventLogFromInterfaces(ctx context.Context, timeout time... function getSystemEventLog (line 78) | func getSystemEventLog(ctx context.Context, timeout time.Duration, s []s... function GetSystemEventLogFromInterfaces (line 110) | func GetSystemEventLogFromInterfaces(ctx context.Context, timeout time.D... function getSystemEventLogRaw (line 132) | func getSystemEventLogRaw(ctx context.Context, timeout time.Duration, s ... function GetSystemEventLogRawFromInterfaces (line 164) | func GetSystemEventLogRawFromInterfaces(ctx context.Context, timeout tim... FILE: bmc/sel_test.go type mockSystemEventLogService (line 12) | type mockSystemEventLogService struct method ClearSystemEventLog (line 17) | func (m *mockSystemEventLogService) ClearSystemEventLog(ctx context.Co... method GetSystemEventLog (line 21) | func (m *mockSystemEventLogService) GetSystemEventLog(ctx context.Cont... method GetSystemEventLogRaw (line 25) | func (m *mockSystemEventLogService) GetSystemEventLogRaw(ctx context.C... method Name (line 29) | func (m *mockSystemEventLogService) Name() string { function TestClearSystemEventLog (line 33) | func TestClearSystemEventLog(t *testing.T) { function TestClearSystemEventLogFromInterfaces (line 50) | func TestClearSystemEventLogFromInterfaces(t *testing.T) { function TestGetSystemEventLog (line 71) | func TestGetSystemEventLog(t *testing.T) { function TestGetSystemEventLogFromInterfaces (line 86) | func TestGetSystemEventLogFromInterfaces(t *testing.T) { function TestGetSystemEventLogRaw (line 104) | func TestGetSystemEventLogRaw(t *testing.T) { function TestGetSystemEventLogRawFromInterfaces (line 119) | func TestGetSystemEventLogRawFromInterfaces(t *testing.T) { FILE: bmc/sol.go type SOLDeactivator (line 13) | type SOLDeactivator interface type deactivatorProvider (line 18) | type deactivatorProvider struct function deactivateSOL (line 24) | func deactivateSOL(ctx context.Context, timeout time.Duration, b []deact... function DeactivateSOLFromInterfaces (line 53) | func DeactivateSOLFromInterfaces(ctx context.Context, timeout time.Durat... FILE: bmc/sol_test.go type solTermTester (line 13) | type solTermTester struct method DeactivateSOL (line 17) | func (r *solTermTester) DeactivateSOL(ctx context.Context) (err error) { method Name (line 24) | func (r *solTermTester) Name() string { function TestDeactivateSOL (line 28) | func TestDeactivateSOL(t *testing.T) { function TestDeactivateSOLFromInterfaces (line 61) | func TestDeactivateSOLFromInterfaces(t *testing.T) { FILE: bmc/user.go type UserCreator (line 13) | type UserCreator interface type UserUpdater (line 18) | type UserUpdater interface type UserDeleter (line 23) | type UserDeleter interface type UserReader (line 28) | type UserReader interface type userProviders (line 33) | type userProviders struct function createUser (line 42) | func createUser(ctx context.Context, timeout time.Duration, user, pass, ... function CreateUserFromInterfaces (line 75) | func CreateUserFromInterfaces(ctx context.Context, timeout time.Duration... function updateUser (line 98) | func updateUser(ctx context.Context, timeout time.Duration, user, pass, ... function UpdateUserFromInterfaces (line 131) | func UpdateUserFromInterfaces(ctx context.Context, timeout time.Duration... function deleteUser (line 154) | func deleteUser(ctx context.Context, timeout time.Duration, user string,... function DeleteUserFromInterfaces (line 187) | func DeleteUserFromInterfaces(ctx context.Context, timeout time.Duration... function readUsers (line 210) | func readUsers(ctx context.Context, timeout time.Duration, u []userProvi... function ReadUsersFromInterfaces (line 239) | func ReadUsersFromInterfaces(ctx context.Context, timeout time.Duration,... FILE: bmc/user_test.go type userTester (line 13) | type userTester struct method UserCreate (line 18) | func (p *userTester) UserCreate(ctx context.Context, user, pass, role ... method UserUpdate (line 28) | func (p *userTester) UserUpdate(ctx context.Context, user, pass, role ... method UserDelete (line 38) | func (p *userTester) UserDelete(ctx context.Context, user string) (ok ... method UserRead (line 48) | func (p *userTester) UserRead(ctx context.Context) (users []map[string... method Name (line 65) | func (p *userTester) Name() string { function TestUserCreate (line 69) | func TestUserCreate(t *testing.T) { function TestCreateUserFromInterfaces (line 111) | func TestCreateUserFromInterfaces(t *testing.T) { function TestUpdateUser (line 163) | func TestUpdateUser(t *testing.T) { function TestUpdateUserFromInterfaces (line 205) | func TestUpdateUserFromInterfaces(t *testing.T) { function TestDeleteUser (line 256) | func TestDeleteUser(t *testing.T) { function TestDeleteUserFromInterfaces (line 296) | func TestDeleteUserFromInterfaces(t *testing.T) { function TestReadUsers (line 345) | func TestReadUsers(t *testing.T) { function TestReadUsersFromInterfaces (line 391) | func TestReadUsersFromInterfaces(t *testing.T) { FILE: bmc/virtual_media.go type VirtualMediaSetter (line 12) | type VirtualMediaSetter interface type virtualMediaProviders (line 17) | type virtualMediaProviders struct function setVirtualMedia (line 23) | func setVirtualMedia(ctx context.Context, kind string, mediaURL string, ... function SetVirtualMediaFromInterfaces (line 54) | func SetVirtualMediaFromInterfaces(ctx context.Context, kind string, med... FILE: bmc/virtual_media_test.go type virtualMediaTester (line 13) | type virtualMediaTester struct method SetVirtualMedia (line 18) | func (r *virtualMediaTester) SetVirtualMedia(ctx context.Context, kind... method Name (line 28) | func (r *virtualMediaTester) Name() string { function TestSetVirtualMedia (line 32) | func TestSetVirtualMedia(t *testing.T) { function TestSetVirtualMediaFromInterfaces (line 73) | func TestSetVirtualMediaFromInterfaces(t *testing.T) { FILE: client.go constant defaultConnectTimeout (line 38) | defaultConnectTimeout = 30 * time.Second constant pkgName (line 39) | pkgName = "github.com/bmc-toolbox/bmclib" type Client (line 43) | type Client struct method defaultTimeout (line 141) | func (c *Client) defaultTimeout(ctx context.Context) time.Duration { method registerHomeAssistantProvider (line 154) | func (c *Client) registerHomeAssistantProvider() error { method registerRPCProvider (line 169) | func (c *Client) registerRPCProvider() error { method registerIPMIProvider (line 184) | func (c *Client) registerIPMIProvider() error { method registerASRRProvider (line 203) | func (c *Client) registerASRRProvider() { method registerGofishProvider (line 211) | func (c *Client) registerGofishProvider() { method registerIntelAMTProvider (line 228) | func (c *Client) registerIntelAMTProvider() { method registerDellProvider (line 240) | func (c *Client) registerDellProvider() { method registerSupermicroProvider (line 254) | func (c *Client) registerSupermicroProvider() { method registerOpenBMCProvider (line 269) | func (c *Client) registerOpenBMCProvider() { method registerProviders (line 284) | func (c *Client) registerProviders() { method GetMetadata (line 322) | func (c *Client) GetMetadata() bmc.Metadata { method setMetadata (line 331) | func (c *Client) setMetadata(metadata bmc.Metadata) { method registry (line 343) | func (c *Client) registry() *registrar.Registry { method RegisterSpanAttributes (line 352) | func (c *Client) RegisterSpanAttributes(m bmc.Metadata, span oteltrace... method Open (line 380) | func (c *Client) Open(ctx context.Context) error { method Close (line 405) | func (c *Client) Close(ctx context.Context) (err error) { method FilterForCompatible (line 429) | func (c *Client) FilterForCompatible(ctx context.Context) { method GetPowerState (line 438) | func (c *Client) GetPowerState(ctx context.Context) (state string, err... method SetPowerState (line 450) | func (c *Client) SetPowerState(ctx context.Context, state string) (ok ... method CreateUser (line 462) | func (c *Client) CreateUser(ctx context.Context, user, pass, role stri... method UpdateUser (line 474) | func (c *Client) UpdateUser(ctx context.Context, user, pass, role stri... method DeleteUser (line 486) | func (c *Client) DeleteUser(ctx context.Context, user string) (ok bool... method ReadUsers (line 498) | func (c *Client) ReadUsers(ctx context.Context) (users []map[string]st... method GetBootDeviceOverride (line 510) | func (c *Client) GetBootDeviceOverride(ctx context.Context) (override ... method SetBootDevice (line 521) | func (c *Client) SetBootDevice(ctx context.Context, bootDevice string,... method SetVirtualMedia (line 536) | func (c *Client) SetVirtualMedia(ctx context.Context, kind string, med... method ResetBMC (line 548) | func (c *Client) ResetBMC(ctx context.Context, resetType string) (ok b... method DeactivateSOL (line 560) | func (c *Client) DeactivateSOL(ctx context.Context) (err error) { method Inventory (line 569) | func (c *Client) Inventory(ctx context.Context) (device *common.Device... method GetBiosConfiguration (line 578) | func (c *Client) GetBiosConfiguration(ctx context.Context) (biosConfig... method SetBiosConfiguration (line 589) | func (c *Client) SetBiosConfiguration(ctx context.Context, biosConfig ... method SetBiosConfigurationFromFile (line 600) | func (c *Client) SetBiosConfigurationFromFile(ctx context.Context, cfg... method ResetBiosConfiguration (line 611) | func (c *Client) ResetBiosConfiguration(ctx context.Context) (err erro... method FirmwareInstall (line 623) | func (c *Client) FirmwareInstall(ctx context.Context, component string... method FirmwareInstallStatus (line 637) | func (c *Client) FirmwareInstallStatus(ctx context.Context, installVer... method PostCode (line 650) | func (c *Client) PostCode(ctx context.Context) (status string, code in... method Screenshot (line 661) | func (c *Client) Screenshot(ctx context.Context) (image []byte, fileTy... method ClearSystemEventLog (line 672) | func (c *Client) ClearSystemEventLog(ctx context.Context) (err error) { method MountFloppyImage (line 683) | func (c *Client) MountFloppyImage(ctx context.Context, image io.Reader... method UnmountFloppyImage (line 694) | func (c *Client) UnmountFloppyImage(ctx context.Context) (err error) { method FirmwareInstallSteps (line 706) | func (c *Client) FirmwareInstallSteps(ctx context.Context, component s... method FirmwareUpload (line 718) | func (c *Client) FirmwareUpload(ctx context.Context, component string,... method FirmwareTaskStatus (line 730) | func (c *Client) FirmwareTaskStatus(ctx context.Context, kind constant... method FirmwareInstallUploaded (line 742) | func (c *Client) FirmwareInstallUploaded(ctx context.Context, componen... method FirmwareInstallUploadAndInitiate (line 753) | func (c *Client) FirmwareInstallUploadAndInitiate(ctx context.Context,... method GetSystemEventLog (line 765) | func (c *Client) GetSystemEventLog(ctx context.Context) (entries bmc.S... method GetSystemEventLogRaw (line 775) | func (c *Client) GetSystemEventLogRaw(ctx context.Context) (eventlog s... method SendNMI (line 785) | func (c *Client) SendNMI(ctx context.Context) error { type Auth (line 60) | type Auth struct type providerConfig (line 67) | type providerConfig struct function NewClient (line 80) | func NewClient(host, user, pass string, opts ...Option) *Client { FILE: client_test.go function TestBMC (line 14) | func TestBMC(t *testing.T) { function TestWithRedfishVersionsNotCompatible (line 57) | func TestWithRedfishVersionsNotCompatible(t *testing.T) { function TestWithRedfishBasicAuth (line 83) | func TestWithRedfishBasicAuth(t *testing.T) { function TestWithConnectionTimeout (line 114) | func TestWithConnectionTimeout(t *testing.T) { function TestDefaultTimeout (line 140) | func TestDefaultTimeout(t *testing.T) { function equalWithinErrorMargin (line 173) | func equalWithinErrorMargin(a, b time.Duration) bool { type testProvider (line 177) | type testProvider struct method Name (line 184) | func (t *testProvider) Name() string { method Open (line 191) | func (t *testProvider) Open(ctx context.Context) error { method Close (line 195) | func (t *testProvider) Close(ctx context.Context) error { method PowerStateGet (line 199) | func (t *testProvider) PowerStateGet(ctx context.Context) (string, err... method PowerSet (line 203) | func (t *testProvider) PowerSet(ctx context.Context, state string) err... method BootDeviceSet (line 207) | func (t *testProvider) BootDeviceSet(ctx context.Context, bootDevice s... function registryNames (line 211) | func registryNames(r []*registrar.Driver) []string { function TestOpenFiltered (line 219) | func TestOpenFiltered(t *testing.T) { FILE: constants/constants.go type OperationApplyTime (line 5) | type OperationApplyTime type FirmwareInstallStep (line 8) | type FirmwareInstallStep type TaskState (line 10) | type TaskState constant EnvEnableDebug (line 16) | EnvEnableDebug = "DEBUG_BMCLIB" constant HP (line 21) | HP = "HP" constant Dell (line 23) | Dell = "Dell" constant Supermicro (line 25) | Supermicro = "Supermicro" constant Cloudline (line 27) | Cloudline = "Cloudline" constant Quanta (line 29) | Quanta = "Quanta" constant Intel (line 31) | Intel = "Intel" constant Immediate (line 35) | Immediate OperationApplyTime = "Immediate" constant OnReset (line 37) | OnReset OperationApplyTime = "OnReset" constant OnStartUpdateRequest (line 39) | OnStartUpdateRequest OperationApplyTime = "OnStartUpdateRequest" constant FirmwareInstallInitializing (line 51) | FirmwareInstallInitializing = "initializing" constant Initializing (line 52) | Initializing TaskState = "initializing" constant FirmwareInstallQueued (line 57) | FirmwareInstallQueued = "queued" constant Queued (line 58) | Queued TaskState = "queued" constant FirmwareInstallRunning (line 63) | FirmwareInstallRunning = "running" constant Running (line 64) | Running TaskState = "running" constant FirmwareInstallComplete (line 68) | FirmwareInstallComplete = "complete" constant Complete (line 69) | Complete TaskState = "complete" constant FirmwareInstallFailed (line 73) | FirmwareInstallFailed = "failed" constant Failed (line 74) | Failed TaskState = "failed" constant FirmwareInstallPowerCycleHost (line 77) | FirmwareInstallPowerCycleHost = "powercycle-host" constant PowerCycleHost (line 78) | PowerCycleHost TaskState = "powercycle-host" constant FirmwareInstallUnknown (line 80) | FirmwareInstallUnknown = "unknown" constant Unknown (line 81) | Unknown TaskState = "unknown" constant FirmwareInstallStepUploadInitiateInstall (line 85) | FirmwareInstallStepUploadInitiateInstall FirmwareInstallStep = "upload-i... constant FirmwareInstallStepInstallStatus (line 88) | FirmwareInstallStepInstallStatus FirmwareInstallStep = "install-status" constant FirmwareInstallStepUpload (line 91) | FirmwareInstallStepUpload FirmwareInstallStep = "upload" constant FirmwareInstallStepUploadStatus (line 94) | FirmwareInstallStepUploadStatus FirmwareInstallStep = "upload-status" constant FirmwareInstallStepInstallUploaded (line 97) | FirmwareInstallStepInstallUploaded FirmwareInstallStep = "install-uploaded" constant FirmwareInstallStepPowerOffHost (line 100) | FirmwareInstallStepPowerOffHost FirmwareInstallStep = "power-off-host" constant FirmwareInstallStepResetBMCPostInstall (line 103) | FirmwareInstallStepResetBMCPostInstall FirmwareInstallStep = "reset-bmc-... constant FirmwareInstallStepResetBMCOnInstallFailure (line 106) | FirmwareInstallStepResetBMCOnInstallFailure FirmwareInstallStep = "reset... constant POSTStateBootINIT (line 109) | POSTStateBootINIT = "boot-init/pxe" constant POSTStateUEFI (line 110) | POSTStateUEFI = "uefi" constant POSTStateOS (line 111) | POSTStateOS = "grub/os" constant POSTCodeUnknown (line 112) | POSTCodeUnknown = "unknown" function ListSupportedVendors (line 116) | func ListSupportedVendors() []string { FILE: errors/errors.go type ErrUnsupportedHardware (line 131) | type ErrUnsupportedHardware struct method Error (line 135) | func (e *ErrUnsupportedHardware) Error() string { function NewErrUnsupportedHardware (line 139) | func NewErrUnsupportedHardware(s string) error { FILE: examples/bios/main.go function main (line 20) | func main() { FILE: examples/create-users/main.go function main (line 18) | func main() { FILE: examples/floppy-image/main.go function main (line 16) | func main() { FILE: examples/homeassistant/main.go function main (line 12) | func main() { FILE: examples/install-firmware/main.go function main (line 21) | func main() { FILE: examples/inventory/main.go function main (line 19) | func main() { FILE: examples/reset_bmc/reset_bmc.go function main (line 14) | func main() { FILE: examples/rpc/main.go function main (line 14) | func main() { function testConsumer (line 68) | func testConsumer(ctx context.Context) error { FILE: examples/screenshot/main.go function main (line 18) | func main() { FILE: examples/sel/main.go function main (line 16) | func main() { FILE: examples/status/main.go function main (line 15) | func main() { FILE: examples/virtualmedia/main.go function main (line 15) | func main() { FILE: filter.go method PreferProvider (line 9) | func (c *Client) PreferProvider(name string) *Client { method Supports (line 19) | func (c *Client) Supports(features ...registrar.Feature) *Client { method Using (line 29) | func (c *Client) Using(protocol string) *Client { method For (line 39) | func (c *Client) For(provider string) *Client { method PreferProtocol (line 49) | func (c *Client) PreferProtocol(protocols ...string) *Client { FILE: internal/executor/errors.go type ExecError (line 25) | type ExecError struct method Error (line 33) | func (u *ExecError) Error() string { function newExecError (line 37) | func newExecError(cmd string, r *Result) *ExecError { FILE: internal/executor/executor.go type Executor (line 15) | type Executor interface function NewExecutor (line 24) | func NewExecutor(cmd string) Executor { type Execute (line 29) | type Execute struct method GetCmd (line 46) | func (e *Execute) GetCmd() string { method SetArgs (line 54) | func (e *Execute) SetArgs(a []string) { method SetEnv (line 59) | func (e *Execute) SetEnv(env []string) { method SetStdout (line 64) | func (e *Execute) SetStdout(_ []byte) { method ExecWithContext (line 68) | func (e *Execute) ExecWithContext(ctx context.Context) (result *Result... method CheckExecutable (line 100) | func (e *Execute) CheckExecutable() error { type Result (line 39) | type Result struct FILE: internal/executor/executor_test.go function Test_Stdin (line 15) | func Test_Stdin(t *testing.T) { type checkBinTester (line 29) | type checkBinTester struct function initCheckBinTests (line 37) | func initCheckBinTests() []checkBinTester { function Test_CheckExecutable (line 91) | func Test_CheckExecutable(t *testing.T) { FILE: internal/executor/fake_executor.go type FakeExecute (line 11) | type FakeExecute struct method ExecWithContext (line 30) | func (e *FakeExecute) ExecWithContext(_ context.Context) (*Result, err... method CheckExecutable (line 49) | func (e *FakeExecute) CheckExecutable() error { method CmdPath (line 55) | func (e *FakeExecute) CmdPath() string { method SetArgs (line 59) | func (e *FakeExecute) SetArgs(a []string) { method SetEnv (line 63) | func (e *FakeExecute) SetEnv(env []string) { method SetQuiet (line 67) | func (e *FakeExecute) SetQuiet() { method SetVerbose (line 71) | func (e *FakeExecute) SetVerbose() { method SetStdout (line 75) | func (e *FakeExecute) SetStdout(b []byte) { method SetStderr (line 79) | func (e *FakeExecute) SetStderr(b []byte) { method SetStdin (line 83) | func (e *FakeExecute) SetStdin(r io.Reader) { method DisableBinCheck (line 87) | func (e *FakeExecute) DisableBinCheck() { method SetExitCode (line 91) | func (e *FakeExecute) SetExitCode(i int) { method GetCmd (line 95) | func (e *FakeExecute) GetCmd() string { function NewFakeExecutor (line 23) | func NewFakeExecutor(cmd string) Executor { FILE: internal/helper/helper.go function WhosCalling (line 11) | func WhosCalling() string { FILE: internal/helper/helper_test.go function TestWhosCalling (line 5) | func TestWhosCalling(t *testing.T) { FILE: internal/httpclient/httpclient.go function SecureTLS (line 17) | func SecureTLS(c *http.Client, rootCAs *x509.CertPool) { function DefaultTransport (line 34) | func DefaultTransport() *http.Transport { function SecureTLSOption (line 49) | func SecureTLSOption(rootCAs *x509.CertPool) func(*http.Client) { function Build (line 56) | func Build(opts ...func(*http.Client)) *http.Client { function StandardizeProcessorName (line 76) | func StandardizeProcessorName(name string) string { FILE: internal/httpclient/httpclient_test.go function CertPoolFromCert (line 12) | func CertPoolFromCert(cert *x509.Certificate) *x509.CertPool { function TestBuildWithOptions (line 18) | func TestBuildWithOptions(t *testing.T) { FILE: internal/ipmi/ipmi.go type Ipmi (line 17) | type Ipmi struct method run (line 74) | func (i *Ipmi) run(ctx context.Context, command []string) (output stri... method PowerCycle (line 133) | func (i *Ipmi) PowerCycle(ctx context.Context) (status bool, err error) { method ForceRestart (line 149) | func (i *Ipmi) ForceRestart(ctx context.Context) (status bool, err err... method PowerReset (line 176) | func (i *Ipmi) PowerReset(ctx context.Context) (status bool, err error) { method PowerCycleBmc (line 189) | func (i *Ipmi) PowerCycleBmc(ctx context.Context) (status bool, err er... method PowerResetBmc (line 202) | func (i *Ipmi) PowerResetBmc(ctx context.Context, resetType string) (o... method PowerOn (line 215) | func (i *Ipmi) PowerOn(ctx context.Context) (status bool, err error) { method PowerOnForce (line 236) | func (i *Ipmi) PowerOnForce(ctx context.Context) (status bool, err err... method PowerOff (line 249) | func (i *Ipmi) PowerOff(ctx context.Context) (status bool, err error) { method PowerSoft (line 261) | func (i *Ipmi) PowerSoft(ctx context.Context) (status bool, err error) { method PxeOnceEfi (line 275) | func (i *Ipmi) PxeOnceEfi(ctx context.Context) (status bool, err error) { method BootDeviceSet (line 288) | func (i *Ipmi) BootDeviceSet(ctx context.Context, bootDevice string, s... method PxeOnceMbr (line 318) | func (i *Ipmi) PxeOnceMbr(ctx context.Context) (status bool, err error) { method PxeOnce (line 331) | func (i *Ipmi) PxeOnce(ctx context.Context) (status bool, err error) { method IsOn (line 336) | func (i *Ipmi) IsOn(ctx context.Context) (status bool, err error) { method PowerState (line 349) | func (i *Ipmi) PowerState(ctx context.Context) (state string, err erro... method ReadUsers (line 354) | func (i *Ipmi) ReadUsers(ctx context.Context) (users []map[string]stri... method ClearSystemEventLog (line 385) | func (i *Ipmi) ClearSystemEventLog(ctx context.Context) (err error) { method GetSystemEventLog (line 391) | func (i *Ipmi) GetSystemEventLog(ctx context.Context) (entries [][]str... method GetSystemEventLogRaw (line 425) | func (i *Ipmi) GetSystemEventLogRaw(ctx context.Context) (eventlog str... method DeactivateSOL (line 434) | func (i *Ipmi) DeactivateSOL(ctx context.Context) (err error) { method SendPowerDiag (line 445) | func (i *Ipmi) SendPowerDiag(ctx context.Context) error { type Option (line 27) | type Option function WithIpmitoolPath (line 29) | func WithIpmitoolPath(path string) Option { function WithCipherSuite (line 35) | func WithCipherSuite(cipherSuite string) Option { function WithLogger (line 41) | func WithLogger(log logr.Logger) Option { function New (line 48) | func New(username string, password string, host string, opts ...Option) ... type cmdOpt (line 110) | type cmdOpt struct function formatOptions (line 115) | func formatOptions(opts []string) []cmdOpt { function parseSystemEventLog (line 404) | func parseSystemEventLog(raw string) (entries [][]string) { FILE: internal/redfishwrapper/bios.go method GetBiosConfiguration (line 10) | func (c *Client) GetBiosConfiguration(ctx context.Context) (biosConfig m... method SetBiosConfiguration (line 37) | func (c *Client) SetBiosConfiguration(ctx context.Context, biosConfig ma... method ResetBiosConfiguration (line 62) | func (c *Client) ResetBiosConfiguration(ctx context.Context) (err error) { FILE: internal/redfishwrapper/bios_test.go function biosConfigFromFixture (line 17) | func biosConfigFromFixture(t *testing.T) map[string]string { function TestGetBiosConfiguration (line 47) | func TestGetBiosConfiguration(t *testing.T) { FILE: internal/redfishwrapper/boot_device.go type bootDeviceMapping (line 12) | type bootDeviceMapping struct function bootDeviceStringToTarget (line 70) | func bootDeviceStringToTarget(device string) (schemas.BootSource, error) { function bootTargetToBootDeviceType (line 81) | func bootTargetToBootDeviceType(target schemas.BootSource) (bmc.BootDevi... method SystemBootDeviceSet (line 91) | func (c *Client) SystemBootDeviceSet(_ context.Context, bootDevice strin... method GetBootDeviceOverride (line 136) | func (c *Client) GetBootDeviceOverride(_ context.Context) (override bmc.... FILE: internal/redfishwrapper/client.go type Client (line 29) | type Client struct method Open (line 123) | func (c *Client) Open(ctx context.Context) error { method Close (line 170) | func (c *Client) Close(ctx context.Context) error { method SessionActive (line 181) | func (c *Client) SessionActive() error { method SetHttpClientTimeout (line 200) | func (c *Client) SetHttpClientTimeout(t time.Duration) { method HttpClientTimeout (line 205) | func (c *Client) HttpClientTimeout() time.Duration { method RunRawRequestWithHeaders (line 210) | func (c *Client) RunRawRequestWithHeaders(method, url string, payloadB... method Delete (line 218) | func (c *Client) Delete(url string) (*http.Response, error) { method Get (line 222) | func (c *Client) Get(url string) (*http.Response, error) { method VersionCompatible (line 227) | func (c *Client) VersionCompatible() bool { method GetBootProgress (line 273) | func (c *Client) GetBootProgress() ([]*schemas.BootProgress, error) { method PostWithHeaders (line 294) | func (c *Client) PostWithHeaders(ctx context.Context, url string, payl... method PatchWithHeaders (line 298) | func (c *Client) PatchWithHeaders(ctx context.Context, url string, pay... method Tasks (line 302) | func (c *Client) Tasks(ctx context.Context) ([]*schemas.Task, error) { method ManagerOdataID (line 311) | func (c *Client) ManagerOdataID(ctx context.Context) (string, error) { method SystemsBIOSOdataID (line 326) | func (c *Client) SystemsBIOSOdataID(ctx context.Context) (string, erro... method DeviceVendorModel (line 351) | func (c *Client) DeviceVendorModel(ctx context.Context) (vendor, model... type Option (line 45) | type Option function WithHTTPClient (line 48) | func WithHTTPClient(cli *http.Client) Option { function WithSecureTLS (line 55) | func WithSecureTLS(rootCAs *x509.CertPool) Option { function WithVersionsNotCompatible (line 65) | func WithVersionsNotCompatible(versions []string) Option { function WithBasicAuthEnabled (line 72) | func WithBasicAuthEnabled(e bool) Option { function WithEtagMatchDisabled (line 81) | func WithEtagMatchDisabled(d bool) Option { function WithLogger (line 88) | func WithLogger(l *logr.Logger) Option { function WithSystemName (line 94) | func WithSystemName(name string) Option { function NewClient (line 101) | func NewClient(host, port, user, pass string, opts ...Option) *Client { function getTimeout (line 160) | func getTimeout(ctx context.Context) time.Duration { function redfishVersionMeetsOrExceeds (line 243) | func redfishVersionMeetsOrExceeds(version string, major, minor, patch in... FILE: internal/redfishwrapper/client_test.go function TestWithVersionsNotCompatible (line 15) | func TestWithVersionsNotCompatible(t *testing.T) { function TestWithBasicAuthEnabled (line 41) | func TestWithBasicAuthEnabled(t *testing.T) { function TestWithEtagMatchDisabled (line 67) | func TestWithEtagMatchDisabled(t *testing.T) { constant fixturesDir (line 94) | fixturesDir = "./fixtures" function TestManagerOdataID (line 97) | func TestManagerOdataID(t *testing.T) { function TestSystemsBIOSOdataID (line 161) | func TestSystemsBIOSOdataID(t *testing.T) { function TestRedfishVersionMeetsOrExceeds (line 224) | func TestRedfishVersionMeetsOrExceeds(t *testing.T) { function TestGetBootProgress (line 280) | func TestGetBootProgress(t *testing.T) { FILE: internal/redfishwrapper/firmware.go type installMethod (line 25) | type installMethod constant unstructuredHttpPush (line 28) | unstructuredHttpPush installMethod = "unstructuredHttpPush" constant multipartHttpUpload (line 29) | multipartHttpUpload installMethod = "multipartUpload" type RedfishUpdateServiceParameters (line 44) | type RedfishUpdateServiceParameters struct method FirmwareUpload (line 51) | func (c *Client) FirmwareUpload(ctx context.Context, updateFile *os.File... method StartUpdateForUploadedFirmware (line 130) | func (c *Client) StartUpdateForUploadedFirmware(ctx context.Context) (ta... type TaskAccepted (line 172) | type TaskAccepted struct function taskIDFromResponseBody (line 187) | func taskIDFromResponseBody(resp []byte) (taskID string, err error) { function taskIDFromLocationHeader (line 218) | func taskIDFromLocationHeader(uri string) (taskID string, err error) { type multipartPayload (line 237) | type multipartPayload struct method multipartHTTPUpload (line 242) | func (c *Client) multipartHTTPUpload(url string, update *os.File, params... method unstructuredHttpUpload (line 256) | func (c *Client) unstructuredHttpUpload(url string, update io.Reader) (*... method firmwareInstallMethodURI (line 270) | func (c *Client) firmwareInstallMethodURI() (method installMethod, updat... function updateParametersFormField (line 294) | func updateParametersFormField(fieldName string, writer *multipart.Write... type pipeReaderFakeSeeker (line 311) | type pipeReaderFakeSeeker struct method Seek (line 316) | func (p pipeReaderFakeSeeker) Seek(offset int64, whence int) (int64, e... function multipartPayloadSize (line 324) | func multipartPayloadSize(payload *multipartPayload) (int64, *bytes.Buff... method runRequestWithMultipartPayload (line 380) | func (c *Client) runRequestWithMultipartPayload(url string, payload *mul... FILE: internal/redfishwrapper/firmware_test.go function TestRunRequestWithMultipartPayload (line 22) | func TestRunRequestWithMultipartPayload(t *testing.T) { function TestFirmwareInstallMethodURI (line 130) | func TestFirmwareInstallMethodURI(t *testing.T) { function TestTaskIDFromResponseBody (line 215) | func TestTaskIDFromResponseBody(t *testing.T) { function TestTaskIDFromLocationHeader (line 256) | func TestTaskIDFromLocationHeader(t *testing.T) { function TestUpdateParametersFormField (line 309) | func TestUpdateParametersFormField(t *testing.T) { function TestMultipartPayloadSize (line 351) | func TestMultipartPayloadSize(t *testing.T) { FILE: internal/redfishwrapper/inventory.go method compatibleOdataID (line 56) | func (c *Client) compatibleOdataID(OdataID string, knownOdataIDs []strin... method Inventory (line 66) | func (c *Client) Inventory(ctx context.Context, failOnError bool) (devic... method bmcAttributes (line 110) | func (c *Client) bmcAttributes(ctx context.Context, device *common.Devic... method chassisAttributes (line 160) | func (c *Client) chassisAttributes(ctx context.Context, device *common.D... method systemAttributes (line 199) | func (c *Client) systemAttributes(device *common.Device, failOnError boo... method firmwareAttributes (line 250) | func (c *Client) firmwareAttributes(slug, id string, firmwareObj *common... FILE: internal/redfishwrapper/inventory_collect.go method collectEnclosure (line 15) | func (c *Client) collectEnclosure(ch *schemas.Chassis, device *common.De... method collectPSUs (line 46) | func (c *Client) collectPSUs(ch *schemas.Chassis, device *common.Device,... method collectTPMs (line 87) | func (c *Client) collectTPMs(sys *schemas.ComputerSystem, device *common... method collectNICs (line 113) | func (c *Client) collectNICs(sys *schemas.ComputerSystem, device *common... method collectNetworkPortInfo (line 191) | func (c *Client) collectNetworkPortInfo( method collectEthernetInfo (line 240) | func (c *Client) collectEthernetInfo(nicPort *common.NICPort, ethernetIn... function getFirmwareVersionFromController (line 282) | func getFirmwareVersionFromController(controllers []schemas.Controllers,... method collectBIOS (line 291) | func (c *Client) collectBIOS(sys *schemas.ComputerSystem, device *common... method collectDrives (line 316) | func (c *Client) collectDrives(sys *schemas.ComputerSystem, device *comm... method collectStorageControllers (line 372) | func (c *Client) collectStorageControllers(sys *schemas.ComputerSystem, ... method collectCPUs (line 416) | func (c *Client) collectCPUs(sys *schemas.ComputerSystem, device *common... method collectDIMMs (line 455) | func (c *Client) collectDIMMs(sys *schemas.ComputerSystem, device *commo... method collectCPLDs (line 487) | func (c *Client) collectCPLDs(device *common.Device, softwareInventory [... FILE: internal/redfishwrapper/inventory_collect_test.go function TestInventoryCollectNetworkPortInfo (line 12) | func TestInventoryCollectNetworkPortInfo(t *testing.T) { function TestInventoryCollectEthernetInfo (line 115) | func TestInventoryCollectEthernetInfo(t *testing.T) { FILE: internal/redfishwrapper/main_test.go function mustReadFile (line 11) | func mustReadFile(t *testing.T, filename string) []byte { FILE: internal/redfishwrapper/power.go method PowerSet (line 15) | func (c *Client) PowerSet(ctx context.Context, state string) (ok bool, e... method BMCReset (line 34) | func (c *Client) BMCReset(ctx context.Context, resetType string) (ok boo... method SystemPowerOn (line 52) | func (c *Client) SystemPowerOn(ctx context.Context) (ok bool, err error) { method SystemPowerOff (line 75) | func (c *Client) SystemPowerOff(ctx context.Context) (ok bool, err error) { method SystemReset (line 99) | func (c *Client) SystemReset(ctx context.Context) (ok bool, err error) { method SystemPowerCycle (line 128) | func (c *Client) SystemPowerCycle(ctx context.Context) (ok bool, err err... method SystemPowerStatus (line 152) | func (c *Client) SystemPowerStatus(ctx context.Context) (result string, ... method SystemForceOff (line 166) | func (c *Client) SystemForceOff(ctx context.Context) (ok bool, err error) { method SendNMI (line 190) | func (c *Client) SendNMI(_ context.Context) error { FILE: internal/redfishwrapper/sel.go method ClearSystemEventLog (line 13) | func (c *Client) ClearSystemEventLog(ctx context.Context) (err error) { method GetSystemEventLog (line 41) | func (c *Client) GetSystemEventLog(ctx context.Context) (entries [][]str... method GetSystemEventLogRaw (line 78) | func (c *Client) GetSystemEventLogRaw(ctx context.Context) (eventlog str... FILE: internal/redfishwrapper/system.go method AccountService (line 16) | func (c *Client) AccountService() (*schemas.AccountService, error) { method UpdateService (line 25) | func (c *Client) UpdateService() (*schemas.UpdateService, error) { method System (line 35) | func (c *Client) System() (*schemas.ComputerSystem, error) { method Manager (line 59) | func (c *Client) Manager(ctx context.Context) (*schemas.Manager, error) { method Managers (line 89) | func (c *Client) Managers(ctx context.Context) ([]*schemas.Manager, erro... method Chassis (line 98) | func (c *Client) Chassis(ctx context.Context) ([]*schemas.Chassis, error) { method matchingSystem (line 106) | func (c *Client) matchingSystem(systems []*schemas.ComputerSystem) (*sch... FILE: internal/redfishwrapper/system_test.go function TestMatchingSystem (line 10) | func TestMatchingSystem(t *testing.T) { FILE: internal/redfishwrapper/task.go method Task (line 18) | func (c *Client) Task(ctx context.Context, taskID string) (*schemas.Task... method TaskStatus (line 35) | func (c *Client) TaskStatus(ctx context.Context, taskID string) (constan... method taskMessagesAsString (line 57) | func (c *Client) taskMessagesAsString(messages []schemas.Message) string { method ConvertTaskState (line 74) | func (c *Client) ConvertTaskState(state string) constants.TaskState { method TaskStateActive (line 93) | func (c *Client) TaskStateActive(state constants.TaskState) (bool, error) { FILE: internal/redfishwrapper/task_test.go function TestConvertTaskState (line 15) | func TestConvertTaskState(t *testing.T) { function TestTaskStateActive (line 50) | func TestTaskStateActive(t *testing.T) { function TestTaskStatus (line 85) | func TestTaskStatus(t *testing.T) { function TestTask (line 221) | func TestTask(t *testing.T) { FILE: internal/redfishwrapper/virtual_media.go method getVirtualMedia (line 20) | func (c *Client) getVirtualMedia(ctx context.Context) ([]*schemas.Virtua... method SetVirtualMedia (line 46) | func (c *Client) SetVirtualMedia(ctx context.Context, kind string, media... method InsertedVirtualMedia (line 129) | func (c *Client) InsertedVirtualMedia(ctx context.Context) ([]string, er... FILE: internal/redfishwrapper/virtual_media_test.go function TestGetVirtualMedia (line 14) | func TestGetVirtualMedia(t *testing.T) { function TestSetVirtualMedia_DellSystemPath (line 108) | func TestSetVirtualMedia_DellSystemPath(t *testing.T) { function TestInsertedVirtualMedia_DellSystemPath (line 145) | func TestInsertedVirtualMedia_DellSystemPath(t *testing.T) { function TestSetVirtualMedia_SlotFallback (line 179) | func TestSetVirtualMedia_SlotFallback(t *testing.T) { function TestSetVirtualMedia_InvalidMediaType (line 222) | func TestSetVirtualMedia_InvalidMediaType(t *testing.T) { FILE: internal/sum/sum.go type Sum (line 20) | type Sum struct method Open (line 77) | func (c *Sum) Open(ctx context.Context) (err error) { method Close (line 82) | func (c *Sum) Close(ctx context.Context) (err error) { method run (line 86) | func (s *Sum) run(ctx context.Context, command string, additionalArgs ... method GetCurrentBiosCfg (line 106) | func (s *Sum) GetCurrentBiosCfg(ctx context.Context) (output string, e... method LoadDefaultBiosCfg (line 110) | func (s *Sum) LoadDefaultBiosCfg(ctx context.Context) (err error) { method ChangeBiosCfg (line 115) | func (s *Sum) ChangeBiosCfg(ctx context.Context, cfgFile string, reboo... method GetBiosConfiguration (line 128) | func (s *Sum) GetBiosConfiguration(ctx context.Context) (biosConfig ma... method SetBiosConfiguration (line 154) | func (s *Sum) SetBiosConfiguration(ctx context.Context, biosConfig map... method SetBiosConfigurationFromFile (line 237) | func (s *Sum) SetBiosConfigurationFromFile(ctx context.Context, cfg st... method ResetBiosConfiguration (line 260) | func (s *Sum) ResetBiosConfiguration(ctx context.Context) (err error) { type Option (line 30) | type Option function WithSumPath (line 32) | func WithSumPath(sumPath string) Option { function WithLogger (line 38) | func WithLogger(log logr.Logger) Option { function New (line 44) | func New(host, user, pass string, opts ...Option) (*Sum, error) { FILE: internal/sum/sum_test.go function newFakeSum (line 11) | func newFakeSum(t *testing.T, fixtureName string) *Sum { function TestExec_Run (line 26) | func TestExec_Run(t *testing.T) { function TestExec_SetBiosConfiguration (line 42) | func TestExec_SetBiosConfiguration(t *testing.T) { function TestExec_GetBiosConfiguration (line 71) | func TestExec_GetBiosConfiguration(t *testing.T) { FILE: internal/utils.go function IsntLetterOrNumber (line 8) | func IsntLetterOrNumber(c rune) bool { function IsRoleValid (line 12) | func IsRoleValid(role string) bool { function StringInSlice (line 16) | func StringInSlice(str string, sl []string) bool { FILE: logging/logging.go function DefaultLogger (line 14) | func DefaultLogger() logr.Logger { function ZeroLogger (line 34) | func ZeroLogger(level string) logr.Logger { FILE: option.go type Option (line 18) | type Option function WithLogger (line 21) | func WithLogger(logger logr.Logger) Option { function WithRegistry (line 26) | func WithRegistry(registry *registrar.Registry) Option { function WithSecureTLS (line 32) | func WithSecureTLS(rootCAs *x509.CertPool) Option { function WithHTTPClient (line 39) | func WithHTTPClient(c *http.Client) Option { function WithPerProviderTimeout (line 52) | func WithPerProviderTimeout(timeout time.Duration) Option { function WithIpmitoolCipherSuite (line 58) | func WithIpmitoolCipherSuite(cipherSuite string) Option { function WithIpmitoolPort (line 64) | func WithIpmitoolPort(port string) Option { function WithIpmitoolPath (line 70) | func WithIpmitoolPath(path string) Option { function WithAsrockrackHTTPClient (line 76) | func WithAsrockrackHTTPClient(httpClient *http.Client) Option { function WithAsrockrackPort (line 82) | func WithAsrockrackPort(port string) Option { function WithRedfishHTTPClient (line 88) | func WithRedfishHTTPClient(httpClient *http.Client) Option { function WithRedfishPort (line 94) | func WithRedfishPort(port string) Option { function WithRedfishVersionsNotCompatible (line 104) | func WithRedfishVersionsNotCompatible(versions []string) Option { function WithRedfishUseBasicAuth (line 110) | func WithRedfishUseBasicAuth(useBasicAuth bool) Option { function WithRedfishEtagMatchDisabled (line 116) | func WithRedfishEtagMatchDisabled(d bool) Option { function WithRedfishSystemName (line 122) | func WithRedfishSystemName(name string) Option { function WithIntelAMTHostScheme (line 128) | func WithIntelAMTHostScheme(hostScheme string) Option { function WithIntelAMTPort (line 134) | func WithIntelAMTPort(port uint32) Option { function WithDellRedfishVersionsNotCompatible (line 144) | func WithDellRedfishVersionsNotCompatible(versions []string) Option { function WithDellRedfishUseBasicAuth (line 150) | func WithDellRedfishUseBasicAuth(useBasicAuth bool) Option { function WithRPCOpt (line 156) | func WithRPCOpt(opt rpc.Provider) Option { function WithHomeAssistantOpt (line 162) | func WithHomeAssistantOpt(opt homeassistant.Config) Option { function WithTracerProvider (line 170) | func WithTracerProvider(provider oteltrace.TracerProvider) Option { FILE: providers/asrockrack/asrockrack.go constant ProviderName (line 21) | ProviderName = "asrockrack" constant ProviderProtocol (line 23) | ProviderProtocol = "vendorapi" constant E3C256D4ID_NL (line 25) | E3C256D4ID_NL = "E3C256D4ID-NL" constant E3C246D4ID_NL (line 26) | E3C246D4ID_NL = "E3C246D4ID-NL" constant E3C246D4I_NL (line 27) | E3C246D4I_NL = "E3C246D4I-NL" type ASRockRack (line 48) | type ASRockRack struct method Name (line 111) | func (a *ASRockRack) Name() string { method Open (line 116) | func (a *ASRockRack) Open(ctx context.Context) (err error) { method supported (line 124) | func (a *ASRockRack) supported(ctx context.Context) error { method Close (line 157) | func (a *ASRockRack) Close(ctx context.Context) (err error) { method CheckCredentials (line 166) | func (a *ASRockRack) CheckCredentials(ctx context.Context) (err error) { method PostCode (line 170) | func (a *ASRockRack) PostCode(ctx context.Context) (status string, cod... type Config (line 61) | type Config struct type ASRockOption (line 67) | type ASRockOption function WithSecureTLS (line 71) | func WithSecureTLS(rootCAs *x509.CertPool) ASRockOption { function WithHTTPClient (line 78) | func WithHTTPClient(c *http.Client) ASRockOption { function New (line 85) | func New(ip string, username string, password string, log logr.Logger) *... function NewWithOptions (line 90) | func NewWithOptions(ip string, username string, password string, log log... FILE: providers/asrockrack/asrockrack_test.go function TestHttpLogin (line 12) | func TestHttpLogin(t *testing.T) { function TestClose (line 21) | func TestClose(t *testing.T) { function TestFirwmwareUpdateBMC (line 33) | func TestFirwmwareUpdateBMC(t *testing.T) { FILE: providers/asrockrack/firmware.go constant versionStrError (line 19) | versionStrError = -1 constant versionStrMatch (line 20) | versionStrMatch = 0 constant versionStrMismatch (line 21) | versionStrMismatch = 1 constant versionStrEmpty (line 22) | versionStrEmpty = 2 method FirmwareInstallSteps (line 26) | func (a *ASRockRack) FirmwareInstallSteps(ctx context.Context, component... method FirmwareUpload (line 45) | func (a *ASRockRack) FirmwareUpload(ctx context.Context, component strin... method firmwareUploadBMC (line 57) | func (a *ASRockRack) firmwareUploadBMC(ctx context.Context, file *os.Fil... method firmwareUploadBIOS (line 104) | func (a *ASRockRack) firmwareUploadBIOS(ctx context.Context, file *os.Fi... method FirmwareInstallUploaded (line 136) | func (a *ASRockRack) FirmwareInstallUploaded(ctx context.Context, compon... method firmwareInstallUploadedBIOS (line 148) | func (a *ASRockRack) firmwareInstallUploadedBIOS(ctx context.Context) er... method firmwareInstallUploadedBMC (line 163) | func (a *ASRockRack) firmwareInstallUploadedBMC(ctx context.Context) err... method FirmwareTaskStatus (line 178) | func (a *ASRockRack) FirmwareTaskStatus(ctx context.Context, kind consta... method firmwareUpdateStatus (line 189) | func (a *ASRockRack) firmwareUpdateStatus(ctx context.Context, component... method versionInstalled (line 258) | func (a *ASRockRack) versionInstalled(ctx context.Context, component, ve... FILE: providers/asrockrack/helpers.go type loginSession (line 20) | type loginSession struct type firmwareInfo (line 28) | type firmwareInfo struct type biosPOSTCode (line 39) | type biosPOSTCode struct type component (line 45) | type component struct type fru (line 59) | type fru struct type sensor (line 76) | type sensor struct type preserveConfig (line 100) | type preserveConfig struct type upgradeProgress (line 110) | type upgradeProgress struct type chassisStatus (line 118) | type chassisStatus struct type biosUpdateAction (line 126) | type biosUpdateAction struct method listUsers (line 140) | func (a *ASRockRack) listUsers(ctx context.Context) ([]*UserAccount, err... method createUpdateUser (line 160) | func (a *ASRockRack) createUpdateUser(ctx context.Context, account *User... method setFlashMode (line 186) | func (a *ASRockRack) setFlashMode(ctx context.Context) error { function multipartSize (line 218) | func multipartSize(fieldname, filename string) int64 { method uploadFirmware (line 227) | func (a *ASRockRack) uploadFirmware(ctx context.Context, endpoint string... method verifyUploadedFirmware (line 290) | func (a *ASRockRack) verifyUploadedFirmware(ctx context.Context) error { method upgradeBMC (line 304) | func (a *ASRockRack) upgradeBMC(ctx context.Context) error { method flashProgress (line 328) | func (a *ASRockRack) flashProgress(ctx context.Context, endpoint string)... method firmwareInfo (line 348) | func (a *ASRockRack) firmwareInfo(ctx context.Context) (*firmwareInfo, e... method postCodeInfo (line 368) | func (a *ASRockRack) postCodeInfo(ctx context.Context) (*biosPOSTCode, e... method inventoryInfoE3C246D41D (line 388) | func (a *ASRockRack) inventoryInfoE3C246D41D(ctx context.Context) ([]*co... method fruInfo (line 408) | func (a *ASRockRack) fruInfo(ctx context.Context) ([]*fru, error) { method sensors (line 454) | func (a *ASRockRack) sensors(ctx context.Context) ([]*sensor, error) { method biosUpgradeConfiguration (line 475) | func (a *ASRockRack) biosUpgradeConfiguration(ctx context.Context) error { method upgradeBIOS (line 500) | func (a *ASRockRack) upgradeBIOS(ctx context.Context) error { method chassisStatusInfo (line 525) | func (a *ASRockRack) chassisStatusInfo(ctx context.Context) (*chassisSta... method httpsLogin (line 545) | func (a *ASRockRack) httpsLogin(ctx context.Context) error { method httpsLogout (line 577) | func (a *ASRockRack) httpsLogout(ctx context.Context) error { method queryHTTPS (line 593) | func (a *ASRockRack) queryHTTPS(ctx context.Context, endpoint, method st... FILE: providers/asrockrack/helpers_test.go function Test_FirmwareInfo (line 10) | func Test_FirmwareInfo(t *testing.T) { function TestInventoryInfo (line 35) | func TestInventoryInfo(t *testing.T) { function Test_fruInfo (line 50) | func Test_fruInfo(t *testing.T) { function Test_sensors (line 64) | func Test_sensors(t *testing.T) { function Test_biosPOSTCode (line 78) | func Test_biosPOSTCode(t *testing.T) { function Test_chassisStatus (line 97) | func Test_chassisStatus(t *testing.T) { FILE: providers/asrockrack/inventory.go method Inventory (line 10) | func (a *ASRockRack) Inventory(ctx context.Context) (device *common.Devi... method systemHealth (line 43) | func (a *ASRockRack) systemHealth(ctx context.Context, device *common.De... method fruAttributes (line 79) | func (a *ASRockRack) fruAttributes(ctx context.Context, device *common.D... method systemAttributes (line 111) | func (a *ASRockRack) systemAttributes(ctx context.Context, device *commo... method componentAttributesE3C246 (line 153) | func (a *ASRockRack) componentAttributesE3C246(ctx context.Context, fwIn... FILE: providers/asrockrack/inventory_test.go function TestGetInventory (line 10) | func TestGetInventory(t *testing.T) { FILE: providers/asrockrack/mock_test.go type testFwUpgradeState (line 42) | type testFwUpgradeState struct function TestMain (line 54) | func TestMain(m *testing.M) { function mockASRockBMC (line 71) | func mockASRockBMC() *httptest.Server { function index (line 98) | func index(w http.ResponseWriter, r *http.Request) { function userAccountList (line 105) | func userAccountList(w http.ResponseWriter, r *http.Request) { function biosFirmwareUpgrade (line 118) | func biosFirmwareUpgrade(w http.ResponseWriter, r *http.Request) { function bmcFirmwareUpgrade (line 138) | func bmcFirmwareUpgrade(w http.ResponseWriter, r *http.Request) { function fwinfo (line 241) | func fwinfo(w http.ResponseWriter, r *http.Request) { function fruinfo (line 248) | func fruinfo(w http.ResponseWriter, r *http.Request) { function inventoryinfo (line 255) | func inventoryinfo(w http.ResponseWriter, r *http.Request) { function sensorsinfo (line 262) | func sensorsinfo(w http.ResponseWriter, r *http.Request) { function biosPOSTCodeinfo (line 278) | func biosPOSTCodeinfo(w http.ResponseWriter, r *http.Request) { function chassisStatusInfo (line 285) | func chassisStatusInfo(w http.ResponseWriter, r *http.Request) { function session (line 292) | func session(w http.ResponseWriter, r *http.Request) { FILE: providers/asrockrack/power.go type power (line 15) | type power struct method PowerStateGet (line 20) | func (a *ASRockRack) PowerStateGet(ctx context.Context) (state string, e... method PowerSet (line 64) | func (a *ASRockRack) PowerSet(ctx context.Context, state string) (ok boo... method powerAction (line 81) | func (a *ASRockRack) powerAction(ctx context.Context, action int) (ok bo... method BmcReset (line 114) | func (a *ASRockRack) BmcReset(ctx context.Context, resetType string) (ok... method resetBMC (line 124) | func (a *ASRockRack) resetBMC(ctx context.Context) error { FILE: providers/asrockrack/user.go type UserAccount (line 20) | type UserAccount struct method UserRead (line 49) | func (a *ASRockRack) UserRead(ctx context.Context) (users []map[string]s... method UserCreate (line 76) | func (a *ASRockRack) UserCreate(ctx context.Context, user, pass, role st... method UserUpdate (line 119) | func (a *ASRockRack) UserUpdate(ctx context.Context, user, pass, role st... function newUserAccount (line 166) | func newUserAccount(id int, user, pass, role string) *UserAccount { FILE: providers/asrockrack/user_test.go type testCase (line 17) | type testCase struct function Test_UserRead (line 49) | func Test_UserRead(t *testing.T) { function Test_UserCreate (line 89) | func Test_UserCreate(t *testing.T) { function Test_UserUpdate (line 124) | func Test_UserUpdate(t *testing.T) { function Test_createUser (line 159) | func Test_createUser(t *testing.T) { function Test_userAccounts (line 202) | func Test_userAccounts(t *testing.T) { FILE: providers/dell/firmware.go method FirmwareInstallSteps (line 21) | func (c *Conn) FirmwareInstallSteps(ctx context.Context, component strin... method FirmwareInstallUploadAndInitiate (line 32) | func (c *Conn) FirmwareInstallUploadAndInitiate(ctx context.Context, com... method checkQueueability (line 64) | func (c *Conn) checkQueueability(component string, tasks []*schemas.Task... method FirmwareTaskStatus (line 99) | func (c *Conn) FirmwareTaskStatus(ctx context.Context, kind constants.Fi... method statusFromJob (line 119) | func (c *Conn) statusFromJob(taskID string) (constants.TaskState, string... method statusFromTaskOem (line 139) | func (c *Conn) statusFromTaskOem(taskID string, oem json.RawMessage) (co... method job (line 159) | func (c *Conn) job(jobID string) (*Dell, error) { type oem (line 188) | type oem struct type Dell (line 192) | type Dell struct function convFirmwareTaskOem (line 209) | func convFirmwareTaskOem(oemdata json.RawMessage) (oem, error) { FILE: providers/dell/firmware_test.go function TestConvFirmwareTaskOem (line 9) | func TestConvFirmwareTaskOem(t *testing.T) { FILE: providers/dell/idrac.go constant ProviderName (line 26) | ProviderName = "dell" constant ProviderProtocol (line 28) | ProviderProtocol = "redfish" constant redfishV1Prefix (line 30) | redfishV1Prefix = "/redfish/v1" constant screenshotEndpoint (line 31) | screenshotEndpoint = "/Dell/Managers/iDRAC.Embedded.1/DellLCServi... constant managerAttributesEndpoint (line 32) | managerAttributesEndpoint = "/Managers/iDRAC.Embedded.1/Attributes" type Config (line 54) | type Config struct type Option (line 63) | type Option function WithHttpClient (line 65) | func WithHttpClient(httpClient *http.Client) Option { function WithPort (line 71) | func WithPort(port string) Option { function WithVersionsNotCompatible (line 77) | func WithVersionsNotCompatible(versionsNotCompatible []string) Option { function WithRootCAs (line 83) | func WithRootCAs(rootCAs *x509.CertPool) Option { function WithUseBasicAuth (line 89) | func WithUseBasicAuth(useBasicAuth bool) Option { type Conn (line 96) | type Conn struct method Open (line 130) | func (c *Conn) Open(ctx context.Context) (err error) { method deviceSupported (line 148) | func (c *Conn) deviceSupported(ctx context.Context) error { method Close (line 163) | func (c *Conn) Close(ctx context.Context) error { method Name (line 168) | func (c *Conn) Name() string { method Compatible (line 173) | func (c *Conn) Compatible(ctx context.Context) bool { method PowerStateGet (line 206) | func (c *Conn) PowerStateGet(ctx context.Context) (state string, err e... method PowerSet (line 211) | func (c *Conn) PowerSet(ctx context.Context, state string) (ok bool, e... method Inventory (line 216) | func (c *Conn) Inventory(ctx context.Context) (device *common.Device, ... method BmcReset (line 221) | func (c *Conn) BmcReset(ctx context.Context, resetType string) (ok boo... method GetBiosConfiguration (line 226) | func (c *Conn) GetBiosConfiguration(ctx context.Context) (biosConfig m... method SetBiosConfiguration (line 231) | func (c *Conn) SetBiosConfiguration(ctx context.Context, biosConfig ma... method ResetBiosConfiguration (line 236) | func (c *Conn) ResetBiosConfiguration(ctx context.Context) (err error) { method SendNMI (line 241) | func (c *Conn) SendNMI(ctx context.Context) error { method deviceManufacturer (line 246) | func (c *Conn) deviceManufacturer(ctx context.Context) (vendor string,... method Screenshot (line 259) | func (c *Conn) Screenshot(ctx context.Context) (image []byte, fileType... function New (line 102) | func New(host, user, pass string, log logr.Logger, opts ...Option) *Conn { FILE: providers/dell/idrac_test.go constant fixturesDir (line 22) | fixturesDir = "./fixtures" function Test_Screenshot (line 49) | func Test_Screenshot(t *testing.T) { function TestOpenErrors (line 125) | func TestOpenErrors(t *testing.T) { FILE: providers/homeassistant/homeassistant.go constant ProviderName (line 21) | ProviderName = "homeassistant" constant ProviderProtocol (line 23) | ProviderProtocol = "http" type Config (line 33) | type Config struct method Name (line 60) | func (p *Config) Name() string { method Open (line 65) | func (p *Config) Open(ctx context.Context) error { method haGetEntityState (line 78) | func (p *Config) haGetEntityState(ctx context.Context, haEntityId stri... method Close (line 133) | func (p *Config) Close(_ context.Context) (err error) { method PowerStateGet (line 138) | func (p *Config) PowerStateGet(ctx context.Context) (state string, err... method PowerSet (line 148) | func (p *Config) PowerSet(ctx context.Context, state string) (ok bool,... method BootDeviceSet (line 210) | func (p *Config) BootDeviceSet(ctx context.Context, bootDevice string,... type EntityStateResponse (line 42) | type EntityStateResponse struct function New (line 49) | func New(apiUrl string, apiToken string) *Config { FILE: providers/intelamt/intelamt.go constant ProviderName (line 16) | ProviderName = "IntelAMT" constant ProviderProtocol (line 18) | ProviderProtocol = "AMT" type iamtClient (line 31) | type iamtClient interface type Conn (line 42) | type Conn struct method Name (line 97) | func (c *Conn) Name() string { method Open (line 102) | func (c *Conn) Open(ctx context.Context) (err error) { method Close (line 107) | func (c *Conn) Close(ctx context.Context) (err error) { method Compatible (line 112) | func (c *Conn) Compatible(ctx context.Context) bool { method BootDeviceSet (line 125) | func (c *Conn) BootDeviceSet(ctx context.Context, bootDevice string, s... method PowerStateGet (line 137) | func (c *Conn) PowerStateGet(ctx context.Context) (state string, err e... method PowerSet (line 150) | func (c *Conn) PowerSet(ctx context.Context, state string) (ok bool, e... type Option (line 47) | type Option function WithPort (line 49) | func WithPort(port uint32) Option { function WithHostScheme (line 55) | func WithHostScheme(hostScheme string) Option { function WithLogger (line 61) | func WithLogger(logger logr.Logger) Option { type Config (line 67) | type Config struct function New (line 76) | func New(host string, user string, pass string, opts ...Option) *Conn { FILE: providers/intelamt/intelamt_test.go type mock (line 13) | type mock struct method Open (line 23) | func (m *mock) Open(ctx context.Context) error { method Close (line 27) | func (m *mock) Close(ctx context.Context) error { method IsPoweredOn (line 31) | func (m *mock) IsPoweredOn(ctx context.Context) (bool, error) { method PowerOn (line 38) | func (m *mock) PowerOn(ctx context.Context) error { method PowerOff (line 42) | func (m *mock) PowerOff(ctx context.Context) error { method PowerCycle (line 46) | func (m *mock) PowerCycle(ctx context.Context) error { method SetPXE (line 50) | func (m *mock) SetPXE(ctx context.Context) error { function TestClose (line 54) | func TestClose(t *testing.T) { function TestName (line 61) | func TestName(t *testing.T) { function TestBootDeviceSet (line 68) | func TestBootDeviceSet(t *testing.T) { function TestPowerStateGet (line 103) | func TestPowerStateGet(t *testing.T) { function TestPowerSet (line 142) | func TestPowerSet(t *testing.T) { function TestCompatible (line 194) | func TestCompatible(t *testing.T) { function TestNew (line 225) | func TestNew(t *testing.T) { FILE: providers/ipmitool/ipmitool.go constant ProviderName (line 17) | ProviderName = "ipmitool" constant ProviderProtocol (line 19) | ProviderProtocol = "ipmi" type Conn (line 38) | type Conn struct method Open (line 101) | func (c *Conn) Open(ctx context.Context) (err error) { method Close (line 111) | func (c *Conn) Close(ctx context.Context) (err error) { method Compatible (line 116) | func (c *Conn) Compatible(ctx context.Context) bool { method Name (line 139) | func (c *Conn) Name() string { method BootDeviceSet (line 144) | func (c *Conn) BootDeviceSet(ctx context.Context, bootDevice string, s... method BmcReset (line 149) | func (c *Conn) BmcReset(ctx context.Context, resetType string) (ok boo... method DeactivateSOL (line 154) | func (c *Conn) DeactivateSOL(ctx context.Context) (err error) { method UserRead (line 159) | func (c *Conn) UserRead(ctx context.Context) (users []map[string]strin... method PowerStateGet (line 164) | func (c *Conn) PowerStateGet(ctx context.Context) (state string, err e... method PowerSet (line 169) | func (c *Conn) PowerSet(ctx context.Context, state string) (ok bool, e... method ClearSystemEventLog (line 193) | func (c *Conn) ClearSystemEventLog(ctx context.Context) (err error) { method GetSystemEventLog (line 197) | func (c *Conn) GetSystemEventLog(ctx context.Context) (entries [][]str... method GetSystemEventLogRaw (line 201) | func (c *Conn) GetSystemEventLogRaw(ctx context.Context) (eventlog str... method SendNMI (line 206) | func (c *Conn) SendNMI(ctx context.Context) error { type Config (line 43) | type Config struct type Option (line 51) | type Option function WithLogger (line 53) | func WithLogger(log logr.Logger) Option { function WithPort (line 59) | func WithPort(port string) Option { function WithCipherSuite (line 65) | func WithCipherSuite(cipherSuite string) Option { function WithIpmitoolPath (line 71) | func WithIpmitoolPath(ipmitoolPath string) Option { function New (line 77) | func New(host, user, pass string, opts ...Option) (*Conn, error) { FILE: providers/ipmitool/ipmitool_test.go function TestMain (line 14) | func TestMain(m *testing.M) { function TestPowerState (line 38) | func TestPowerState(t *testing.T) { function TestPowerSet1 (line 56) | func TestPowerSet1(t *testing.T) { function TestBootDeviceSet2 (line 74) | func TestBootDeviceSet2(t *testing.T) { function TestBMCReset (line 92) | func TestBMCReset(t *testing.T) { function TestDeactivateSOL (line 110) | func TestDeactivateSOL(t *testing.T) { function TestSystemEventLogClear (line 128) | func TestSystemEventLogClear(t *testing.T) { function TestSystemEventLogGet (line 146) | func TestSystemEventLogGet(t *testing.T) { function TestSystemEventLogGetRaw (line 164) | func TestSystemEventLogGetRaw(t *testing.T) { function TestSendNMI (line 182) | func TestSendNMI(t *testing.T) { FILE: providers/openbmc/firmware.go method FirmwareInstallSteps (line 20) | func (c *Conn) FirmwareInstallSteps(ctx context.Context, component strin... method FirmwareInstallUploadAndInitiate (line 42) | func (c *Conn) FirmwareInstallUploadAndInitiate(ctx context.Context, com... method checkQueueability (line 74) | func (c *Conn) checkQueueability(component string, tasks []*schemas.Task... method FirmwareTaskStatus (line 98) | func (c *Conn) FirmwareTaskStatus(ctx context.Context, kind constants.Fi... FILE: providers/openbmc/openbmc.go constant ProviderName (line 22) | ProviderName = "openbmc" constant ProviderProtocol (line 24) | ProviderProtocol = "redfish" type Config (line 42) | type Config struct type Option (line 51) | type Option function WithHttpClient (line 53) | func WithHttpClient(httpClient *http.Client) Option { function WithPort (line 59) | func WithPort(port string) Option { function WithRootCAs (line 65) | func WithRootCAs(rootCAs *x509.CertPool) Option { function WithUseBasicAuth (line 71) | func WithUseBasicAuth(useBasicAuth bool) Option { type Conn (line 78) | type Conn struct method Open (line 116) | func (c *Conn) Open(ctx context.Context) (err error) { method deviceSupported (line 128) | func (c *Conn) deviceSupported(ctx context.Context) error { method Close (line 159) | func (c *Conn) Close(ctx context.Context) error { method Name (line 164) | func (c *Conn) Name() string { method PowerStateGet (line 169) | func (c *Conn) PowerStateGet(ctx context.Context) (state string, err e... method PowerSet (line 174) | func (c *Conn) PowerSet(ctx context.Context, state string) (ok bool, e... method Inventory (line 179) | func (c *Conn) Inventory(ctx context.Context) (device *common.Device, ... method BmcReset (line 184) | func (c *Conn) BmcReset(ctx context.Context, resetType string) (ok boo... method SendNMI (line 189) | func (c *Conn) SendNMI(ctx context.Context) error { function New (line 86) | func New(host, user, pass string, log logr.Logger, opts ...Option) *Conn { FILE: providers/providers.go constant FeaturePowerState (line 9) | FeaturePowerState registrar.Feature = "powerstate" constant FeaturePowerSet (line 11) | FeaturePowerSet registrar.Feature = "powerset" constant FeatureUserCreate (line 13) | FeatureUserCreate registrar.Feature = "usercreate" constant FeatureUserDelete (line 15) | FeatureUserDelete registrar.Feature = "userdelete" constant FeatureUserUpdate (line 17) | FeatureUserUpdate registrar.Feature = "userupdate" constant FeatureUserRead (line 19) | FeatureUserRead registrar.Feature = "userread" constant FeatureBmcReset (line 21) | FeatureBmcReset registrar.Feature = "bmcreset" constant FeatureBootDeviceSet (line 23) | FeatureBootDeviceSet registrar.Feature = "bootdeviceset" constant FeatureVirtualMedia (line 25) | FeatureVirtualMedia registrar.Feature = "virtualmedia" constant FeatureMountFloppyImage (line 29) | FeatureMountFloppyImage registrar.Feature = "mountFloppyImage" constant FeatureUnmountFloppyImage (line 31) | FeatureUnmountFloppyImage registrar.Feature = "unmountFloppyImage" constant FeatureFirmwareInstall (line 34) | FeatureFirmwareInstall registrar.Feature = "firmwareinstall" constant FeatureFirmwareInstallStatus (line 36) | FeatureFirmwareInstallStatus registrar.Feature = "firmwareinstallstatus" constant FeatureInventoryRead (line 38) | FeatureInventoryRead registrar.Feature = "inventoryread" constant FeaturePostCodeRead (line 40) | FeaturePostCodeRead registrar.Feature = "postcoderead" constant FeatureScreenshot (line 42) | FeatureScreenshot registrar.Feature = "screenshot" constant FeatureClearSystemEventLog (line 44) | FeatureClearSystemEventLog registrar.Feature = "clearsystemeventlog" constant FeatureGetSystemEventLog (line 46) | FeatureGetSystemEventLog registrar.Feature = "getsystemeventlog" constant FeatureGetSystemEventLogRaw (line 48) | FeatureGetSystemEventLogRaw registrar.Feature = "getsystemeventlograw" constant FeatureFirmwareInstallSteps (line 50) | FeatureFirmwareInstallSteps registrar.Feature = "firmwareinstallsteps" constant FeatureFirmwareUpload (line 53) | FeatureFirmwareUpload registrar.Feature = "firmwareupload" constant FeatureFirmwareInstallUploaded (line 56) | FeatureFirmwareInstallUploaded registrar.Feature = "firmwareinstalluploa... constant FeatureFirmwareTaskStatus (line 59) | FeatureFirmwareTaskStatus registrar.Feature = "firmwaretaskstatus" constant FeatureFirmwareUploadInitiateInstall (line 62) | FeatureFirmwareUploadInitiateInstall registrar.Feature = "uploadandiniti... constant FeatureDeactivateSOL (line 65) | FeatureDeactivateSOL registrar.Feature = "deactivatesol" constant FeatureResetBiosConfiguration (line 68) | FeatureResetBiosConfiguration registrar.Feature = "resetbiosconfig" constant FeatureSetBiosConfiguration (line 71) | FeatureSetBiosConfiguration registrar.Feature = "setbiosconfig" constant FeatureSetBiosConfigurationFromFile (line 74) | FeatureSetBiosConfigurationFromFile registrar.Feature = "setbiosconfigfile" constant FeatureGetBiosConfiguration (line 77) | FeatureGetBiosConfiguration registrar.Feature = "getbiosconfig" constant FeatureBootProgress (line 80) | FeatureBootProgress registrar.Feature = "bootprogress" FILE: providers/redfish/main_test.go constant fixturesDir (line 17) | fixturesDir = "./fixtures" function jsonResponse (line 27) | func jsonResponse(endpoint string) []byte { function TestMain (line 57) | func TestMain(m *testing.M) { function serviceRoot (line 76) | func serviceRoot(w http.ResponseWriter, r *http.Request) { function sessionService (line 85) | func sessionService(w http.ResponseWriter, r *http.Request) { FILE: providers/redfish/redfish.go constant ProviderName (line 21) | ProviderName = "gofish" constant ProviderProtocol (line 23) | ProviderProtocol = "redfish" type Conn (line 46) | type Conn struct method Open (line 146) | func (c *Conn) Open(ctx context.Context) (err error) { method Close (line 151) | func (c *Conn) Close(ctx context.Context) error { method Name (line 156) | func (c *Conn) Name() string { method Compatible (line 161) | func (c *Conn) Compatible(ctx context.Context) bool { method BmcReset (line 194) | func (c *Conn) BmcReset(ctx context.Context, resetType string) (ok boo... method PowerStateGet (line 199) | func (c *Conn) PowerStateGet(ctx context.Context) (state string, err e... method PowerSet (line 204) | func (c *Conn) PowerSet(ctx context.Context, state string) (ok bool, e... method BootDeviceSet (line 209) | func (c *Conn) BootDeviceSet(ctx context.Context, bootDevice string, s... method BootDeviceOverrideGet (line 214) | func (c *Conn) BootDeviceOverrideGet(ctx context.Context) (bmc.BootDev... method SetVirtualMedia (line 219) | func (c *Conn) SetVirtualMedia(ctx context.Context, kind string, media... method Inventory (line 224) | func (c *Conn) Inventory(ctx context.Context) (device *common.Device, ... method GetBiosConfiguration (line 229) | func (c *Conn) GetBiosConfiguration(ctx context.Context) (biosConfig m... method SetBiosConfiguration (line 234) | func (c *Conn) SetBiosConfiguration(ctx context.Context, biosConfig ma... method ResetBiosConfiguration (line 239) | func (c *Conn) ResetBiosConfiguration(ctx context.Context) (err error) { method SendNMI (line 244) | func (c *Conn) SendNMI(ctx context.Context) error { type Config (line 52) | type Config struct type Option (line 68) | type Option function WithHttpClient (line 70) | func WithHttpClient(httpClient *http.Client) Option { function WithPort (line 76) | func WithPort(port string) Option { function WithVersionsNotCompatible (line 82) | func WithVersionsNotCompatible(versionsNotCompatible []string) Option { function WithRootCAs (line 88) | func WithRootCAs(rootCAs *x509.CertPool) Option { function WithUseBasicAuth (line 94) | func WithUseBasicAuth(useBasicAuth bool) Option { function WithSystemName (line 100) | func WithSystemName(name string) Option { function WithEtagMatchDisabled (line 109) | func WithEtagMatchDisabled(d bool) Option { function New (line 116) | func New(host, user, pass string, log logr.Logger, opts ...Option) *Conn { FILE: providers/redfish/sel.go method ClearSystemEventLog (line 5) | func (c *Conn) ClearSystemEventLog(ctx context.Context) (err error) { method GetSystemEventLog (line 9) | func (c *Conn) GetSystemEventLog(ctx context.Context) (entries [][]strin... method GetSystemEventLogRaw (line 13) | func (c *Conn) GetSystemEventLogRaw(ctx context.Context) (eventlog strin... FILE: providers/redfish/sel_test.go function Test_GetSystemEventLog (line 11) | func Test_GetSystemEventLog(t *testing.T) { function Test_GetSystemEventLogRaw (line 22) | func Test_GetSystemEventLogRaw(t *testing.T) { FILE: providers/redfish/user.go method UserRead (line 21) | func (c *Conn) UserRead(ctx context.Context) (users []map[string]string,... method UserUpdate (line 50) | func (c *Conn) UserUpdate(ctx context.Context, user, pass, role string) ... method UserCreate (line 87) | func (c *Conn) UserCreate(ctx context.Context, user, pass, role string) ... method UserDelete (line 138) | func (c *Conn) UserDelete(ctx context.Context, user string) (ok bool, er... FILE: providers/rpc/experimental.go method embedPayload (line 9) | func (p *RequestPayload) embedPayload(rawJSON []byte, dotPath string) ([... FILE: providers/rpc/http.go method createRequest (line 14) | func (p *Provider) createRequest(ctx context.Context, rp RequestPayload)... method handleResponse (line 47) | func (p *Provider) handleResponse(statusCode int, headers http.Header, b... FILE: providers/rpc/http_test.go function testRequest (line 17) | func testRequest(method, reqURL string, body RequestPayload, headers htt... function TestRequestKVS (line 25) | func TestRequestKVS(t *testing.T) { function TestResponseKVS (line 61) | func TestResponseKVS(t *testing.T) { function TestCreateRequest (line 87) | func TestCreateRequest(t *testing.T) { function TestContentSize (line 134) | func TestContentSize(t *testing.T) { FILE: providers/rpc/logging.go type requestDetails (line 9) | type requestDetails struct type responseDetails (line 16) | type responseDetails struct function requestKVS (line 23) | func requestKVS(method, url string, headers http.Header, body *bytes.Buf... function responseKVS (line 41) | func responseKVS(statusCode int, headers http.Header, body *bytes.Buffer... FILE: providers/rpc/payload.go type Method (line 5) | type Method constant BootDeviceMethod (line 8) | BootDeviceMethod Method = "setBootDevice" constant PowerSetMethod (line 9) | PowerSetMethod Method = "setPowerState" constant PowerGetMethod (line 10) | PowerGetMethod Method = "getPowerState" constant VirtualMediaMethod (line 11) | VirtualMediaMethod Method = "setVirtualMedia" constant PingMethod (line 12) | PingMethod Method = "ping" type RequestPayload (line 16) | type RequestPayload struct type BootDeviceParams (line 24) | type BootDeviceParams struct type PowerSetParams (line 31) | type PowerSetParams struct type VirtualMediaParams (line 36) | type VirtualMediaParams struct type ResponsePayload (line 44) | type ResponsePayload struct type ResponseError (line 52) | type ResponseError struct method String (line 68) | func (r *ResponseError) String() string { type PowerGetResult (line 57) | type PowerGetResult method String (line 64) | func (p PowerGetResult) String() string { constant PoweredOn (line 60) | PoweredOn PowerGetResult = "on" constant PoweredOff (line 61) | PoweredOff PowerGetResult = "off" FILE: providers/rpc/rpc.go constant ProviderName (line 23) | ProviderName = "rpc" constant ProviderProtocol (line 25) | ProviderProtocol = "http" constant timestampHeader (line 28) | timestampHeader = "X-BMCLIB-Timestamp" constant signatureHeader (line 29) | signatureHeader = "X-BMCLIB-Signature" constant contentType (line 30) | contentType = "application/json" constant maxContentLenAllowed (line 31) | maxContentLenAllowed = 512 << (10 * 1) constant SHA256 (line 34) | SHA256 Algorithm = "sha256" constant SHA256Short (line 36) | SHA256Short Algorithm = "256" constant SHA512 (line 38) | SHA512 Algorithm = "sha512" constant SHA512Short (line 40) | SHA512Short Algorithm = "512" type Algorithm (line 51) | type Algorithm type Secrets (line 55) | type Secrets type Signatures (line 58) | type Signatures type Provider (line 61) | type Provider struct method Name (line 169) | func (p *Provider) Name() string { method Open (line 176) | func (p *Provider) Open(ctx context.Context) error { method Close (line 197) | func (p *Provider) Close(_ context.Context) (err error) { method BootDeviceSet (line 202) | func (p *Provider) BootDeviceSet(ctx context.Context, bootDevice strin... method PowerSet (line 225) | func (p *Provider) PowerSet(ctx context.Context, state string) (ok boo... method PowerStateGet (line 246) | func (p *Provider) PowerStateGet(ctx context.Context) (state string, e... method process (line 269) | func (p *Provider) process(ctx context.Context, rp RequestPayload) (Re... method Transformer (line 347) | func (p *Provider) Transformer(typ reflect.Type) func(dst, src reflect... type Opts (line 80) | type Opts struct type RequestOpts (line 91) | type RequestOpts struct type SignatureOpts (line 104) | type SignatureOpts struct type HMACOpts (line 117) | type HMACOpts struct type Experimental (line 126) | type Experimental struct function New (line 134) | func New(consumerURL string, host string, secrets Secrets) *Provider { FILE: providers/rpc/rpc_test.go function TestOpen (line 13) | func TestOpen(t *testing.T) { function TestBootDeviceSet (line 43) | func TestBootDeviceSet(t *testing.T) { function TestPowerSet (line 81) | func TestPowerSet(t *testing.T) { function TestPowerStateGet (line 121) | func TestPowerStateGet(t *testing.T) { function TestServerErrors (line 161) | func TestServerErrors(t *testing.T) { type testConsumer (line 190) | type testConsumer struct method testServer (line 195) | func (t testConsumer) testServer() *httptest.Server { FILE: providers/rpc/signature.go type Hashes (line 14) | type Hashes function createSignaturePayload (line 18) | func createSignaturePayload(body []byte, h http.Header) []byte { function sign (line 29) | func sign(data []byte, h Hashes, prefixSigDisabled bool) (Signatures, er... method ToShort (line 50) | func (a Algorithm) ToShort() Algorithm { function NewSHA256 (line 62) | func NewSHA256(secret ...string) Hashes { function NewSHA512 (line 71) | func NewSHA512(secret ...string) Hashes { function mergeHashes (line 79) | func mergeHashes(hs ...Hashes) Hashes { function CreateHashes (line 90) | func CreateHashes(s Secrets) map[Algorithm][]hash.Hash { FILE: providers/supermicro/errors.go type UnexpectedResponseError (line 20) | type UnexpectedResponseError struct method Error (line 26) | func (e *UnexpectedResponseError) Error() string { function unexpectedResponseErr (line 35) | func unexpectedResponseErr(payload, response []byte, statusCode int) err... FILE: providers/supermicro/firmware.go method FirmwareInstallSteps (line 37) | func (c *Client) FirmwareInstallSteps(ctx context.Context, component str... method FirmwareUpload (line 45) | func (c *Client) FirmwareUpload(ctx context.Context, component string, f... method FirmwareInstallUploaded (line 59) | func (c *Client) FirmwareInstallUploaded(ctx context.Context, component,... method FirmwareTaskStatus (line 73) | func (c *Client) FirmwareTaskStatus(ctx context.Context, kind constants.... FILE: providers/supermicro/firmware_bios_test.go function Test_setComponentUpdateMisc (line 16) | func Test_setComponentUpdateMisc(t *testing.T) { function Test_setBIOSFirmwareInstallMode (line 102) | func Test_setBIOSFirmwareInstallMode(t *testing.T) { FILE: providers/supermicro/floppy.go method floppyImageMounted (line 22) | func (c *Client) floppyImageMounted(ctx context.Context) (bool, error) { method MountFloppyImage (line 41) | func (c *Client) MountFloppyImage(ctx context.Context, image io.Reader) ... method UnmountFloppyImage (line 131) | func (c *Client) UnmountFloppyImage(ctx context.Context) error { FILE: providers/supermicro/supermicro.go constant ProviderName (line 37) | ProviderName = "supermicro" constant ProviderProtocol (line 39) | ProviderProtocol = "vendorapi" type Config (line 80) | type Config struct type Option (line 87) | type Option function WithHttpClient (line 89) | func WithHttpClient(httpClient *http.Client) Option { function WithSecureTLS (line 96) | func WithSecureTLS(rootCAs *x509.CertPool) Option { function WithPort (line 102) | func WithPort(port string) Option { type Client (line 109) | type Client struct method login (line 153) | func (c *Client) login(ctx context.Context, encodeCreds bool) error { method Open (line 190) | func (c *Client) Open(ctx context.Context) (err error) { method PowerStateGet (line 238) | func (c *Client) PowerStateGet(ctx context.Context) (state string, err... method PowerSet (line 247) | func (c *Client) PowerSet(ctx context.Context, state string) (ok bool,... method BmcReset (line 256) | func (c *Client) BmcReset(ctx context.Context, resetType string) (ok b... method Inventory (line 265) | func (c *Client) Inventory(ctx context.Context) (device *common.Device... method GetBiosConfiguration (line 274) | func (c *Client) GetBiosConfiguration(ctx context.Context) (biosConfig... method SetBiosConfiguration (line 283) | func (c *Client) SetBiosConfiguration(ctx context.Context, biosConfig ... method SetBiosConfigurationFromFile (line 292) | func (c *Client) SetBiosConfigurationFromFile(ctx context.Context, cfg... method ResetBiosConfiguration (line 301) | func (c *Client) ResetBiosConfiguration(ctx context.Context) (err erro... method bmcQueryor (line 309) | func (c *Client) bmcQueryor(ctx context.Context) (bmcQueryor, error) { method Close (line 373) | func (c *Client) Close(ctx context.Context) error { method Name (line 400) | func (c *Client) Name() string { method Screenshot (line 404) | func (c *Client) Screenshot(ctx context.Context) (image []byte, fileTy... method fetchScreenPreview (line 424) | func (c *Client) fetchScreenPreview(ctx context.Context) ([]byte, erro... method initScreenPreview (line 440) | func (c *Client) initScreenPreview(ctx context.Context) error { method SendNMI (line 644) | func (c *Client) SendNMI(ctx context.Context) error { method GetBootProgress (line 649) | func (c *Client) GetBootProgress() (*schemas.BootProgress, error) { method BootComplete (line 654) | func (c *Client) BootComplete() (bool, error) { type bmcQueryor (line 115) | type bmcQueryor interface function NewClient (line 130) | func NewClient(host, user, pass string, log logr.Logger, opts ...Option)... function parseToken (line 345) | func parseToken(body []byte) string { type serviceClient (line 461) | type serviceClient struct method setCsrfToken (line 495) | func (c *serviceClient) setCsrfToken(t string) { method redfishSession (line 499) | func (c *serviceClient) redfishSession(ctx context.Context) (err error) { method supportsFirmwareInstall (line 518) | func (c *serviceClient) supportsFirmwareInstall(model string) error { method query (line 532) | func (c *serviceClient) query(ctx context.Context, endpoint, method st... function newBmcServiceClient (line 472) | func newBmcServiceClient(host, port, user, pass string, client *http.Cli... function hostIP (line 629) | func hostIP(hostURL string) (string, error) { FILE: providers/supermicro/supermicro_test.go constant fixturesDir (line 19) | fixturesDir = "./fixtures" function TestParseToken (line 22) | func TestParseToken(t *testing.T) { function mustReadFile (line 75) | func mustReadFile(t *testing.T, filename string) []byte { function TestOpen (line 106) | func TestOpen(t *testing.T) { function TestClose (line 243) | func TestClose(t *testing.T) { function TestInitScreenPreview (line 299) | func TestInitScreenPreview(t *testing.T) { function TestFetchScreenPreview (line 362) | func TestFetchScreenPreview(t *testing.T) { FILE: providers/supermicro/types.go type IPMI (line 3) | type IPMI struct type FruInfo (line 8) | type FruInfo struct type Board (line 13) | type Board struct FILE: providers/supermicro/x11.go type x11 (line 22) | type x11 struct method deviceModel (line 35) | func (c *x11) deviceModel() string { method queryDeviceModel (line 39) | func (c *x11) queryDeviceModel(ctx context.Context) (string, error) { method deviceModelFromFruInfo (line 56) | func (c *x11) deviceModelFromFruInfo(ctx context.Context) (string, err... method deviceModelFromBoardID (line 75) | func (c *x11) deviceModelFromBoardID(ctx context.Context) (string, err... method fruInfo (line 110) | func (c *x11) fruInfo(ctx context.Context) (*FruInfo, error) { method supportsInstall (line 136) | func (c *x11) supportsInstall(component string) error { method firmwareInstallSteps (line 147) | func (c *x11) firmwareInstallSteps(component string) ([]constants.Firm... method firmwareUpload (line 167) | func (c *x11) firmwareUpload(ctx context.Context, component string, fi... method firmwareInstallUploaded (line 180) | func (c *x11) firmwareInstallUploaded(ctx context.Context, component, ... method firmwareTaskStatus (line 193) | func (c *x11) firmwareTaskStatus(ctx context.Context, component, _ str... method getBootProgress (line 206) | func (c *x11) getBootProgress() (*schemas.BootProgress, error) { method bootComplete (line 210) | func (c *x11) bootComplete() (bool, error) { function newX11Client (line 28) | func newX11Client(client *serviceClient, logger logr.Logger) bmcQueryor { FILE: providers/supermicro/x11_firmware_bios.go method firmwareUploadBIOS (line 22) | func (c *x11) firmwareUploadBIOS(ctx context.Context, reader io.Reader) ... method firmwareInstallUploadedBIOS (line 57) | func (c *x11) firmwareInstallUploadedBIOS(ctx context.Context) error { method checkComponentUpdateMisc (line 71) | func (c *x11) checkComponentUpdateMisc(ctx context.Context, stage string... method setBIOSFirmwareInstallMode (line 121) | func (c *x11) setBIOSFirmwareInstallMode(ctx context.Context) error { method setBiosUpdateStart (line 165) | func (c *x11) setBiosUpdateStart(ctx context.Context) error { method uploadBIOSFirmware (line 194) | func (c *x11) uploadBIOSFirmware(ctx context.Context, fwReader io.Reader... method verifyBIOSFirmwareVersion (line 276) | func (c *x11) verifyBIOSFirmwareVersion(ctx context.Context) error { method setBIOSOp (line 308) | func (c *x11) setBIOSOp(ctx context.Context) error { method initiateBIOSFirmwareInstall (line 328) | func (c *x11) initiateBIOSFirmwareInstall(ctx context.Context) error { method setBIOSUpdateDone (line 358) | func (c *x11) setBIOSUpdateDone(ctx context.Context) error { method statusBIOSFirmwareInstall (line 379) | func (c *x11) statusBIOSFirmwareInstall(ctx context.Context) (state cons... FILE: providers/supermicro/x11_firmware_bmc.go method firmwareUploadBMC (line 28) | func (c *x11) firmwareUploadBMC(ctx context.Context, reader io.Reader) e... method setBMCFirmwareInstallMode (line 51) | func (c *x11) setBMCFirmwareInstallMode(ctx context.Context) error { method uploadBMCFirmware (line 105) | func (c *x11) uploadBMCFirmware(ctx context.Context, fwReader io.Reader)... method verifyBMCFirmwareVersion (line 187) | func (c *x11) verifyBMCFirmwareVersion(ctx context.Context) error { method initiateBMCFirmwareInstall (line 213) | func (c *x11) initiateBMCFirmwareInstall(ctx context.Context) error { method statusBMCFirmwareInstall (line 246) | func (c *x11) statusBMCFirmwareInstall(ctx context.Context) (state const... FILE: providers/supermicro/x11_firmware_bmc_test.go function TestX11SetBMCFirmwareInstallMode (line 22) | func TestX11SetBMCFirmwareInstallMode(t *testing.T) { function TestX11UploadBMCFirmware (line 112) | func TestX11UploadBMCFirmware(t *testing.T) { function TestX11VerifyBMCFirmwareVersion (line 207) | func TestX11VerifyBMCFirmwareVersion(t *testing.T) { function TestX11InitiateBMCFirmwareInstall (line 289) | func TestX11InitiateBMCFirmwareInstall(t *testing.T) { function TestX11StatusBMCFirmwareInstall (line 371) | func TestX11StatusBMCFirmwareInstall(t *testing.T) { FILE: providers/supermicro/x12.go type x12 (line 20) | type x12 struct method deviceModel (line 33) | func (c *x12) deviceModel() string { method queryDeviceModel (line 37) | func (c *x12) queryDeviceModel(ctx context.Context) (string, error) { method supportsInstall (line 60) | func (c *x12) supportsInstall(component string) error { method firmwareInstallSteps (line 71) | func (c *x12) firmwareInstallSteps(component string) ([]constants.Firm... method firmwareUpload (line 85) | func (c *x12) firmwareUpload(ctx context.Context, component string, fi... method firmwareTaskActive (line 122) | func (c *x12) firmwareTaskActive(ctx context.Context, component string... method biosFwInstallParams (line 202) | func (c *x12) biosFwInstallParams() (map[string]bool, error) { method bmcFwInstallParams (line 230) | func (c *x12) bmcFwInstallParams() map[string]bool { method redfishParameters (line 238) | func (c *x12) redfishParameters(component, targetODataID string) (*rfw... method redfishOdataID (line 271) | func (c *x12) redfishOdataID(ctx context.Context, component string) (s... method firmwareInstallUploaded (line 286) | func (c *x12) firmwareInstallUploaded(ctx context.Context, component, ... method firmwareTaskStatus (line 310) | func (c *x12) firmwareTaskStatus(ctx context.Context, component, taskI... method getBootProgress (line 318) | func (c *x12) getBootProgress() (*schemas.BootProgress, error) { method bootComplete (line 327) | func (c *x12) bootComplete() (bool, error) { function newX12Client (line 26) | func newX12Client(client *serviceClient, logger logr.Logger) bmcQueryor { function noTasksRunning (line 144) | func noTasksRunning(component string, t *schemas.Task) error { function stateFinalized (line 181) | func stateFinalized(s schemas.TaskState) bool { type Supermicro (line 192) | type Supermicro struct type OEM (line 197) | type OEM struct