Documentation ¶
Index ¶
- Constants
- Variables
- type Config
- type Conn
- func (c *Conn) BootDeviceSet(ctx context.Context, bootDevice string, setPersistent, efiBoot bool) (ok bool, err error)
- func (c *Conn) Close() (err error)
- func (c *Conn) Compatible(ctx context.Context) bool
- func (c *Conn) Name() string
- func (c *Conn) Open(ctx context.Context) (err error)
- func (c *Conn) PowerSet(ctx context.Context, state string) (ok bool, err error)
- func (c *Conn) PowerStateGet(ctx context.Context) (state string, err error)
- type Option
Constants ¶
View Source
const ( // ProviderName for the provider AMT implementation ProviderName = "IntelAMT" // ProviderProtocol for the provider AMT implementation ProviderProtocol = "AMT" )
Variables ¶
View Source
var ( // Features implemented by the AMT provider Features = registrar.Features{ providers.FeaturePowerSet, providers.FeaturePowerState, providers.FeatureBootDeviceSet, } )
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a connection to a BMC via Intel AMT
func (*Conn) BootDeviceSet ¶
func (c *Conn) BootDeviceSet(ctx context.Context, bootDevice string, setPersistent, efiBoot bool) (ok bool, err error)
BootDeviceSet sets the next boot device with options
func (*Conn) Compatible ¶
Compatible tests whether a BMC is compatible with the ipmitool provider
Click to show internal directories.
Click to hide internal directories.