Documentation ¶
Index ¶
- type Option
- type Sum
- func (s *Sum) ChangeBiosCfg(ctx context.Context, cfgFile string, reboot bool) (err error)
- func (c *Sum) Close(ctx context.Context) (err error)
- func (s *Sum) GetBiosConfiguration(ctx context.Context) (biosConfig map[string]string, err error)
- func (s *Sum) GetCurrentBiosCfg(ctx context.Context) (output string, err error)
- func (s *Sum) LoadDefaultBiosCfg(ctx context.Context) (err error)
- func (c *Sum) Open(ctx context.Context) (err error)
- func (s *Sum) ResetBiosConfiguration(ctx context.Context) (err error)
- func (s *Sum) SetBiosConfiguration(ctx context.Context, biosConfig map[string]string) (err error)
- func (s *Sum) SetBiosConfigurationFromFile(ctx context.Context, cfg string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Sum)
Option for setting optional Client values
func WithLogger ¶
func WithSumPath ¶
type Sum ¶
type Sum struct { Executor ex.Executor SumPath string Log logr.Logger Host string Username string Password string }
Sum is a sum command executor object
func (*Sum) ChangeBiosCfg ¶
func (*Sum) GetBiosConfiguration ¶
GetBiosConfiguration return bios configuration
func (*Sum) GetCurrentBiosCfg ¶
func (*Sum) ResetBiosConfiguration ¶
ResetBiosConfiguration reset bios configuration
func (*Sum) SetBiosConfiguration ¶
SetBiosConfiguration set bios configuration
Click to show internal directories.
Click to hide internal directories.