Versions in this module Expand all Collapse all v2 v2.2.6 May 6, 2024 v2.2.5 May 2, 2024 v2.2.4 Apr 18, 2024 v2.2.3 Mar 11, 2024 v2.2.2 Feb 28, 2024 v2.2.1 Jan 8, 2024 v2.2.0 Dec 7, 2023 Changes in this version + const E3C246D4ID_NL + const E3C246D4I_NL + const E3C256D4ID_NL type ASRockRack + func (a *ASRockRack) FirmwareInstallSteps(ctx context.Context, component string) ([]constants.FirmwareInstallStep, error) + func (a *ASRockRack) FirmwareInstallUploaded(ctx context.Context, component, uploadTaskID string) (installTaskID string, err error) + func (a *ASRockRack) FirmwareTaskStatus(ctx context.Context, kind constants.FirmwareInstallStep, ...) (state constants.TaskState, status string, err error) + func (a *ASRockRack) FirmwareUpload(ctx context.Context, component string, file *os.File) (taskID string, err error) v2.1.0 Oct 3, 2023 Changes in this version + const ProviderName + const ProviderProtocol + var Features = registrar.Features + type ASRockOption func(*ASRockRack) + func WithHTTPClient(c *http.Client) ASRockOption + func WithSecureTLS(rootCAs *x509.CertPool) ASRockOption + type ASRockRack struct + func New(ip string, username string, password string, log logr.Logger) *ASRockRack + func NewWithOptions(ip string, username string, password string, log logr.Logger, ...) *ASRockRack + func (a *ASRockRack) BmcReset(ctx context.Context, resetType string) (ok bool, err error) + func (a *ASRockRack) CheckCredentials(ctx context.Context) (err error) + func (a *ASRockRack) Close(ctx context.Context) (err error) + func (a *ASRockRack) Compatible(ctx context.Context) bool + func (a *ASRockRack) FirmwareInstall(ctx context.Context, component, applyAt string, forceInstall bool, ...) (jobID string, err error) + func (a *ASRockRack) FirmwareInstallStatus(ctx context.Context, installVersion, component, taskID string) (status string, err error) + func (a *ASRockRack) Inventory(ctx context.Context) (device *common.Device, err error) + func (a *ASRockRack) Name() string + func (a *ASRockRack) Open(ctx context.Context) (err error) + func (a *ASRockRack) PostCode(ctx context.Context) (status string, code int, err error) + func (a *ASRockRack) PowerSet(ctx context.Context, state string) (ok bool, err error) + func (a *ASRockRack) PowerStateGet(ctx context.Context) (state string, err error) + func (a *ASRockRack) UserCreate(ctx context.Context, user, pass, role string) (ok bool, err error) + func (a *ASRockRack) UserRead(ctx context.Context) (users []map[string]string, err error) + func (a *ASRockRack) UserUpdate(ctx context.Context, user, pass, role string) (ok bool, err error) + type Config struct + HttpClient *http.Client + Port string + type UserAccount struct + Access int + AccessByChannel string + Changepassword int + ConfirmPassword string + CreationTime int + EmailFormat string + EmailID string + FixedUserCount int + ID int + Kvm int + Name string + NetworkPrivilege string + OEMProprietaryLevelPrivilege int + Password string + PasswordSize string + PrevSNMP int + Privilege string + PrivilegeByChannel string + PrivilegeLimitSerial string + SNMP int + SNMPAccess string + SNMPAuthenticationProtocol string + SSHKey string + UserOperation int + Vmedia int v2.0.0 Jul 26, 2022 Other modules containing this package github.com/bmc-toolbox/bmclib