Versions in this module Expand all Collapse all v2 v2.0.4 Aug 8, 2023 v2.0.3 Aug 8, 2023 v2.0.2 Aug 8, 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