Documentation
¶
Index ¶
Constants ¶
View Source
const ( Probe_hpIlo = "hpilo" Probe_idrac8 = "idrac8" Probe_idrac9 = "idrac9" Probe_supermicrox = "supermicrox" Probe_hpC7000 = "hpc7000" Probe_m1000e = "m1000e" Probe_quanta = "quanta" Probe_hpCl100 = "hpcl100" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.3.8
type Option func(*Options)
Option is part of the functional options pattern, see the `With*` functions and https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis
func WithHintCallBack ¶ added in v0.3.8
WithHintCallBack sets the Options.HintCallback option.
func WithProbeHint ¶ added in v0.3.8
WithProbeHint sets the Options.Hint option.
type Options ¶ added in v0.3.8
type Options struct { // Hint is a probe ID that hints which probe should be probed first. Hint string // HintCallBack is a function that is called back with a probe ID that might be used // for the next ScanAndConnect attempt. The callback is called only on successful scan. // If your code persists the hint as "best effort", always return a nil error. Callback is // synchronous. HintCallback func(string) error }
Click to show internal directories.
Click to hide internal directories.