ipmi

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package ipmi contains code for running and interpreting output of system ipmitool util

Index

Constants

View Source
const (
	// LanPrintCmd print bmc ip cmd with ipmitool
	LanPrintCmd = " ipmitool lan print"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IPMI

type IPMI struct {
	// contains filtered or unexported fields
}

IPMI is implementation for WrapImpi interface

func NewIPMI

func NewIPMI(e command.CmdExecutor) *IPMI

NewIPMI is a constructor for LSBLK struct

func (*IPMI) GetBmcIP

func (i *IPMI) GetBmcIP() string

GetBmcIP returns BMC IP using ipmitool

type WrapIpmi

type WrapIpmi interface {
	GetBmcIP() string
}

WrapIpmi is an interface that encapsulates operation with system ipmi util

Jump to

Keyboard shortcuts

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