package
3.0.0-alpha9+incompatible
Repository: https://github.com/opensvc/om3.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
Impersonate eases testing.
No description provided by the author
OtherNodes returns list of nodes without local hostname.
SetHostnameForGoTest can be used during go test to define alternate hostname
Example:
func Test_something(t *testing.T) { SetHostnameForGoTest("newhostname") defer SetHostnameForGoTest("") // test..
StrictHostname is like os.StrictHostname except it returns a lowercased hostname, and it caches the result to avoid repeating syscalls.