bmclib/examples/inventory/doc.go

21 lines
620 B
Go

/*
inventory is an example commmand that utilizes the 'v1' bmclib interface
methods to gather inventory from a BMC using the redfish driver.
$ go run ./examples/v1/inventory/main.go -h
Usage of /tmp/go-build1853609647/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