cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(fn func(*cli.Context) error) func(*cli.Context) error

func PowerOff

func PowerOff(c *cli.Context) error

PowerOn is a function that powers off server using the BMC API It does the login to the BMC or gets the session if it's available, and then calls the power on API

func PowerOn

func PowerOn(c *cli.Context) error

PowerOn is a function that powers on server using the BMC API It does the login to the BMC or gets the session if it's available, and then calls the power on API

func PowerStatus

func PowerStatus(c *cli.Context) error

PowerStatus is a function that gets the power status of the server using the BMC API It does the login to the BMC or gets the session if it's available, and then calls the power status API

func ProfileAdd

func ProfileAdd(c *cli.Context) error

ProfileAdd is a function that adds a new BMC profile to the configuration

func ProfileList

func ProfileList(c *cli.Context) error

ProfileList is a function that lists all BMC profiles from the configuration

func ProfileRemove

func ProfileRemove(c *cli.Context) error

ProfileRemove is a function that removes a BMC profile from the configuration

func ProfileShow

func ProfileShow(c *cli.Context) error

ProfileShow is a function that shows a BMC profile from the configuration

func SensorList

func SensorList(c *cli.Context) error

SensorList is a function that lists sensors using the BMC API It does the login to the BMC or gets the session if it's available, and then calls the sensor list API

Types

This section is empty.

Jump to

Keyboard shortcuts

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