Documentation ¶
Index ¶
- type BMC
- type Credentials
- type FSCOMBMC
- func (b *FSCOMBMC) Connect(ctx context.Context) error
- func (b *FSCOMBMC) CreateUser(ctx context.Context, creds Credentials, _ string) error
- func (b *FSCOMBMC) Credentials() (Credentials, time.Time)
- func (b *FSCOMBMC) DeleteUsers(ctx context.Context, regex *regexp.Regexp) error
- func (b *FSCOMBMC) EnsureInitialCredentials(ctx context.Context, defaultCreds []Credentials, tempPassword string) error
- func (b *FSCOMBMC) ReadInfo(ctx context.Context) (Info, error)
- func (b *FSCOMBMC) Tags() map[string]string
- func (b *FSCOMBMC) Type() string
- type IPMIBMC
- func (b *IPMIBMC) Connect(ctx context.Context) error
- func (b *IPMIBMC) CreateUser(ctx context.Context, creds Credentials, _ string) error
- func (b *IPMIBMC) Credentials() (Credentials, time.Time)
- func (b *IPMIBMC) DeleteUsers(ctx context.Context, regex *regexp.Regexp) error
- func (b *IPMIBMC) EnsureInitialCredentials(ctx context.Context, defaultCreds []Credentials, tempPassword string) error
- func (b *IPMIBMC) PowerControl() PowerControl
- func (b *IPMIBMC) PowerOff(ctx context.Context, immediate bool) error
- func (b *IPMIBMC) PowerOn(ctx context.Context) error
- func (b *IPMIBMC) ReadInfo(ctx context.Context) (Info, error)
- func (b *IPMIBMC) Reset(ctx context.Context, immediate bool) error
- func (b *IPMIBMC) ResetControl() ResetControl
- func (b *IPMIBMC) Tags() map[string]string
- func (b *IPMIBMC) Type() string
- type IPMIUser
- type Info
- type LEDControl
- type NTPControl
- type PowerControl
- type RedfishBMC
- func (b *RedfishBMC) Connect(ctx context.Context) error
- func (b *RedfishBMC) CreateUser(ctx context.Context, creds Credentials, tempPassword string) error
- func (b *RedfishBMC) Credentials() (Credentials, time.Time)
- func (b *RedfishBMC) DeleteUsers(ctx context.Context, regex *regexp.Regexp) error
- func (b *RedfishBMC) EnsureInitialCredentials(ctx context.Context, defaultCreds []Credentials, tempPassword string) error
- func (b *RedfishBMC) LEDControl() LEDControl
- func (b *RedfishBMC) NTPControl() NTPControl
- func (b *RedfishBMC) PowerControl() PowerControl
- func (b *RedfishBMC) PowerOff(ctx context.Context, immediate bool) error
- func (b *RedfishBMC) PowerOn(ctx context.Context) error
- func (b *RedfishBMC) ReadInfo(ctx context.Context) (Info, error)
- func (b *RedfishBMC) Reset(ctx context.Context, immediate bool) error
- func (b *RedfishBMC) ResetControl() ResetControl
- func (b *RedfishBMC) SetLocatorLED(ctx context.Context, state string) (string, error)
- func (b *RedfishBMC) SetNTPServers(_ context.Context, _ []string) error
- func (b *RedfishBMC) Tags() map[string]string
- func (b *RedfishBMC) Type() string
- type ResetControl
- type SSHBMC
- func (b *SSHBMC) Connect(ctx context.Context) error
- func (b *SSHBMC) CreateUser(ctx context.Context, creds Credentials, _ string) error
- func (b *SSHBMC) Credentials() (Credentials, time.Time)
- func (b *SSHBMC) DeleteUsers(ctx context.Context, regex *regexp.Regexp) error
- func (b *SSHBMC) EnsureInitialCredentials(ctx context.Context, defaultCreds []Credentials, tempPassword string) error
- func (b *SSHBMC) ReadInfo(ctx context.Context) (Info, error)
- func (b *SSHBMC) Tags() map[string]string
- func (b *SSHBMC) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BMC ¶
type BMC interface { Type() string Tags() map[string]string Credentials() (Credentials, time.Time) EnsureInitialCredentials(ctx context.Context, defaultCreds []Credentials, tempPassword string) error Connect(ctx context.Context) error CreateUser(ctx context.Context, creds Credentials, tempPassword string) error DeleteUsers(ctx context.Context, regex *regexp.Regexp) error ReadInfo(ctx context.Context) (Info, error) }
type Credentials ¶
type FSCOMBMC ¶
type FSCOMBMC struct {
// contains filtered or unexported fields
}
func (*FSCOMBMC) CreateUser ¶
func (*FSCOMBMC) Credentials ¶
func (b *FSCOMBMC) Credentials() (Credentials, time.Time)
func (*FSCOMBMC) DeleteUsers ¶
func (*FSCOMBMC) EnsureInitialCredentials ¶
type IPMIBMC ¶
type IPMIBMC struct {
// contains filtered or unexported fields
}
func (*IPMIBMC) CreateUser ¶
func (*IPMIBMC) Credentials ¶
func (b *IPMIBMC) Credentials() (Credentials, time.Time)
func (*IPMIBMC) DeleteUsers ¶
func (*IPMIBMC) EnsureInitialCredentials ¶
func (*IPMIBMC) PowerControl ¶
func (b *IPMIBMC) PowerControl() PowerControl
func (*IPMIBMC) ResetControl ¶
func (b *IPMIBMC) ResetControl() ResetControl
type LEDControl ¶
type NTPControl ¶
type PowerControl ¶
type RedfishBMC ¶
type RedfishBMC struct {
// contains filtered or unexported fields
}
func (*RedfishBMC) CreateUser ¶
func (b *RedfishBMC) CreateUser(ctx context.Context, creds Credentials, tempPassword string) error
func (*RedfishBMC) Credentials ¶
func (b *RedfishBMC) Credentials() (Credentials, time.Time)
func (*RedfishBMC) DeleteUsers ¶
func (*RedfishBMC) EnsureInitialCredentials ¶
func (b *RedfishBMC) EnsureInitialCredentials(ctx context.Context, defaultCreds []Credentials, tempPassword string) error
func (*RedfishBMC) LEDControl ¶
func (b *RedfishBMC) LEDControl() LEDControl
func (*RedfishBMC) NTPControl ¶
func (b *RedfishBMC) NTPControl() NTPControl
func (*RedfishBMC) PowerControl ¶
func (b *RedfishBMC) PowerControl() PowerControl
func (*RedfishBMC) PowerOff ¶
func (b *RedfishBMC) PowerOff(ctx context.Context, immediate bool) error
func (*RedfishBMC) ResetControl ¶
func (b *RedfishBMC) ResetControl() ResetControl
func (*RedfishBMC) SetLocatorLED ¶
func (*RedfishBMC) SetNTPServers ¶
func (b *RedfishBMC) SetNTPServers(_ context.Context, _ []string) error
func (*RedfishBMC) Tags ¶
func (b *RedfishBMC) Tags() map[string]string
func (*RedfishBMC) Type ¶
func (b *RedfishBMC) Type() string
type ResetControl ¶
type SSHBMC ¶
type SSHBMC struct {
// contains filtered or unexported fields
}
func (*SSHBMC) CreateUser ¶
func (*SSHBMC) Credentials ¶
func (b *SSHBMC) Credentials() (Credentials, time.Time)
func (*SSHBMC) DeleteUsers ¶
func (*SSHBMC) EnsureInitialCredentials ¶
Click to show internal directories.
Click to hide internal directories.