Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsError ¶
IsError returns true if err is non-nil and the error string matches the supplied regexp.
func IsPError ¶
IsPError returns true if pErr is non-nil and the error message matches the supplied regexp.
func NewNodeTestBaseContext ¶
NewNodeTestBaseContext creates a base context for testing. This uses embedded certs and the default node user. The default node user has both server and client certificates.
func NewTestBaseContext ¶
NewTestBaseContext creates a secure base context for user.
func SortStructs ¶
func SortStructs(s interface{}, fieldName string)
SortStructs sorts the given slice of structs using the given field as the sort key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.