Documentation ¶
Index ¶
- func AssertEquals(tb testing.TB, expected, actual interface{})
- func AssertNoError(tb testing.TB, err error)
- func AssertNotEquals(tb testing.TB, expected, actual interface{})
- func SNMPGet(tb testing.TB, oid string) string
- func SNMPGetBulk(tb testing.TB, oid string, nonRepeaters, maxRepetitions int) string
- func SNMPGetNext(tb testing.TB, oid string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEquals ¶
AssertEquals will return a fatal error if expected argument is equal to actual argument
func AssertNoError ¶
AssertNoError will return a fatal error if error passed as argument is not null.
func AssertNotEquals ¶
AssertNotEquals will return a fatal error if expected argument is different from actual argument
func SNMPGet ¶
SNMPGet executes snmpget command and checks for errors. If successful, the output string is returned.
func SNMPGetBulk ¶
SNMPGetBulk executes snmpbulkget command and checks for errors. If successful, the output string is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.