dummy

package
v0.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ProviderName for the provider implementation
	ProviderName = "dummy"
	// ProviderProtocol for the provider implementation
	ProviderProtocol = "ipmi"
)
View Source
const (
	// VendorID represents the id of the vendor across all packages
	VendorID = "dummy"
)

Variables

View Source
var (
	// Features implemented by ipmitool
	Features = registrar.Features{
		providers.FeaturePowerState,
	}
)

Functions

This section is empty.

Types

type Conn added in v0.4.11

type Conn struct {
	FailOpen bool
	Log      logr.Logger
}

func (*Conn) Close added in v0.4.11

func (c *Conn) Close(ctx context.Context) (err error)

Close a connection to a BMC

func (*Conn) Compatible added in v0.4.11

func (c *Conn) Compatible(ctx context.Context) bool

Compatible tests whether a BMC is compatible with the ipmitool provider

func (*Conn) Name added in v0.4.11

func (c *Conn) Name() string

func (*Conn) Open added in v0.4.11

func (c *Conn) Open(ctx context.Context) error

func (*Conn) PowerStateGet added in v0.4.11

func (c *Conn) PowerStateGet(ctx context.Context) (state string, err error)

PowerStateGet gets the power state of a BMC machine

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL