Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // InternalErr is used to help test internal errors InternalErr = client.APIError{Code: uint32(actions.InternalErr)} // InvalidArgument is used to help test invalid argument errors InvalidArgument = client.APIError{Code: uint32(actions.InvalidArgument)} // NotFound is used to help test not found errors NotFound = client.APIError{Code: uint32(actions.NotFound)} // AlreadyExistsErr is used to help test errors where resource already exists AlreadyExistsErr = client.APIError{Code: uint32(actions.AlreadyExistsErr)} )
Functions ¶
func NewClientFactory ¶
func NewClientFactory() (*testing.MockClient, testClientFactory)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.