mirror of
https://github.com/bmc-toolbox/bmclib.git
synced 2025-06-03 05:14:43 +00:00

* Renamed user creation example * Fixed create-user to use the CSV-provided values * ran `go mod tidy` Signed-off-by: Micah Hausler <mhausler@amazon.com>
22 lines
651 B
Go
22 lines
651 B
Go
/*
|
|
status is an example commmand that utilizes the 'v1' bmclib interface methods
|
|
to gather the BMC version, power state, and bios version from a BMC using the
|
|
redfish driver.
|
|
|
|
$ go run ./examples/v1/status/main.go -h
|
|
Usage of /tmp/go-build1941100323/b001/exe/main:
|
|
-cert-pool string
|
|
Path to an file containing x509 CAs. An empty string uses the system CAs. Only takes effect when --secure-tls=true
|
|
-host string
|
|
BMC hostname to connect to
|
|
-password string
|
|
Username to login with
|
|
-port int
|
|
BMC port to connect to (default 443)
|
|
-secure-tls
|
|
Enable secure TLS
|
|
-user string
|
|
Username to login with
|
|
*/
|
|
package main
|